On 2/20/02 3:00 AM, "David A. Desrosiers " wrote:
> Sure, burdon Keith more. Seriously though, Keith is doing an
> outstanding job, carrying quite an amount of work supporting POSE for Palm,
> Palm's partners (Falch, Metrowerks, others), and for the community at large.
Lest people think I'm lazy (or lazier than I am), I did that before I
posted. I spent over an hour poking around in the code, changing the sleep
time in various places that seemed appropriate.
Given, however, that I am totally unfamiliar with Powerplant, and this is my
first excursion into POSEr source, I was unable to figure out the right
place to do anything. Which is why I posted.
I _know_ Keith is wonderful (everyone does, or should), but I merely
requested that a feature be added to the list, to be added or not as he sees
fit.
Now, Keith says:
> The big problem is in a function called Platform::Delay. This
> function is used to make sure that the emulated device wakes up every
> 10 msecs in order to update things like the tick counter. On the
> Mac, Platform::Delay is just a spin-wait function, and doesn't let
> any other process continue.
The code for Delay is
Microseconds (&start);
do {
Microseconds (&end);
} while (end.lo < (start.lo + 8800));
Now that's gotta chew the CPU! :-)
Armed with this information, I'll look into this some more and see if I can
come up with something.
Thanks!
Lee
---------------------------
Lee Fyock
[EMAIL PROTECTED]
Palm Digital Media
http://www.palm.com/ebooks/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/