Thank you very much for the information, Aaron.
One specific question, though -> in cases in the documentation such as WinScreenMode,
the documentation goes to lengths to say that
in older versions of the OS, this was ScrDisplayMode. Is this Palm's way of basically
saying "yes, WinScreenMode is new in OS 3.5,
but it will also work under older OSes by aliasing to ScrDisplayMode?"
One of the things I noticed was that it was particularly hard with the current
documentation to determine how something was done
before the OS 3.5 API, so I've had to assume that except in a very few number of
cases, there were no analogies and you did
everything by accessing the hardware. So in that case, MOST of the OS 3.5 api is not
backwards compatible with older OSes and it's
just a handful of specific instructions that are.
Is my assessment of the documentation correct, or are there more OS 3.5 functions with
analogous OS 3.1 calls that I'm not aware
of? My assumption was that the easiest way to tell this was to look in
PalmCompatibility.h for possibly (but not guaranteed)
aliased functions.
Thanks again for this valuable information,
- jeff
Aaron Ardiri wrote:
> Palm SDK's are backward compatible - ie: you can compile under
> 3.5 or 4.0 SDK and it will run on a 1.0 device, as long as you dont use
> an API call specific to 3.5 or 4.0, it should work backwards.
>
> why does it work?
>
> Palm adds API calls, by increasing the trap #'s - hence, the older
> trap's remain the same way back to version 1.0. you should, however,
> check the device version before calling a specific API
>
> <PalmCompatibility.h>
>
> this file is only for those lazy people who do not want to change
> the data types (SWord, Word etc) into the new types. it is not a think
> specific to OS 3.1, in 3.5, Palm changes the typedef's - this file
> was created to make the transition easier for some..
>
> to be honest, you should have migrated to the 3.5 typedefs - this
> file was a "temporary". please upgrade and start using 3.5 or 4.0
> API's if you have them.. there is no reason for people using the
> older API's.
>
> // az
> [EMAIL PROTECTED]
> http://www.ardiri.com/ <--- free games!
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/