It is much easier to implement this -- basically, it returns bogus addresses that PACE automatically maps to the Palm OS calls. SysGetTrapAddress is also useful for determining if an OS call is present, since you can compare the address returned to the added of sysTrapUnimplemented.Oddly SysGetTrapAddress() is implemented.
SysSetTrapAddress is much harder to do, as it would mean that the ARM code in the OS would have to call through a translation layer that may call 68K code whenever it called OS functions. Doing this everywhere would slow down the system, reduce battery life, and possibly be buggy.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
