Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Color definition in grf_cv.c



Quoting Ignatios Souvatzis (05-Apr-01 18:50:50):

> On Thu, Apr 05, 2001 at 07:36:00PM +0100, Georges Heinesch wrote:
>> Quoting J.O. Aho (05-Apr-01 10:02:15):
>> 
>> > On 5 Apr 2001, Georges Heinesch wrote:
>> 
>> >> e.g. 0x80, 0x00, 0x80 (R, G, B) is black.
>> >>
>> >> Does anybody know what the upper bit is used for?
>> 
>> > Hmmm... doesent ti just tell that your value is a hexadecimal
>> > (0x) value.
>> 
>> Dunno what U mean ?!
>> 
>> Sure, it's hex, but why is 0x00 == 0x80?
>> For me this can only mean that the most significant bit (or bits)
>> are ignored or for other purpose.

> check the chip docs if you can...

Hard to get. Michael Teske, Harald Koenig or Bernd Ernsti should be
able to help.

> I suspect that only six bits are
> valid!

That's what I believe as well. But since the other 2 bits are used as
well inside the code, it could very well be that they are used for
something particular.

-- 
Cu  Georges Heinesch, Luxembourg
    geohei%geohei.lu@localhost
    http://www.geohei.lu
    PGP RSA & DH/DSS public key on request and on public servers

... like a virgin ...




Home | Main Index | Thread Index | Old Index