ctk@ecsvax.UUCP (01/05/84)
How does one go about using line 25 as a status line in a program? In
basic this is not a problem. I'm trying to write a C program that uses
line 25 and when the screen becomes full line 25 is scrolled up like
everything else. Is there a system call or a port I can write to that
makes line 25 special? How does Basic do this? All help will be
appreciated. TIA.
As usual respond by mail.
C.T. Kelley
Dept. of Math.
N.C. State U.
Raleigh, N.C. 27650
decvax!mcnc!ecsvax!ctkjph@whuxle.UUCP (01/09/84)
#R:ecsvax:-178400:whuxle:22700011:000:458 whuxle!jph Jan 8 21:40:00 1984 What you want to do is to have some system code that will handle your writes to the CRT. When you detect that the write is going to go onto line 25, you want to scroll lines 0-23 (INT 10H,AH=6) up and then move the cursor up a line so that line 25 'appears' to be stationary. One simple way to to use the WRITE TTY (INT 10H, AH=14H) to output the character and then to look at the cursor position after the call (so that all then normal processing is done).