home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 110
/
EnigmaAmiga110CD.iso
/
software
/
varie
/
ksc_utils
/
cursoff.asm
< prev
next >
Wrap
Assembly Source File
|
2000-02-21
|
536b
|
32 lines
; CursOff v1.2 : turn shell cursor off
; by Kyzer/CSG
; $VER: CursOff.asm 1.2 (08.04.98)
;
incdir include:
include lvo/exec_lib.i
include lvo/dos_lib.i
CursOff move.l 4.w,a6
lea dosname(pc),a1
moveq #32,d0
jsr _LVOOpenLibrary(a6)
tst.l d0
beq.s .quit
move.l d0,a6
jsr _LVOOutput(a6)
pea $9B302070 ; 9B 30 20 70 (CSI 0 SPC p) = cursor off
move.l d0,d1
move.l sp,d2
moveq #4,d3
jsr _LVOWrite(a6)
addq.l #4,sp
move.l a6,a1
move.l 4.w,a6
jsr _LVOCloseLibrary(a6)
.quit moveq #0,d0
rts
dosname dc.b 'dos.library',0