Hi there,
I've got a long month ahead of me where I'm "home alone" (yes my wife has run off to the UK for a month) so I thought I'd fill it with something semi-constructive.
I'd like to start the frame work for a mini-OS, nothing spectacular and written in a high level language (C), starting at the bottom I want to do a task scheduler and memory management module (to swap non-running tasks to another bank) .. does anyone have some pointers to a high level design of co-operative multi-tasking ? Something aimed at students .. I used to have a Tannenbaum book but I think it is 18000kms away from my present location .. but not so advanced as to be undoable on a 6502 machine ?
I liked something I can slowly build on, recycle and extend with extra bells and whistles as I learn them :-)
Plus any ideas would be cool.
Ta!
Mark
I think Cheap Threads (http://home.swbell.net/mck9/ct/) might be what you are looking for. Topsy (http://www.tik.ee.ethz.ch/~topsy/) is a bit more advanced, but might be of interest...
Quote from: strandedinnzHi there,
I've got a long month ahead of me where I'm "home alone" (yes my wife has run off to the UK for a month) so I thought I'd fill it with something semi-constructive.
I'd like to start the frame work for a mini-OS, nothing spectacular and written in a high level language (C), starting at the bottom I want to do a task scheduler and memory management module (to swap non-running tasks to another bank) .. does anyone have some pointers to a high level design of co-operative multi-tasking ? Something aimed at students .. I used to have a Tannenbaum book but I think it is 18000kms away from my present location .. but not so advanced as to be undoable on a 6502 machine ?
I liked something I can slowly build on, recycle and extend with extra bells and whistles as I learn them :-)
Plus any ideas would be cool.
Ta!
Mark
Are you planning on targeting the 128 with C? What C compiler do you have in mind? I discovered the hard way that cc65 does not provide support for banking the 128 and you would have to do some serious magic to make it work.
Quote from: plbyrdAre you planning on targeting the 128 with C? What C compiler do you have in mind? I discovered the hard way that cc65 does not provide support for banking the 128 and you would have to do some serious magic to make it work.
I was planning on just making my own function that would swap a memory range to REU, was just going to wrap some assembler up in C .. nothing to clever really.
Mark
Quote from: AmiDogI think Cheap Threads (http://home.swbell.net/mck9/ct/) might be what you are looking for. Topsy (http://www.tik.ee.ethz.ch/~topsy/) is a bit more advanced, but might be of interest...
Thanks for that, makes interesting reading but I want to take the DIY approach rather than re-use something else .. but good place to steal knowledge from :-)
Mark