TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: TED ROLLE
from: JAMES VAHN
date: 1998-01-30 07:20:00
subject: Re: Numlock program

> My computer at work does not have a BIOS option to toggle NumLock
> off; I'd like for NumLock to come up "OFF".
Here's something I used to run from autoexec.bat.......
        mov  dx,0040h           
        mov  ds,dx
        mov  bx,0017h
        mov  al,[bx]            
        xor  al,00100000b   ; Toggle bit 5 (40:17), NumLock
        mov  [bx],al            
        int  20h                
--- ifmail-tx (i386 Linux)
---------------
* Origin: 300 miles East of Seattle, WA (1:346/15.1@fidonet)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.