On Thu, 23 Oct 2003 09:21:08, Mike Durian writes:
>On Thursday 23 October 2003 10:07 am, Steve Lemke wrote:
>> Actually, identifying the actual processor might not be that useful
>> either, since the memory map can still vary from device to device.
>
>A function to map a physical address to a virtual address would be
>greatly appreciated.  ...  Hopefully
>such a function will be added to future PalmOS releases.

The above assumes that the OS will actually make the physical
addresses of interest to you available in your applications virtual
address space.  Note that some PalmOS devices seem to run apps
in User mode, and that most modern OS's do not map portions of
the physical address space for user processes.  So, just in case,
you probably still need to check the OEM, device ID and OS version.

And whatever your need is, you might want to put in a request to
PalmSource and/or the OEM's to provide supported API's for such.

I'd like to see official support for reading the high resolution CPU
cycle counter(s), the display vertical refresh counter(s) if
possible, and for setting oddball serial port baud rate dividers,
for instance.

Any others?


Ron Nicholson
HotPaw Productions
 http://www.hotpaw.com/rhn/palm

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

Reply via email to