home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
screen
/
nocurcur.arc
/
NOCURCUR.MSG
< prev
Wrap
Internet Message Format
|
1987-11-24
|
1KB
From: ucbvax!ucdavis!caldwr!zat (Tholow Ziegler)
Newsgroups: comp.sys.ibm.pc
Subject: CURSOR - OFF/ON
Date: 22 Nov 87 22:05:04 GMT
Here are two routines that I have used on a IBM-CGA system. Make
an ASCII file for each then run them through DEBUG, then use
the output .COM files
The first one turns off the cursor - call it NOCUR.TXT
---------------------------
a 100
mov ah,1
mov ch,20
int 10
int 20
r cx
8
n nocur.com
w
q
--------------------------------
The blank line after 'int 20' is necessary.
do DEBUG < NOCUR.TXT then use NOCUR.COM
The second will restore the cursor - call it CUR.TXT
---------------------------------
a 100
mov ah,10
int 10
cmp al,7
jz 10d
mov cx,607
jmp 110
mov cx,0b0c
mov ah,1
int 10
int 20
r cx
16
n cur.com
w
q
-----------------------------
Again the blank line after 'int 20' is necessary.
do DEBUG < CUR.TXT then use CUR.COM
Tholow A. Ziegler || a.k.a. ZAT,the
California Department of Water Resources || caldwr!zat@ucdavis.edu (Internet)
"Conserve Water - Dilute it..." || !ucbvax!ucdavis!caldwr!zat (UUCP)