1 PC98 to USB keyboard protocol converter
2 =======================================
3 Target MCU is ATMega32u2 but other USB capable AVR will also work.
20 Wiring: You can change this with editing config.h.
23 ----------------------------------
38 Signal: Asynchronous, Positive logic, 19200baud, Least bit first
39 Frame format: 1-Start bit(Lo), 8-Data bits, Odd-Parity, 1-Stop bit
45 Just use 'make' to bild firmware
54 then push button on converter to flash firmware.
60 ,---. ,---. ,------------------------. ,------------------------. ,------------------------.
61 |Pau| |PrS| | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10| | F11| F12| F13| F14| F15|
62 `---' `---' `------------------------' `------------------------' `------------------------'
63 ,-------------------------------------------------------------. ,-------. ,---------------.
64 | Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|JPY|Bspc| |Ins|Del| |Hom|End| -| /|
65 |-------------------------------------------------------------| |-------| |---------------|
66 | Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| | |PgD|PgU| | 7| 8| 9| *|
67 |-------------------------------------------------------`Enter| |-------| |---------------|
68 |Ctl|Cap| A| S| D| F| G| H| J| K| L| ;| '| \| | | Up | | 4| 5| 6| +|
69 |-------------------------------------------------------------| |-------| |---------------|
70 | Shift | Z| X| C| V| B| N| M| ,| .| /| RO| Shift | |Lef|Rig| | 1| 2| 3| =|
71 `-------------------------------------------------------------' |-------| |---------------|
72 ^3|Kana|Gui|Alt|MHEN| Space |HENK|Alt|Gui|App|^2 | Down | | 0| ,| .| ^1|
73 `-------------------------------------------------------' `-------' `---------------'
74 ^1: Enter on keypad is identical to Enter on alphanumeric portion.
75 ^2: Right Alt is ALT on DIGITAL WAVE Dboard while Menu on PC-9821 keyboard.
76 App is HOME key on PC98XL keyboard.
77 ^3: Caps and Kana are locking keys, either mechanically or by firmware emulation.
80 ,---. ,---. ,------------------------. ,------------------------. ,------------------------.
81 | 60| | 61| | 62 | 63 | 64 | 65 | 66 | | 67 | 68 | 69 | 6A | 6B | | 52 | 53 | 54 | 55 | 56 |
82 `---' `---' `------------------------' `------------------------' `------------------------'
83 ,-------------------------------------------------------------. ,-------. ,---------------.
84 | 00 | 01| 02| 03| 04| 05| 06| 07| 08| 09| 0A| 0B| 0C| 0D| 0E | | 38| 39| | 3E| 3F| 4D| 41|
85 |-------------------------------------------------------------| |-------| |---------------|
86 | 0F | 10| 11| 12| 13| 14| 15| 16| 17| 18| 19| 1A| 1B| | | 36| 37| | 42| 43| 44| 45|
87 |-------------------------------------------------------` 1C | |-------| |---------------|
88 | 74| 71| 1D| 1E| 1F| 20| 21| 22| 23| 24| 25| 26| 27| 28| | | 3A | | 46| 47| 48| 49|
89 |-------------------------------------------------------------| |-------| |---------------|
90 | 70 | 29| 2A| 2B| 2C| 2D| 2E| 2F| 30| 31| 32| 33| 70/7D | | 3B| 3C| | 4A| 4B| 4C| 4D|
91 `-------------------------------------------------------------' |-------| |---------------|
92 | 72 | 77| 73| 51 | 34 | 35 | 79| 78| 5E| | 3D | | 4E| 4F| 50| 1C|
93 `-------------------------------------------------------' `-------' `---------------'
94 5E: HOME on PC98XL keyboard
95 79: ALT on DIGITAL WAVE Dboard
96 77,78,79: Left Win, right Win and Application on PC-9821 keyboard
100 PC98 keyboard commands
101 ----------------------
102 http://www.webtech.co.jp/company/doc/undocumented_mem/io_kb.txt
104 response from keyboard:
108 Inhibit repeating key:
121 Enabling Win and App key on PC-9821 keyboard:
126 Raku Raku keyboard support
127 --------------------------
128 NEC PC-9801-98-S02 - raku raku keyboard:
129 https://deskthority.net/photos-f62/nec-pc-9801-98-s02-t5212.html
131 To build firmware for the keyboard
133 $ make KEYMAP=rakuraku clean
134 $ make KEYMAP=rakuraku
135 $ make KEYMAP=rakuraku dfu
137 Its scan code map is very different from standard types. This is not tested.
141 Other PC98 converter projects and resource
142 ------------------------------------------
143 PC-9800シリーズ テクニカルデータブック HARDWARE 編 1993年 p139, p343
144 https://archive.org/stream/PC9800TechnicalDataBookHARDWARE1993/PC-9800TechnicalDataBook_HARDWARE1993#page/n355
147 http://davy.nyacom.net/kbd98usb/
150 http://www.tsp.ne.jp/~sawada/mago/c_gka98at.htm
151 http://www.tsp.ne.jp/~sawada/mago/src/gka98at.asm
154 http://ixsvr.dyndns.org/usb2pc98