Date: Thu, 07 Aug 1997 10:35:59 +1100 From: Bill Currie 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 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Comments: Authenticated sender is Precedence: bulk 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.