🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5214

Re: DOS colors

#5214
From: fisher
Date: Thu, 28 Feb 1991 08:06
15 lines
1099 bytes
In article <1991Feb25.051313.2881@wpi.WPI.EDU>, jhall@wpi.WPI.EDU (John Clinton Hall) writes:
> 
> How do I change the color DOS uses to print with INT 21/40?  There must be a
> way to do it.  Norton's Screen Attributes does it.

No.  The version of SA I've seen changes the _border_ color and sends an ansi
escape sequence to the console driver for the rest.  Try "sa ... > codes".
If you want to know how the ansi console driver changes the colors, you can
easily find one of the improved drivers (zansi, nansi, nnansi, ...), of
which some are available with the asm source files.

Better yet, check the well known interupt list.  
(at Simtel20: PD1:<MSDOS.INFO>INTER###.ZIP)

Markus Fischer, Dpt. of Anthropology, Geneva CH
Technical Details
Message-ID: <1991Feb28.100600.376@sc2a.unige.ch>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!cernvax!chx400!chx400!ugun2b!ugsc2a!fisher
References: <1991Feb25.051313.2881@wpi.WPI.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!cernvax!chx400!chx400!ugun2b!ugsc2a!fisher
From: fisher@sc2a.unige.ch
Newsgroups: comp.os.msdos.programmer
Subject: Re: DOS colors
Message-ID: <1991Feb28.100600.376@sc2a.unige.ch>
Date: 28 Feb 91 08:06:00 GMT
References: <1991Feb25.051313.2881@wpi.WPI.EDU>
Organization: University of Geneva, Switzerland
Lines: 15