home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / MISC / TNH_PC.ZIP / HARRIS.NL < prev    next >
Encoding:
Text File  |  1987-01-14  |  896 b   |  33 lines

  1. Color in HiRes Graphics
  2.  
  3.               Ed Harris
  4.     Madison Wisconsin Users Group
  5.  
  6. If you have an RGB color display and
  7. are using the standard IBM color
  8. graphics adapter, it is possible to
  9. have your high resolution graphics
  10. display (640 x 200 mode) appear in
  11. any of 15 colors on the black
  12. background, not just white on black!
  13. All you have to do is set the screen
  14. mode to high resolution graphics
  15. mode using the BASIC statement:
  16.  
  17.                SCREEN 2
  18.  
  19. and then execute the command:
  20.  
  21.           OUT &H3D9,<color>
  22.  
  23. where <color> is 1 to 15 and will be
  24. the same colors that can be
  25. specified for standard foreground
  26. colors in text mode.  As near as I
  27. can tell, the color selection will
  28. stay in effect unless you execute
  29. another SCREEN command.  I have not
  30. tried it using a composite color
  31. monitor and do not know if it will
  32. work the same.
  33.