home *** CD-ROM | disk | FTP | other *** search
- Color in HiRes Graphics
-
- Ed Harris
- Madison Wisconsin Users Group
-
- If you have an RGB color display and
- are using the standard IBM color
- graphics adapter, it is possible to
- have your high resolution graphics
- display (640 x 200 mode) appear in
- any of 15 colors on the black
- background, not just white on black!
- All you have to do is set the screen
- mode to high resolution graphics
- mode using the BASIC statement:
-
- SCREEN 2
-
- and then execute the command:
-
- OUT &H3D9,<color>
-
- where <color> is 1 to 15 and will be
- the same colors that can be
- specified for standard foreground
- colors in text mode. As near as I
- can tell, the color selection will
- stay in effect unless you execute
- another SCREEN command. I have not
- tried it using a composite color
- monitor and do not know if it will
- work the same.