delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/14/12:00:48

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: dos color ?
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <naafks00v516ef0jt51rc62v69qldco2gp@4ax.com>
References: <kra15.6974$iy DOT 531598 AT bgtnsc06-news DOT ops DOT worldnet DOT att DOT net> <YFL15.109$p62 DOT 47695 AT wdc-read-01 DOT qwest DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 24
X-Trace: /K0ZEBeaOH7ougAP0rIHMNOrh+6jDiw2zmP6+HpjObDxOUq01IIXWQPo1DU87AizDCsEgk+fNN7/!c7QOs5G77GJ5PmHV2ovnU0946ZBoqhWBAOMAPpwacXCbOBwb9WWdkRhP4ZI4J+k1E6TVk+Q7k+ka
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 14 Jun 2000 15:51:17 GMT
Distribution: world
Date: Wed, 14 Jun 2000 15:51:17 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 14 Jun 2000 08:17:11 -0500, "Joe Toth" <jtoth AT megsinet DOT net>
wrote:

>You should only use the 'dark' collors listed in <conio.h> for the
>first of the two COLORS listed above. If you specify one of the
>light colors, it will be the same as entering the BLINK value.

However, there's a call to BIOS to turn off blinking and enable high
intensity backgrounds.  Check Ralf Brown's INT 10 docs.

>I don't remember which of the 2 <COLORS> values is the character
>and which is the background.  Try what you want and if it is reverse
>from what you want, simply reverse the specifications in the code.

The first is the background.  textmode(0x07) is light gray (7) text
on a black (0) background.

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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