Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mcnc!thorin!tyler!lewis From: lewis@tyler.cs.unc.edu (Jeffrey Lewis) Newsgroups: comp.sys.ibm.pc Subject: EGA card display blues Keywords: EGA help Message-ID: <4873@thorin.cs.unc.edu> Date: 26 Oct 88 19:06:13 GMT Sender: news@thorin.cs.unc.edu Distribution: na Lines: 22 I wrote a short Turbo Pascal program to change the default color of my EGA screen, so I could work under DOS in other than white on black. It uses the TextColor and TextBackground functions to set the screen to the desired color, then exits. This would hopefully leave the screen the way I want it, but on my Zenith EGA card, the colors get set back to white on black when the program exits. I've gotten this to work on a Paradise EGA, Paradise Autoswitch EGA+, and the Zenith z-449(?) VGA card. Can anybody tell me why this same procedure doesn't work on my EGA? Will you tell me? :-) Educated guesses are welcome. Is there a more direct way to do this? Are there particular registers on the card which store this color information, that I could write to directly? Any solutions in assembler, C, Pascal, or Prolog (all Borland) would be nice. Thanks in advance. ----- | "Outside of a dog, a book is man's Jeff Lewis | best friend -- inside of a dog, ARPA: lewis@cs.unc.edu | it's too dark to read."