home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!po.CWRU.Edu!dab6
- From: dab6@po.CWRU.Edu (Douglas A. Bell)
- Newsgroups: comp.sys.ibm.pc.hardware
- Subject: Re: Why does HIMEM.SYS not work with some keyboard chips?
- Message-ID: <188dscINNekt@usenet.INS.CWRU.Edu>
- Date: 4 Sep 92 19:36:44 GMT
- References: <1992Sep4.153652.16199@uniwa.uwa.edu.au> <1992Sep4.023741.3497@leela.cs.orst.edu>
- Reply-To: dab6@po.CWRU.Edu (Douglas A. Bell)
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- Lines: 49
- NNTP-Posting-Host: thor.ins.cwru.edu
-
-
- In a previous article, gude@uniwa.uwa.edu.au (David J W Emrich) says:
-
- >youngqd@atlantis.CS.ORST.EDU (Dean Youngquist) writes:
- >
- >>My keyboard stopped responding after I installed HIMEM.SYS today. After
- >>some fussing and fretting I determined that this only happened with
- >>AWARD keyboard BIOS 1.5. I changed to another keyboard BIOS chip and
- >>the problem was solved. BTW it was on a Hyundai 286. How could an other-
- >>wise working keyboard chip stop working because of HIMEM.SYS ? Has anyone
- >>else had this problem ?
- >
- >>-Dean
- >
- >Hold on to your seats, the problem is a REAL-GOOD-ONE. The story starts
- >way back when IBM (and later Microsoft) decided that the 8088 was going
- >to be the end all and be all of the Micro world and that _no one_ would
- >_ever_ need to have more than 1Meg of address space (640KRam, and 384K
- >device BIOS etc.)
-
- [excellent story deleted]
-
- >Why HIMEM would work with one keyboard controller and not another is
- >still mysterious, but at least not totally baffling.
-
- I believe the problem is releated to the fact that when the 286 chip
- was designed, they made the old real mode for accessing memory below
- 1 meg and the new protected mode for everything else. They assumed that
- the 286 protected mode was going to be so wonderful that there would be
- no turning back, and so made no instructions to take a 286 back out
- of protected mode. This made it so that no dos programs could use
- memory above 1 meg. But some programmers at Quaterdeck figured out
- a neat trick. The keyboard controller could be programmed in such a manner
- that it will pop the 286 back into real mode at the mere cost of 200
- some clock cycles. (That is pretty awful, actually.)
-
- I imagine since himem.sys manages extended memory, it will want to talk
- to the keyboard controller on a 286 computer. I believe that intel got
- wise with the 386 chip and made instructions that work more efficently
- that programming the keyboard controller to trigger an interrupt to throw
- the computer back into real mode.
-
- And you all thought the A20 story was hairy.
- Until the 386 chip, intel designed some real junk.
- They would have thankfully have gone broke if
- IBM hadn't decided to use the 8088 in the PC.
- Now they are a moster company that can pour billions
- of dollars into making cisc computers run with nasty
- anscestry run really fast.
-