cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/06/18:34:43

Date: Thu, 07 Aug 1997 10:35:59 +1100
From: Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz>
Subject: Re: mistake in COLOR enum in conio.h
In-reply-to: <97Aug6.153715gmt+0100.17056@internet01.amc.de>
To: djgpp AT delorie DOT com
Message-id: <199708062240.KAA02704@teleng1.tait.co.nz gatekeeper.tait.co.nz>
Organization: Tait Electronics Limited
MIME-version: 1.0
Comments: Authenticated sender is <billc AT blackmagic DOT tait DOT co DOT nz>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019