In article <102934@palm-dev-forum>, [EMAIL PROTECTED] says... > > On Wed, 27 Nov 2002 12:02:11, Paul B. Johnson writes: > >Anyone know if there is a way to access a high-resolution (microsecond > >or better) timer on an OS 5 device? > > Why do you need a high-resolution timer when the GUI and screen > refresh is running at the same rate or slower than the tickcount? > I remember some psychology experimenter who was trying to draw > graphics at single millisecond resolution ... onto a video monitor > with only a 60 Hz refresh rate.
I need a source of cryptographic entropy. This has nothing to do with GUI or screen refreshes. Take my word for it, I need a high-res timer. Exactly how high-res is debateable, but certainly considerably more than the 60-100Hz of TimGetTicks. > >With 68K devices you could peek at the hardware timer counters on the > >chip, but this obviously won't work with OS 5. > > If your app knows it's running on an m550/OMAP, you can also peek > at what seems to be a 32-bit 72 MHz counter from an armlet (32-bit > hardware register reads don't seem to work from 68k code under > PACE). I've not researched ARMlets yet, but I had assumed this was the way to go. Do you have any pointers to docs on how to access the exact hardware registers in question? Paul -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
