Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!swrinde!ucsd!ogccse!blake!unicorn!n8541751 From: n8541751@unicorn.WWU.EDU (kriston m. bruland) Newsgroups: comp.sys.ibm.pc Subject: Re: Turning off NumLock through software Summary: Program to turn off Numlock Keywords: NumLock Message-ID: <309@unicorn.WWU.EDU> Date: 12 Nov 89 08:55:46 GMT References: <3932@ur-cc.UUCP> <255AF5E9.24227@maccs.dcss.mcmaster.ca> Distribution: usa Organization: Western Washington Univ, Bellingham, WA Lines: 15 The following assembly language fragment turns off the much-hated Numlock on my IBM Model 30-286 every day when I boot up, so that I don't have to. mov ax,40h ;status segment mov es,ax ;into es mov bx,17h ;status offset mov al,11011111b ;clear evil numlock bit! and es:[bx],al ;leave the others untouched -- n8541751@unicorn.wwu.edu | Theory is useless without practical application 8541751@nessie.wwu.edu | and does not constitute practical application in krisb@goose.wwu.edu | and of itself unless one is a professor. -KMB