Article ID: 151715
Article Last Modified on 11/15/2006
a 100
mov ax,0040
mov ds,ax
or byte ptr [0017],40
mov ah,1
int 16
mov ax,4c00
int 21
r cx
0013
n CAPS_ON.COM
w
q
debug < capson.deb
a 100
mov ax,0040
mov ds,ax
and byte ptr [0017],bf
mov ah,1
int 16
mov ax,4c00
int 21
r cx
0013
n CAPS_OFF.COM
w
q
debug < capsoff.deb
a 100
mov ax,0040
mov ds,ax
or byte ptr [0017],20
mov ah,1
int 16
mov ax,4c00
int 21
r cx
0013
n NUM_ON.COM
w
q
debug < numon.deb
a 100
mov ax,0040
mov ds,ax
and byte ptr [0017],df
mov ah,1
int 16
mov ax,4c00
int 21
r cx
0013
n NUM_OFF.COM
w
q
debug < numoff.deb
NUMLOCK=OFF -or- NUMLOCK=ONto the Config.sys file will turn off or turn on the NUM LOCK key.
Additional query words: capslock numlock caps num elite boot
Keywords: kbhowto kbprogramming KB151715