This site is no longer active and is available for archival purposes only. Registration and login is disabled.

8-bit device problem (Jornada 525)


8-bit device problem (Jornada 525)

Postby Anders » Jun 13, 2002 @ 12:12am

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
Anders
pm Member
 
Posts: 13
Joined: Oct 4, 2001 @ 9:49am


Postby Kzinti » Jun 13, 2002 @ 12:15am

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).
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron