• Please review our updated Terms and Rules here

TSR for Extended keyboard on XT

nige the hippy

Veteran Member
Joined
Apr 7, 2006
Messages
1,282
Location
Luton UK
I'm in slight need of an xt keyboard too, although I have one I can use, I was looking for someting like an xt keyboard emulator that'll run through a parallel port (Mike another job for you!), or a protocol converter that could be modded to run on a pic board with two keyboard connectors I have, when I found this little prog to run an "enhanced 101 key keyboard" on an xt.

(see below)

Has anyone used it, and does it work?
 

Attachments

  • xtkb13.zip
    3.6 KB · Views: 1
I read the assembly code. It's pretty clever.

The new keys on an extended keyboard return 0x0E in addition to the key being pressed. That would confuse the BIOS, which doesn't understand what an 0x0E is.

This TSR throws away the 0x0E bytes. And by clever design, that leaves the scan codes of the keys being pressed, which are the same as the original keys that they duplicated.

For example, INS on an XT keyboard would be 0x70. The 'extended' extra key is 0x0E followed by 0x70. By stripping the 0x0E out, you give the XT a good mapping.

Excellent find .. what site did you get it from?
 
Back
Top