At 10:44 PM +0100 2002/03/06, Aaron Ardiri wrote: > i guess we could get away with just checking for pre 5.0 units > is there any "secret" way of detecting the AMX kernel *g*
I'd recommend your app check to see if the particular AMX traps you want to call are "unimplemented" -- using the same technique as in previous versions of the Palm OS -- i.e. call SysGetTrapAddress for the particular trap you want to use, and compare that return value with a call to SysGetTrapAddress for the sysTrapSysUnimplemented trap. If they're the same, then this indicates (by inference) a non-AMX kernel is present. When we eventually expose the new dynamic kernel APIs, they'll be native ARM implementations, which use an entirely different (and OH-so-much-better!) ABI. :o) Regards, Jim Schram PalmSource Inc. Partner Engineering -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
