www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/05/09:51:41

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Color Text...
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <3jnb5t0e15mvcflbs4q1jqe6oief5as27m@4ax.com>
References: <3A52601F DOT 300F61D2 AT crosslink DOT net> <92tp52$qot$1 AT nnrp1 DOT deja DOT com> <932nn8$lhu$2 AT ctb-nnrp2 DOT saix DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 12
X-Trace: /whjskjTS2oyCJPqaO4trDkkY24ztXqeI3K74BYxXCC/OPoF0kuFq4t27uPFaZIHERafa3X4m6n5!2/P1f/PGRTXMAhR94jGIqe9Y/TzYBJ6zH5FJ9jrGTfr2ZFLV+zVF110jpxtxqgBatng2cc2Z6CbH!VDo=
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: Fri, 05 Jan 2001 14:45:09 GMT
Distribution: world
Date: Fri, 05 Jan 2001 14:45:09 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 3 Jan 2001 17:42:01 +0200, "Stefan Viljoen"
<Stefan_Viljoen AT excite DOT com> wrote:

>Or you could just mess with the screen directly - each second byte (?) of
>80x25x16 text mode is a color byte. See
>http://home.intekom.com/rylan/prog.html for pointers on accessing screen
>memory directly - the method to access 320x200x256 VGA should work as it is
>with the text screen memory address (0x0B800 instead of 0x0A000) ?

If you don't plan on porting beyond DJGPP, I'd use conio for colored
text or ScreenUpdateLine() for ASCII art.  If you plan on porting,
use pdcurses.

- Raw text -


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