🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Changing the CGA palette on EGA using BIOS calls

#575
From: Harm Hanemaaijer
Date: Fri, 31 Jul 1992 13:27
17 lines
1229 bytes
I am upgrading a program that uses CGA 320x200 4 color graphics mode. I do not
want to add true EGA or VGA graphics because of the dated and chaotic
programming environment :-). I just want to save users from the standard
CGA pink/cyan/white palette (the other standard CGA palette doesn't work on
many SVGA cards).
   
Is it legal to change the CGA 4-color graphics mode palette using the EGA 
setpalette BIOS function? That is, will it work with most VGA compatible
cards? I have already checked Trident 8900 and ET4000 based SVGA cards, and
they seem to work fine. The result is actually suprisingly good, using a
red monochrome palette of black, dark red, light red and white, and other
monochrome palettes.

If you post a reply, please send me a copy by email or I might miss it.

Harm Hanemaayer
hhanemaa@cs.ruu.nl
Technical Details
Message-ID: <1992Jul31.132747.14645@cs.ruu.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!alchemy!hhanemaa

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!alchemy!hhanemaa
From: hhanemaa@cs.ruu.nl (Harm Hanemaaijer)
Subject: Changing the CGA palette on EGA using BIOS calls
Message-ID: <1992Jul31.132747.14645@cs.ruu.nl>
Date: Fri, 31 Jul 1992 13:27:47 GMT
Organization: Utrecht University, Dept. of Computer Science
Keywords: CGA, EGA, ancient technology
Lines: 17