Oh mighty PalmOS gurus,
I have written a grey-scale game for PalmOS based on the techniques
described in Edward Keyes' article and his win2 library.
I have used ScrDisplayMode() to go to 2-bit display mode rather than
poking the LCD registers directly, as described in articles I found in
the Knowledge Base. Double buffering is implemented by flipping the
Screen Start Address (SSA, 0xFFFFFA00) register between two areas
allocated with MemHandleNew().
It works fine on my PalmIII and in xcopilot and pose (using the ROM
downloaded from my P3). I'm worried that it might not work on
devices not based on the Dragonball EZ.
My question: I guess poking values into 0xFFFFFA00 is A Bad Thing; is
there a cleaner (i.e. non hardware specific) way to set the address to
be used as the SSA?
Thanks
David Hancock