Shay wrote:

> Can i do anything so that the grays in IIIx,IIIe,V,Vx will look as much as
> IIIc ???

===== PRE OS 3.5:

Hypothetically speaking, you could register dive...

See
http://ebus.motorola.com/brdata/PDFDB/MICROPROCESSORS/32_BIT/68K-COLDFIRE/M683XX/MC68EZ328UM.pdf

Particularly:

section 12.1.2, Controlling the Display
section 12.1.2.4, Generating Gray-Scale Tones
Table 12-1. Gray-Scale Palette Options

Anything having to do with the LGPMR register

/* WARNING, completely untested code ahead ! */

UInt8 dark, light; /* should both be in the range 0 to 15 */
UInt8 *LGPMR = (UInt8 *) 0xFFFFFA33;

/* assign values to dark and light */

*LGPMR = ((dark & 0x0F) << 4) | (light & 0x0F);

===== OS 3.5 and after:

There are some palette type operations which may or may not do the same thing.
I've only used them in the 8 bit modes, but I assume they also work in the 2 and
4 bit modes to affect the greyscale palette.

--
Adam Wozniak                     Chief Architect
                                 Surveyor Corporation
[EMAIL PROTECTED]                4548 Broad Street
[EMAIL PROTECTED]        San Luis Obispo, CA 93401



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to