Thanks to dabone, who sent me a clone XT and a Model M KB, I am testing
my XT KB code.
As expected, it did not work initially. So, I thought I'd hook up the
Model M KB and see what it is sending.
That's when I found out I had mapped all of the PS/2 keycodes to the XT
keyboard key numbers, not scan codes.
To close out the thread, that was where I was getting the 0x2a/0x2b
issue. INT2 (which is \ on some international KBs), is key number 42,
but sends scan code 43.
So, fixed the mappings, and now the KB is working well. I still have an
issue where the cursor keys send numerics to the XT when num lock is
on. Just a bit more debugging to do and I think it'll be done.
Anyone know of a DOS util that would report what key is being pressed
(for the esoteric ones, like print screen and pause break) or some other
way to test the tougher ones?
Jim
--
Jim Brain
brain at
jbrain.com
www.jbrain.com