What I am looking for is an INT that will clear the screen for a
DOS program, both in windowed mode and in full screen mode.
I have looked through Ralf Brown's Interrupt Lists, and did not
see anything obvious. Can anybody point me in the right direction?
Or would I have to use the screen page number, and manually clear
the screen? The reason I wish to know is that I have written a
procedure in an OBJ file to be included in my applicable PB/DOS EXE's.
The procedure takes the number of whichever runtime error occurred
and outputs a message stating that a runtime error has occurred
and then displays a plain English description of the error. It contains
descriptions for every runtime error listed in the PB/DOS manual.
Well, it looks pretty tacky to have this information displayed in
addition to the EXE's normal display output. So, I wish for the
procedure to be able to clear the screen before it displays its
information. Currently I am using a hack to do it - I always have ANSI.SYS
loaded, because of my DOS BBS, so the procedure simply outputs the
clear screen ANSI escape code sequence. However, this might not always
be the case, so I would like a REAL method of doing it.
Any assistance gratefully received.
------------------
[This message has been edited by Clay Clear (edited April 22, 2003).]
DOS program, both in windowed mode and in full screen mode.
I have looked through Ralf Brown's Interrupt Lists, and did not
see anything obvious. Can anybody point me in the right direction?
Or would I have to use the screen page number, and manually clear
the screen? The reason I wish to know is that I have written a
procedure in an OBJ file to be included in my applicable PB/DOS EXE's.
The procedure takes the number of whichever runtime error occurred
and outputs a message stating that a runtime error has occurred
and then displays a plain English description of the error. It contains
descriptions for every runtime error listed in the PB/DOS manual.
Well, it looks pretty tacky to have this information displayed in
addition to the EXE's normal display output. So, I wish for the
procedure to be able to clear the screen before it displays its
information. Currently I am using a hack to do it - I always have ANSI.SYS
loaded, because of my DOS BBS, so the procedure simply outputs the
clear screen ANSI escape code sequence. However, this might not always
be the case, so I would like a REAL method of doing it.
Any assistance gratefully received.

------------------
[This message has been edited by Clay Clear (edited April 22, 2003).]
Comment