At 4:23 PM +0100 24-01-00, Michael Sokolov wrote:
>PalmOS system calls aren't actually calls, they are traps. C compilers for
>PalmOS don't emit any call instructions for them, absolute or relative,
>instead
>each PalmOS system call/trap is the following instruction sequence:

You can get the address of the real function that backs up any trap by
calling SysGetTrapAddress.  But, keep in mind that the real address varies
with each OS release, and can vary dynamically as OS patches or hacks are
installed.  (HackMaster and other hacks work by replacing the OS function
in the trap table with their own code.)

So, essentially you can build this list of addresses for OS functions any
time, just by calling SysGetTrapAddress is a loop.  But, it will be
immediately out of date, so there's really no point!!

                                --Bob



---
You are currently subscribed to palm-dev-forum as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
For more information on the Palm Developer Forum's, see 
<http://www.palm.com/devzone/mailinglists.html>

Reply via email to