Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!mcnc!ece-csc!ncrcae!ncr-sd!hp-sdd!ucsdhub!sdcsvax!ucbvax!ucdavis!caldwr!zat From: zat@caldwr.caldwr.gov (Tholow Ziegler) Newsgroups: comp.sys.ibm.pc Subject: CURSOR - OFF/ON Message-ID: <211@caldwr.caldwr.gov> Date: Sun, 22-Nov-87 17:05:04 EST Article-I.D.: caldwr.211 Posted: Sun Nov 22 17:05:04 1987 Date-Received: Wed, 25-Nov-87 19:47:20 EST Organization: California Department of Water Resources Lines: 52 Keywords: .COM files 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) The opinions expressed above are not those of my employer!