🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5597

Re: Colour Graphics Adapter: how do you get 2 more palettes in medium res?

#5597
From: Mike Farren
Date: Sun, 09 Feb 1986 18:44
19 lines
1691 bytes
In article <494@looking.UUCP>, jan@looking.UUCP (Jan Gray) writes:
> From the documentation I've seen, there are only two medium res colour palettes,
> one with black, red, green, yellow, and the other black, magenta, cyan, white.
> 
> However, Turbo Pascal can set another two palettes with "high intensity"
> colours.  How is this done?  The BIOS Video Set Palette call doesn't
> seem to be able to set palette 2 or 3.  Is there a BIOS call to do this?
> Is there a (much less portable) IO address to poke?

   You can get the high-intensity palette by setting the background color
to a high-intensity color (Probably black, that's usually the most common
choice).  To do this, you use the normal BIOS call, INT 10H, with AH set to
0BH, BH set to zero, and BL set to 8 (high intensity black).  Likewise, if
BL is set to zero, you will get the low-intensity pallette.
 
-- 
           Mike Farren
           uucp: {your favorite backbone site}!hplabs!well!farren
           Fido: Sci-Fido, Fidonode 125/84, (415)655-0667
Technical Details
Message-ID: <630@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!amdcad!lll-crg!well!farren
References: <494@looking.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site well.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!amdcad!lll-crg!well!farren
From: farren@well.UUCP (Mike Farren)
Newsgroups: net.micro.pc
Subject: Re: Colour Graphics Adapter: how do you get 2 more palettes in medium res?
Message-ID: <630@well.UUCP>
Date: Sun, 9-Feb-86 13:44:51 EST
Article-I.D.: well.630
Posted: Sun Feb  9 13:44:51 1986
Date-Received: Tue, 11-Feb-86 07:17:05 EST
References: <494@looking.UUCP>
Distribution: net
Organization: Whole Earth Lectronic Link, Sausalito, CA
Lines: 19