Multitasking with threads on different pages
I'm trying to use the poppc and pushpc instrstructions to implement preemptive multitasking. I've gotten it working fairly well, as long as the threads are on the same page. It seems as though it just doesent matter what is in the M register, the only part of the return vector that is changed is the lower eight bits. I've tried every way I can think of to make sure that M is set properly before calling pushpc, but nothing seems to make it actually change the page of the return vector.
This makes the utility of threading rather limited if I must keep all threads on the same page. Anyone have any ideas? Are there any gotchas that I could be missing?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
—
darco
www.deepdarc.com/
This makes the utility of threading rather limited if I must keep all threads on the same page. Anyone have any ideas? Are there any gotchas that I could be missing?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
—
darco
www.deepdarc.com/
Comments
regards peter
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
—
darco
www.deepdarc.com/