In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: Hi Peter; Please remember what you are referring to is my old version of RTOS, and it had some bugs; the new one is quite different. That said, I will explain that in this case I DID want to pre-set the status high page bits so that any subsequent jumps I did in the T1 thread would already be to the proper page. In your case, you suggested initializing the (Main) ISR routine irrelevant, so I stuck the ISR page set-up in the MainISR itself. And I won't go into the reasoning here, but bits 4 and 3 if the status need to be set to zero in the status shadow. Hope this helps! Cheers, Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=108896#m109182 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)