home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / programm / 8202 < prev    next >
Encoding:
Text File  |  1992-07-31  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!mcsun!sun4nl!alchemy!hhanemaa
  3. From: hhanemaa@cs.ruu.nl (Harm Hanemaaijer)
  4. Subject: Changing the CGA palette on EGA using BIOS calls
  5. Message-ID: <1992Jul31.132747.14645@cs.ruu.nl>
  6. Date: Fri, 31 Jul 1992 13:27:47 GMT
  7. Organization: Utrecht University, Dept. of Computer Science
  8. Keywords: CGA, EGA, ancient technology
  9. Lines: 17
  10.  
  11. I am upgrading a program that uses CGA 320x200 4 color graphics mode. I do not
  12. want to add true EGA or VGA graphics because of the dated and chaotic
  13. programming environment :-). I just want to save users from the standard
  14. CGA pink/cyan/white palette (the other standard CGA palette doesn't work on
  15. many SVGA cards).
  16.    
  17. Is it legal to change the CGA 4-color graphics mode palette using the EGA 
  18. setpalette BIOS function? That is, will it work with most VGA compatible
  19. cards? I have already checked Trident 8900 and ET4000 based SVGA cards, and
  20. they seem to work fine. The result is actually suprisingly good, using a
  21. red monochrome palette of black, dark red, light red and white, and other
  22. monochrome palettes.
  23.  
  24. If you post a reply, please send me a copy by email or I might miss it.
  25.  
  26. Harm Hanemaayer
  27. hhanemaa@cs.ruu.nl
  28.