[comp.sys.ibm.pc] Change BIOS numlock and capslock

joeld@ecsvax.UUCP (05/20/87)

For those people whhave been looking for a way to switch
the internal numlock and capslock state (for clones and other
keyboards with LED's), the following little programs were in a
recent PC Magazine issue:

Numlock
       mov   ax,0040
       mov   ds,ax
       xor   byte ptr [0017],20
       ret

Capslock
       same as above, except xor with 40 rather than 20

I use the numlock program frequently.  I have a NCR PC-4 with 
a separate numeric pad and a LED.  It works fine.

Just enter this using the assemble command of debug.  Have fun.

-- 
-------------------------------------------------------------------
Joel Dunn, UNC-CH ADP, 440 W. Franklin, Chapel Hill NC 27514
{backbone}!mcnc!ecsvax!joeld      Bitnet: RJD@UNC
-------------------------------------------------------------------