home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / alt / msdos / programm / 2181 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.8 KB  |  39 lines

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!quads!pynq
  3. From: pynq@quads.uchicago.edu (George Jetson)
  4. Subject: Re: How is CLS implemented ?
  5. Message-ID: <1992Aug12.152811.25781@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: pynq@midway.uchicago.edu
  8. Organization: D. J. Dougherty & Associates
  9. References: <1992Aug11.142038.200@mble.philips.be> <1992Aug11.223726.9385@caeco.mentorg.com>
  10. Date: Wed, 12 Aug 1992 15:28:11 GMT
  11. Lines: 26
  12.  
  13. In article <1992Aug11.223726.9385@caeco.mentorg.com> mike_gillmore@mentorg.com writes:
  14. >In article <1992Aug11.142038.200@mble.philips.be>, stern@mble.philips.be writes:
  15. >> Does anybody know how is implemented the CLS command ?
  16. >> I mean the interrupt(s) used to completely reset the screen.
  17.  
  18. >Get number of columns on the display
  19. >Get number of rows on the display
  20. >Set scroll window to (0, 0) and (columns-1, rows-1)
  21. >Set display attribute to grey on black (as if everyone still
  22. >    has a Monochrome Display Adapter)
  23. etc.
  24.  
  25. I don't think it is anywhere near this complicated.  I just get the current
  26. mode, via INT 10, fn 0F, then set the current mode, via INT 10, fn 0.
  27.  
  28. It's been a while, so don't quote me - you may have to do something with BX
  29. as well.  But, as they say, it's in all the better books.
  30.  
  31. ************************************************************************
  32. Please don't drink the battery acid, it tastes bad and will hurt you.
  33. Also, don't bite the tyres, especially when the bike is moving.
  34. (Our lawyers made us put this in this manual.)
  35.  
  36.     - pynq@quads.uchicago.edu, who is still costing the net
  37.       hundreds, if not thousands, of dollars, every time he posts -
  38. ************************************************************************
  39.