Hi Mike, Matt, 2010/4/6 mattschinkel <[email protected]>: > This multitasking seems quite like the 16f877a_timer0_interval.jal > sample, except you are using procedures for the tasks. Indeed. I never understood the added value of the JAL tasking features over 'normal' nonblocking techniques like state machines. But maybe someone can try and explain ;)
> I'm sure real multitasking would be possible (with blocking delays in > the task procedures), although it would run quite slow on 8bit > processors. More advanced multitasking requires access to the stack, which is lacking on 14 bit cores iirc. I don't know about 18F chips. > Approximately how much ram would it require for 3 tasks? 3 times stack 3 times context save (minus one if you push it) no reuse of variables over the tasks and a bit for the tasking mechanism and semaphores. > Could it be written in JAL, or does it require ASM? Maybe a bit of asm but most could be written in JAL. Have look at http://www.picos18.com/index_us.htm or search for rtos. Salvo claims to support 16f chips (and smaller), but I only find the 18F version... Joep -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
