Page 1 of 1

8-bit device problem (Jornada 525)

PostPosted: Jun 13, 2002 @ 12:12am
by Anders
Having released what I thought was a version of PocketClive, the Spectrum emulator for PocketPC, that works on those PocketPCs with 8bit display I am getting mixed reviews from different users. Some say that it is working perfectly and some say that the colors are weird. I am using a GAPI draw routine that presumes that the 8bit display is a 332 display but why does that only works sometimes? I presume that I have to add some SetPalette calls or something to my code. If it is so does anyone has a piece of code that performs the necessary steps for setting up a 332 display for the device?

(Anders

PostPosted: Jun 13, 2002 @ 12:15am
by Kzinti
PocketFrog contains code that creates and links a 332 color palette to the application's window... This is there precisely to support Jornada palettized devices.

Take a look inside class DisplayDevice, something called "CreatePalette()" or "SetPalette()", not sure anymore (and don't have access to code right now).