> WinScreenMode(winScreenModeSet, NULL, NULL, 1, NULL);
> #define SCREEN_BASE (*(long*)0xfffffa00)
> dest = (UInt8 *)(*SCREEN_BASE);
> for ( i=0;i<20*160;i++ ) *dest++ = 0;
>
> Should I allocate my own 3200 bytes of memory, and then set the
> video buffer myself, as in:
> *SCREEN_BASE = my_memory_block;
> ?
bad boy you :)
download Cube3D from:
http://www.ardiri.com/download/palm/cube3D/cube3D.zip
it has been updated, and - there is a little function there that
given any "Window", you can get the display address of it. it
still breaks the rules, however, it handles things generically.
cheers.
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/