Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : ASMFILE.ZIP
Filename : NUMLOCK.ASM
; Toggles NUMLOCK ON with DO numon
; NUMLOCK OFF with DO numoff
; note: declare NUMON and NUMOFF as EXTERNAL in your Clipper prog.
;-------------:
; NUMLOCK.ASM :
;-------------:
PUBLIC NUMON
PUBLIC NUMOFF
_PROG SEGMENT BYTE ;remove to include in extenda
ASSUME CS:_PROG ;remove to include in extenda
NUMON PROC FAR
PUSH ES
MOV AX,40H
MOV ES,AX
MOV BX,17H
OR BYTE PTR ES:[BX],20H
POP ES
RET
NUMON ENDP
NUMOFF PROC FAR
PUSH ES
MOV AX,40H
MOV ES,AX
MOV BX,17H
AND BYTE PTR ES:[BX],0DFH
POP ES
RET
NUMOFF ENDP
_PROG ENDS ;remove to include in extenda
END
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/