I think you're on the right track.  But some of the details may be wrong.  The
Palm OS System source archive contains a function called PrvCallWithNewStack
that's used when invoking applications with new stacks.  You might want to check
it out.

Note that these comments in no way should be construed as endorsing stack
pointer switching.  I have no idea what Palm's official position is on that.

-- Keith Rollin
-- Palm OS Emulator engineer



Reply via email to