geekhack

geekhack Community => Other Geeky Stuff => Topic started by: JohnElliott on Sun, 08 August 2010, 17:36:55

Title: IBM AT keyboard controller pointless fact
Post by: JohnElliott on Sun, 08 August 2010, 17:36:55
The keyboard controller on the motherboard of the original IBM AT is responsible for handling the keylock. If the lock is locked, it throws away scancodes rather than passing them to the motherboard.

The pointless fact is: it only throws away scancodes 01-7F plus 83 and 84 (basically, anything in Set 3). Anything in the 80-82 or 85-FF ranges gets passed on even if the lock is locked. So if you plug in an enhanced keyboard, the E0 prefixes on extended keys get through -- the keys themselves don't. And if you put a keyboard with Windows keys into set 3, the Windows and Menu keys (8B, 8C, 8D) get through as well.
Title: IBM AT keyboard controller pointless fact
Post by: JBert on Tue, 10 August 2010, 14:40:29
Eh? You tricked it into thinking there was a keyboard lock or what? I haven't seen a PC with such a lock since I threw out some 486s a couple of years ago.
Title: IBM AT keyboard controller pointless fact
Post by: JohnElliott on Tue, 10 August 2010, 15:35:01
Quote from: JBert;211054
Eh? You tricked it into thinking there was a keyboard lock or what? I haven't seen a PC with such a lock since I threw out some 486s a couple of years ago.


The case I was using didn't have a keylock but did have a reset button, so I hooked it up to that.