home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CEXPRESS.ZIP
/
KEYBOARD.ASM
/
CLRSCRLK.ASM
< prev
next >
Wrap
Assembly Source File
|
1989-05-03
|
417b
|
20 lines
;void clr_scroll_lock();
EXTRN _memory_model:byte
_TEXT SEGMENT BYTE PUBLIC 'CODE'
ASSUME CS:_TEXT
PUBLIC _clr_scroll_lock
_clr_scroll_lock proc near
sub ax,ax ;clear AX
mov es,ax ;ES pts to 0000:0000
mov al,11101111B ;bit 4
and es:[417H],al ;clear the bit
cmp _memory_model,0 ;quit
jle quit ;
db 0CBh ;RET far
quit: ret ;RET near
_clr_scroll_lock ENDP
_TEXT ENDS
END