>
> 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.
you should be fine for anything above PalmOS 3.0 - however getting
the program to work on a Palm Personal or Profressional will still
require you to hack the statup code.
> 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?
not that i am aware of.. however.. i have not had problems using
the display address on all devices.. luckily (for us) - motorolla
kept this address the same between the normal and EZ processor.
my code still works with 3.3 - so it should be fine :> but with the
VZ processor.. maybe things will change?
how shall Palm handle the old B+W programs in the color OS?
hope this helps.
cheers.
az.
--
Aaron Ardiri
Lecturer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 26 10 16 11