🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #9671

Setting size of text window????

#9671
From: rcte2q
Date: Fri, 03 May 1991 16:41
21 lines
1534 bytes
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.
While developing the status-line-update portion of this program (I am using
Turbo Pascal...), it was working o.k, but when I went TSR, it failed.  I would
do a directory or run a text-mode program, and as soon as the cursor would
reach the bottom, parts of my status line would scroll up the screen....

The BIOS int10h functions 06 & 07 do not lock a scroll window, as far as I can
tell-- they just scroll a window.  I assume that when DOS updates the screen,
it too uses one of these functions, or ones simelar, to scroll the screen up.
If so, where does the BIOS keeep the dimensions of the screen.  They can't be
hard-coded, can they???? 

I'm getting desparate-- any assistance before next week will be 
appreciated greatly.  Thanks!

Computin' in Texas,   Larry Liska
Technical Details
Message-ID: <9282.28214c69@jetson.uh.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!menudo.uh.edu!jetson.uh.edu!rcte2q

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!menudo.uh.edu!jetson.uh.edu!rcte2q
From: rcte2q@jetson.uh.edu
Newsgroups: comp.sys.ibm.pc.misc
Subject: Setting size of text window????
Message-ID: <9282.28214c69@jetson.uh.edu>
Date: 3 May 91 11:41:29 CDT
Organization: University of Houston
Lines: 22