In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Hi (pjv and others), Pjv, I adapted your RTOS to have a single preemptive task that is to be executed as if it were the main interrupt task. The idea is to have a single preemptive task that executes at the main code level (but outside isr) at a much lower rate than the isr itself. The isr is to be used by VP code, whereas the main isr code is to be used with a timer list to run small routines that are not timecritical. Having only one task allowed me to save the main code context in the fifo. Could you comment on this setup? regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=108896 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)