Article View: comp.os.msdos.programmer
Article #5091Re: Disabling an Internal DOS Command
From: Dion Hollenbeck
Date: Fri, 08 Mar 1991 15:24
Date: Fri, 08 Mar 1991 15:24
26 lines
1760 bytes
1760 bytes
In article <LEVERICW.91Mar4113004@cheetah.ece.clarkson.edu> levericw@cheetah.ece.clarkson.edu (Walden Leverich) writes:
> > Question #2:
> > Is there any way to set the state of the NumLock key. I already know
> > how to detect the state of the key, but what I really need to do is
> > set it to be either on or off. Any help would be appreciated.
>
> You can read the status from BIOS, you may also be able to SET the
> status by playing with the settings in BIOS. (Obviously a RAM copy of
> BIOS.)
>
This is indeed true, but the trouble here is that although you
can change the status of the bit representing the NUNLOCK key,
you cannot affect the state of the LED by doing this.
Maybe someone could post how to set the LED's. I believe this is
by writing a command to the keyboard controller, but I am not sure.
I am fairly sure that this is not a BIOS service, but a write to
an IO port with command and new value.
--
-----
Dion Hollenbeck (619) 455-5590 x2814
Megatek Corporation, 9645 Scranton Road, San Diego, CA 92121
uunet!megatek!hollen or hollen@megatek.uucp
Technical Details
Message-ID:
<HOLLEN.91Mar8072426@hobbes.megatek.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!usc!orion.oac.uci.edu!ucivax!megatek!hobbes!hollenReferences:
<1991Mar4.151301.12925@cbnewsk.att.com> <LEVERICW.91Mar4113004@cheetah.ece.clarkson.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!usc!orion.oac.uci.edu!ucivax!megatek!hobbes!hollen From: hollen@megatek.UUCP (Dion Hollenbeck) Newsgroups: comp.os.msdos.programmer Subject: Re: Disabling an Internal DOS Command Message-ID: <HOLLEN.91Mar8072426@hobbes.megatek.UUCP> Date: 8 Mar 91 15:24:26 GMT References: <1991Mar4.151301.12925@cbnewsk.att.com> <LEVERICW.91Mar4113004@cheetah.ece.clarkson.edu> Sender: hollen@megatek.UUCP Distribution: usa Organization: Megatek Corporation, San Diego, California Lines: 26 In-reply-to: levericw@cheetah.ece.clarkson.edu's message of 4 Mar 91 19:30:04 GMT