Search found 32 matches

by Gradius2000
Thu Sep 07, 2017 4:14 am
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

What hardware will you be attaching to the 65[c]22? Which features are you going to be writing a driver for? Parallel I/O, shift registers, timers?
I am just making sure i can do a free running timer. In the future, i will also build an onboard rs-232 and i might use the 65c22 asap for a 128x64 ...
by Gradius2000
Wed Sep 06, 2017 11:51 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

Guys I want to make a 65c22 driver for my machine, but I can't understand WDC's datasheet for their's...
Can someone put the registers' functionality in a lay-man's term's list for me?

The one hosted at this domain is the original MOS datasheet which I've referred to for my projects. It is clear ...
by Gradius2000
Wed Sep 06, 2017 2:39 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

Guys I want to make a 65c22 driver for my machine, but I can't understand WDC's datasheet for their's...
Can someone put the registers' functionality in a lay-man's term's list for me?
by Gradius2000
Wed Sep 06, 2017 12:24 am
Forum: Programming
Topic: VTL02 (VTL-2 for the 6502)
Replies: 122
Views: 69828

Re: VTL02 (VTL-2 for the 6502)

see here: http://forum.6502.org/viewtopic.php?f=2&t=2612&p=55861#p48132
Still confusing, where in the code does it insert data to $02 on my github page?
https://github.com/GradiusLover2000/JudyOS/blob/master/vtl02/vtl02.asm Nowhere! But if you are trying to debug a spurious write to a memory ...
by Gradius2000
Tue Sep 05, 2017 8:38 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

Well, VTL02CA2 actually works! I ported it just now as an assembler (don't know if that's what it is?).
It's just a fun little bare-bones interpreter and editor. Your comments and questions can be directed over here , if you don't want to allow your thread to drift too much. :)

Yea, I was ...
by Gradius2000
Tue Sep 05, 2017 4:42 pm
Forum: Programming
Topic: VTL02 (VTL-2 for the 6502)
Replies: 122
Views: 69828

Re: VTL02 (VTL-2 for the 6502)

Still confusing, where in the code does it insert data to $02 on my github page?
https://github.com/GradiusLover2000/Jud ... /vtl02.asm
by Gradius2000
Tue Sep 05, 2017 4:26 pm
Forum: Newbies
Topic: Building the CJW-0 Machine
Replies: 1
Views: 1887

Building the CJW-0 Machine

Hello! To those who aren't newbies, you might know me from "Let's make an OS together!" That forum was the software for a machine I am going to build. However, I need some help with the hardware.
I know the piece for the cpu; w65c02s. But I'm stuck on building a SRAM collection for 64 K x 8, and a ...
by Gradius2000
Tue Sep 05, 2017 4:04 pm
Forum: Programming
Topic: VTL02 (VTL-2 for the 6502)
Replies: 122
Views: 69828

Re: VTL02 (VTL-2 for the 6502)

How do you possibly shift the zero page variables into $0A and up?

Edit: There is data going into $02, I need it to go up to $0A.
by Gradius2000
Tue Sep 05, 2017 3:25 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

I don't understand why tasks should not be allowed to allocate memory owned by other inactive tasks. If you only have 3 active tasks, memory and stack of the remaining 5 inactive tasks is available. These tasks will simply never be scheduled.

If memory managment would be included into the task ...
by Gradius2000
Mon Sep 04, 2017 9:38 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]



I was thinking of encouraging you to experiment with VTL02 as a task, but it is a bit of a resource hog, needing half of page zero and up to about half of page one for its run-time.

Mike B.

Well, VTL02CA2 actually works! I ported it just now as an assembler (don't know if that's what it is ...
by Gradius2000
Mon Sep 04, 2017 5:47 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

Need help with the MoreStack Routine I want to add!
I want a code that uses the accumulator as a bitmask, but for every zero, extend the stack, like so:
A = 1,0,0,0,0,0,0,1
the last bit is first in a byte, so;
if it is 1, make it the default task, and goto the extend stack routine.
if it is 0, make ...
by Gradius2000
Mon Sep 04, 2017 2:54 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

The problem with the 4K isn't the code so much (though certainly a factor), it's the data.

But if you had one task dedicated to the editor (and it's data), one task dedicated to the assembler, and one task as the target for the assembler, you could probably do quite a bit.

The editor would share ...
by Gradius2000
Sun Sep 03, 2017 7:31 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

In the original Apple ][ ROMs , Mr. Wozniak provided us with a no-frills disassembler and a no-label mini-assembler, all in less than 850 bytes of machine code and data. It would take a bit of talent to enhance it to suit your needs, but it's certainly doable, and might be a fun starting point as ...
by Gradius2000
Sun Sep 03, 2017 6:28 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

It would be interesting to hear of another, more compact, example of a native code editor and macro assembler, but as an existence proof I can tell you that Acorn's BBC Micro can do this: the Basic is 16k and contains an assembler, and I believe there's an EDIT application for a 16k ROM slot. Not ...
by Gradius2000
Sun Sep 03, 2017 3:16 pm
Forum: Programming
Topic: Let's make an OS together! [KERNEL ALREADY DONE!]
Replies: 58
Views: 5290

Re: Let's make an OS together! [KERNEL ALREADY DONE!]

Okay, so I would love to see a text-editor in the near future along with a macroassembler, both for operation on JudyOS. That would be awesome to see such a routine collection so the user can write his/her own tasks! Does anyone know the best way to do this? Do I just write my own code to store a ...