home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / ibm / ps2 / hardware / 2029 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.1 KB  |  44 lines

  1. Newsgroups: comp.sys.ibm.ps2.hardware
  2. Path: sparky!uunet!seas.gwu.edu!ilan
  3. From: ilan@seas.gwu.edu (Ilan Berkner)
  4. Subject: Re: XGA Questions
  5. Message-ID: <1992Nov6.135405.25824@seas.gwu.edu>
  6. Sender: news@seas.gwu.edu
  7. Organization: George Washington University
  8. References: <AeyTfY600iUxE_=bZI@andrew.cmu.edu>
  9. Date: Fri, 6 Nov 1992 13:54:05 GMT
  10. Lines: 32
  11.  
  12. In article <AeyTfY600iUxE_=bZI@andrew.cmu.edu> sl31+@andrew.cmu.edu (Stephen M. Lacy) writes:
  13. >really don't know about it, and I do know that its not supported on any
  14. >of the 85xx and 95xx monitors.  
  15.  
  16. I get mixed reports on this one.  I thought the XGA-2 can work with the
  17. 8513, but only at a max resolution of 640x480x256.
  18.  
  19.  
  20. >I've got an XGA-2 on order, I'll let you all know when it gets in.
  21.  
  22. I'd like to know whether there is a difference between these two
  23. routines on an XGA-2:
  24.  
  25.     mov    ax,0b800h
  26.     mov    es,ax
  27.     mov    cx,4000 shr 2
  28.     mov    di,0
  29.     mov    eax,0
  30.     rep    stosd
  31.  
  32. and:
  33.  
  34.     mov    ax,0b800h
  35.     mov    es,ax
  36.     mov    cx,4000 shr 1
  37.     mov    di,0
  38.     mov    ax,0
  39.     rep    stosw
  40.  
  41. The first one clears the screen in 32-bit chunks.  The second one does it
  42. in 16-bit chunks.  This code might need some fine-tuning, but you get
  43. the idea.
  44.