🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #677

Re: Toggling NumLock

#677
From: Jochen "Joscho" Schoof
Date: Sat, 03 Oct 1992 11:18
18 lines
1431 bytes
From article <BvEx5v.Atx@csugrad.cs.vt.edu>, by ceharris@csugrad.cs.vt.edu (Carl Harris):
> While simply turning off the NumLock bit in the BIOS' keyboard status
> variable requires only 16 bytes or so, turning off the appropriate 
> indicator lights on the keyboard iff the machine is an AT-class box takes
> several additional instructions.  Hence, NUMOFF.COM is about 40 bytes long.
[some lines deleted]

Sorry, Carl, but that's simply wrong! My 12-or-some-more-bytes routine
toggles the bit as well as the LED. Hope I won't forget to take it with
me on monday... (BTW: I owe a 386-machine which seems AT-class to me).

- Jochen

-- 
---------------------------------------------------------------------------
Jochen Schoof                    schoof@sundae.informatik.uni-wuerzburg.de
Lehrstuhl f. Informatik II +-----------------------------------------------
Universitaet Wuerzburg     | It's worse than that: he's dead, Jim!  -Bones
Technical Details
Message-ID: <1992Oct3.111826.18851@informatik.uni-wuerzburg.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!fauern!dec16!dec8!schoof
References: <BvEx5v.Atx@csugrad.cs.vt.edu>

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!fauern!dec16!dec8!schoof
From: schoof@dec8.informatik.uni-wuerzburg.dbp.de (Jochen "Joscho" Schoof)
Subject: Re: Toggling NumLock
Message-ID: <1992Oct3.111826.18851@informatik.uni-wuerzburg.de>
Sender: news@informatik.uni-wuerzburg.de (USENET News account)
Organization: University of Wuerzburg, Germany
References: <BvEx5v.Atx@csugrad.cs.vt.edu>
Date: Sat, 3 Oct 1992 11:18:26 GMT
Lines: 18