Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : ASMCLIP.ZIP
Filename : NUMLOCK.ASM

 
Output of file : NUMLOCK.ASM contained in archive : ASMCLIP.ZIP
; Written by Dennis Dias for David Baltimore
; 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




  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : ASMCLIP.ZIP
Filename : NUMLOCK.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/