Search found 62 matches

by andlabs
Sat Aug 08, 2009 9:31 pm
Forum: Demos
Topic: Preemptive context switching, aka multitasking
Replies: 8
Views: 7615

It's small, but not really a great framework for tasks. You'd be better off to use the Amiga task switching. It was easily capable of handling 100 switches a second on a stock 7MHz 68000, only took a few K of code, and had a small struct for the tasks. Get the exec.library disassembly off AmiNet an...
by andlabs
Sat Aug 08, 2009 5:00 pm
Forum: Demos
Topic: Preemptive context switching, aka multitasking
Replies: 8
Views: 7615

Preemptive context switching, aka multitasking

Hi. Like snkenjoi before me, I am also from Sonic Retro. I decided to make a simple preemptive context switcher on the Genesis, based on some code I already had for x86 and some guidelines I found a while ago. http://idisk.mac.com/pietro10-Public/mtask.zip It just flashes between a and b every secon...