Article View: comp.sys.ibm.pc.misc
Article #9674Re: Setting size of text window????
From: a_rubin
Date: Fri, 03 May 1991 18:41
Date: Fri, 03 May 1991 18:41
27 lines
1620 bytes
1620 bytes
In <9282.28214c69@jetson.uh.edu> rcte2q@jetson.uh.edu writes: >I am writing a TSR monitor program that watches some input ports on our >computer in the lab. We need to use the bottom 3 lines of the 80x25 text >screen as a 'status bar'. This program is tied to the INT 1Ch timer tick >interrupt, so it is constantly updated. So, I need to lock the screen to >80x22, so the bottom three lines will not be scrolled when the cursor gets >to the bottom of the screen. >[... details of problem ommited ...] (1) ANSI.SYS assumes 25 line screens (even in EGA/43 or VGA/50 line mode). You will definately need one of the replacements. (2) Lines/screen is located in 40h:84h. If you change that to 21, a modified ANSI.SYS might scroll properly. Programs that write directly to the screen or use BIOS to position the cursor will probably not be affected. Clear Screen (CLS / Esc [ 2 J) will probably clear the entire screen. Of course, your program to update the status bar may break. (Why do you need THREE status lines?) (3) I am curious if this will work. >Computin' in Texas, Larry Liska -- a_rubin@dsg4.dse.beckman.com My opinions are my own, and do not represent those of my employer.
Technical Details
Message-ID:
<a_rubin.673296072@dn71>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!orion.oac.uci.edu!biivax.dp.beckman.com!dn71!a_rubinReferences:
<9282.28214c69@jetson.uh.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!orion.oac.uci.edu!biivax.dp.beckman.com!dn71!a_rubin From: a_rubin@dsg4.dse.beckman.com Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Setting size of text window???? Message-ID: <a_rubin.673296072@dn71> Date: 3 May 91 18:41:12 GMT References: <9282.28214c69@jetson.uh.edu> Lines: 27 Nntp-Posting-Host: dn71.dse.beckman.com