Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tekcrl!tekgvs!toma From: toma@tekgvs.LABS.TEK.COM (Tom Almy) Newsgroups: comp.sys.ibm.pc Subject: Re: NUMLOCK Keywords: NUMLOCK,SCROLL LOCK,CAPS LOCK Message-ID: <6343@tekgvs.LABS.TEK.COM> Date: 13 Nov 89 15:44:46 GMT References: <523@darth.PGH.PA.US> Reply-To: toma@tekgvs.LABS.TEK.COM (Tom Almy) Organization: Tektronix, Inc., Beaverton, OR. Lines: 23 In article <523@darth.PGH.PA.US> liber@darth.PGH.PA.US (Eric Liber) writes: >The numlock, scroll lock and caps lock lights and system status are recorded >and set by the byte at 0040:0017 the bits of the byte have the following >meaning: > > bit 0 - if set (=1) then the keyboard is in a permanent shifted state No (from IBM PC/AT Technical Reference Manual), bit 0 - right shift key depressed > bit 1 - ? bit 1 - left shift key depressed > bit 2 - ? bit 2 - control key depressed > bit 3 - ? bit 3 - alt key depressed > bit 4 - scroll lock - 0 = off 1 = on > bit 5 - num lock - 0 = off 1 = on > bit 6 - caps lock - 0 = off 1 = onn bit 7 - Insert state active (toggles with Insert key??) Tom Almy toma@tekgvs.labs.tek.com Standard Disclaimers Apply