Double buffering works perfectly for us. By changing vSSA we were able to
get about 10-12 fps, which is good enough for animation. The real problem is
rather the fading time of a dot (the time neccessay for the dot to go from
black to white, I excuse for the poor vocabulary).
If you do grayscale animation maybe you would be interested in our GrayLib
library, which first version is about to be released soon. It provides PC
tools for generating frames and actions and Palm-side support for using them
in a real application. If so, contact me directly or wait until we announce
it.
Hope this helps,
Bobby
-----Original Message-----
From: Michael Ethetton <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Saturday, August 28, 1999 6:33 PM
Subject: Best way to Double-Buffer a Screen?
>I'd like to know the best way to double-buffer a screen for a game.
>
>I'm drawing to an offscreen window. Show I copy the bytes from the
>offscreen window to the screen, or should I use set the Starting Screen
>Address (vSSA) to the new window?
>
>I've tried switching the window by changing the Screen Address, but I seem
>to get a blinking effect, like the LCD is shutting down for a little while
>before displaying a new screen. Can this be circumvented? Or should I
just
>copy the memory?
>
>Thanks,
>Mike
>
>