Subject: Re: Observations about Xsun24
To: <>
From: David C. Myers <myers@iname.com>
List: port-sparc
Date: 01/06/2000 12:28:41
> Try:
> #define RED_MASK 0xFF0000
> #define GREEN_MASK 0x00FF00
> #define BLUE_MASK 0x0000FF
>
> and work with those.
Ah. That makes sense, but certainly appears to be incompatible with the
assumptions Xsun24 is making. Which means I have to rewrite the
pixel-drawing operations within Xsun24, I presume?
I got a kick out of the combinations that actually did work:
#define RED 0x00FFFF00
#define GREEN 0x00FF00FF
#define BLUE 0x0000FFFF
So it's sort of a backwards masked map. I take it this is an unusual
piece of hardware? I wonder if the RAMDAC or whatever is programmable
to allow me to change this...
-David.