home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8521 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  813 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!yvax.byu.edu!cunyvm!psuvm!fc1
  2. Newsgroups: comp.lang.pascal
  3. Subject: VGA graphics modes
  4. Message-ID: <93025.103244FC1@psuvm.psu.edu>
  5. From: <FC1@psuvm.psu.edu>
  6. Date: Mon, 25 Jan 1993 10:32:44 EST
  7. Organization: Penn State University
  8. Lines: 7
  9.  
  10. Can anyone tell me how and where a VGA graphics screen is stored?
  11. A specific example is : in 16 color - 640-by-480 resolution I know that
  12. each pixel requires 4 bits and storage starts at A000h:0000h but where are
  13. the 4 bits for the pixel at (0,0)?  If I generate random pixels with random
  14. colors, save some area of the screen to disk and then restore I lose all colors
  15. except black and white and some pixels are "turned off".  Perhaps someone knows
  16. a good reference.  Thanks in advance.
  17.