GP32 Framebuffer organisation in 16-bit


Goz

Still Fresh
Joined
Jun 11, 2003
Messages
6
Well its not a linear organisation (like Mode 13h).

I decided to see how to access the framebuffer through GPSURFACEDESC::ptbuffer.

I noticed when i did a clear screen if i wrote to every pixel it filled the screen with the colour i wanted. So i tested by writing to every 4th pixel and I got HORIZONTAL lines. So first of all this made me wonder if the screen was rotated 90 degrees. As far as i could work out .. it wasn't. Does anyone know what the PROPER organisation of the GP32 actually is? Is there anywhere out there where i can find docs with this sort of information in it?

Thanks in advance :)
 
gp32 frame buffer is rotated by 90 degrees.. as it is build around a PDA core that is meant to have 240x320 display (not 320x240)..
 
Well, you are correct, the screen IS rotated 90 degrees..
And thats because the GP32 is built upon a PDA chipset afaik..
So the screen is really 240x320.

---
mithris
 
Cheers guys. Im gonna have to look at that again. When i tried writing pixels based off that rotation I still didn't get them appearing in the right place. Though if it DEFINATELY is rotated through 90 degrees then perhaps i have an error in my pixel plotting code.

Thanks again :)
 
Back
Top