Weirdness with Soarer's Converter + Model F-122 6110445
Posted: 29 Jul 2013, 08:45
Hi guys,
I thought I'd share something I hit while remapping the "Rule" key on my Oct' 84 IBM Model F 3180 Terminal Board. (The "Rule" key is the one at the center of the arrow keys in the middle of the board). I wanted to remap it to be the DOWN arrow. However I found myself at a loss as to what that key mapped to using the documentation that comes with Soarer's Converter.
According to many docs around on the internet, this keyboard should be hard-wired to use scan code set 3, and this particular key should be returning scan code 62. It seemed that scan code 62 corresponded to the PAUSE key of a 10x-key terminal board...so I thought ah-ha! gotcha! So I mapped PAUSE to DOWN. Not so fast, the keyboard said.
PAUSE didn't work. So I resorted to brute force. I just mapped every weird key name I didn't recognize (LANG_X, INTERNATIONAL_X, etc...) to DOWN. What do you know? It worked! So then I started removing mappings until I found the one that worked...it was LANG_4 (Hiragana)!
I did not expect this. This is why: According to the converter's doc, LANG_4 (Hiragana) is HID Code 0x93, but the HID code for Hiragana is supposed to be 0x8B...not 0x93...or at least that's the way I read it. Also, the Set 3 scan code for Hiragana is 0x85. *Every* document about this type of keyboard says that key returns scan code 62...and mine is supposedly returning 0x85 (for Hiragana).
So my question is...where did I go wrong in my assumptions? Or is there a fluke with this board, or is there a fluke in the Soarer doc? This is some more detail about my board:
Model: 6110345
Date: 5-Oct-1984
This is a pretty early Model F terminal board I think...so is it just a fluke? I am hoping someone who's hooked up a bunch terminal boards to a Teensy has some thoughts.
I thought I'd share something I hit while remapping the "Rule" key on my Oct' 84 IBM Model F 3180 Terminal Board. (The "Rule" key is the one at the center of the arrow keys in the middle of the board). I wanted to remap it to be the DOWN arrow. However I found myself at a loss as to what that key mapped to using the documentation that comes with Soarer's Converter.
According to many docs around on the internet, this keyboard should be hard-wired to use scan code set 3, and this particular key should be returning scan code 62. It seemed that scan code 62 corresponded to the PAUSE key of a 10x-key terminal board...so I thought ah-ha! gotcha! So I mapped PAUSE to DOWN. Not so fast, the keyboard said.
PAUSE didn't work. So I resorted to brute force. I just mapped every weird key name I didn't recognize (LANG_X, INTERNATIONAL_X, etc...) to DOWN. What do you know? It worked! So then I started removing mappings until I found the one that worked...it was LANG_4 (Hiragana)!
I did not expect this. This is why: According to the converter's doc, LANG_4 (Hiragana) is HID Code 0x93, but the HID code for Hiragana is supposed to be 0x8B...not 0x93...or at least that's the way I read it. Also, the Set 3 scan code for Hiragana is 0x85. *Every* document about this type of keyboard says that key returns scan code 62...and mine is supposedly returning 0x85 (for Hiragana).
So my question is...where did I go wrong in my assumptions? Or is there a fluke with this board, or is there a fluke in the Soarer doc? This is some more detail about my board:
Model: 6110345
Date: 5-Oct-1984
This is a pretty early Model F terminal board I think...so is it just a fluke? I am hoping someone who's hooked up a bunch terminal boards to a Teensy has some thoughts.