Hi Mike,

some small cents from my side...

Mike wrote:
The SDK is
just a wrapper for the OS calls, and has (almost) nothing to do
with the ISA used by the binary (ARM, x86/IA32 or 68k).

I guess I'm confused. If I do embedded programming for a micro, my compiler
goes from C to assembly as there is no OS running on the micro... But you're
saying that CW does not produce op codes for the specific hardware platform,
but mearly calls into the OS running on the platform? Then the OS coverts
those calls into op codes for the specific platform?
Your program consists of op-codes which the processor can understand or which are emulated and calls to the OS, known as API. If your program is native than the op-codes are in the way the processor understand them. If your program is not native then the op-codes are not understandabler by the processor, therefore they have to be emulated. On PalmOS 5.x the native op-codes are this for ARMs and the OS has an emulator for M68k op-codes. The API calls are part of the OS and should (tm) be consists of native op-codes.


This statement in the OS5 ARM Programming PDF confuses me..

<<
Because Palm OS functions are native and not emulated, PACE
provides excellent performance for most 68K applications. As a
result, most 68K applications will not benefit significantly from
being rewritten for ARM.
This means that a standard program consists of a lot of API calls. Therefore the program runs the most time inside the OS, which, as we hope, is native. Therefore it doesn't make so much difference if your program is native or not. But if you have a program which calculates some nice raytracing gfx or realtime shadings or something like this, it runs the most time inside itselfs, therefore it makes a big difference whether it is native or not.

cu,
Henk

--
-------------------------------------------------------------------------
[EMAIL PROTECTED] www.metaviewsoft.de

<A HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946";>
<IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung_palmos.jpg";></A>
-------------------------------------------------------------------------


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

Reply via email to