www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/07/22:56:48

Date: Wed, 7 Apr 1999 22:56:47 -0400
Message-Id: <199904080256.WAA06630@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
CC: rithe AT mailcity DOT com
In-reply-to: <NICFNFEBJDEHCAAA@mailcity.com> (rithe@mailcity.com)
Subject: Re: text background
References: <NICFNFEBJDEHCAAA AT mailcity DOT com>
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> I was curious if there was a way to use all 16 colors for a
> background.

intensevideo(), which uses BIOS int 0x10 AL=3 BL=0 (BL=1 changes it
back to blinkvideo).

"info libc f conio" for a list of console I/O functions.

> Also, how can I get all 256 or whatever ANSII chars?

Don't use putc, printf, or cprintf.  Look up the Screen*() functions
(ScreenPutChar, ScreenPutString, ScreenUpdateLine, etc).  Or,
use the <sys/farptr.h> macros to access the video memory directly.
"info libc a _far" for details.

- Raw text -


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