Mail Archives: djgpp/1997/08/06/18:34:43
On 6 Aug 97 at 14:39, Chris Croughton wrote:
> The 'oddity' is of course BROWN in the dark
> colours versus YELLOW in the light (octal 006 and
> 016), which is because of the weird way the DOS
> pallette is traditionally set up. But that's the
> way DOS has been ever since the first PC colour
> adapter, the CGA.
Actually, there's no wierdness at all. The colors are determined by
the bits of number; the 4 lower bits are: IRGB (I=bit 3 and B=bit 0).
Bill
--
Leave others their otherness.
- Raw text -