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