Thomas Dais wrote:

> hmmm...
> I don't get it...
> 
> (From the CORE PLATFORM page in the site):
> 
> "Palm OS Garnet (the Palm OS 5 releases) and Palm OS Cobalt (the Palm OS
> 6 releases) are designed for handhelds with ARM-based processors. Both
> include PACE-the Palm OS Application Compatibility Environment-which
> enables 68K applications to run on these Palm OS versions as well. Note
> that on ARM-based Palm-Powered devices, you can also employ PNOs (PACE
> Native Objects) to speed up time-critical portions of your application."
> 
> Doesn't this mean that if you build an application and run it on PalmOS
> emulator for 68K it will also run in any other non-68K device?

Yes, although there are one or two functions that have been declared
obsolete and are not supported, but you're really unlikely to be
using these, since they're pretty obscure.

> I think I could try to use the uploader for the rom of my device to
> transfer the rom to the pc and then try it in the Palm Emulator...

The ROM on an ARM device contains ARM code.  The ARM-based Palm
handhelds do not emulate 68k hardware and run a 68k ROM; instead,
they have a bunch of ARM code, which emulates a 68k environment
for APPLICATIONS ONLY.  When an application makes a system call
like, say, MemSet(), the 68k code makes the call, but once the
system receives it, it runs MemSet() as native ARM code.

The old Emulator takes 68k ROM files, so it will not understand
the ARM code in the ARM device's ROM.

The Simulator is actually basically a Windows applicatin built
from (mostly) the same code that was used to build the ARM
code for the device.  The Simulator doesn't contain or emulate
ARM code.  However, (on Windows) the Simulator uses the same
mechanism that the ARM code uses (on the actual Palm) to emulate
68k instructions, so they both can run 68k applications.

  - Logan

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to