]> git.friedersdorff.com Git - max/tmk_keyboard.git/blob - converter/pc98_usb/README
pc98_usb: Update README
[max/tmk_keyboard.git] / converter / pc98_usb / README
1 PC98 to USB keyboard protocol converter
2 =======================================
3 Target MCU is ATMega32u2 but other USB capable AVR will also work.
4
5
6 Connector
7 ---------
8
9     8Pin mini DIN
10        ___ ___
11       /  |_|  \
12      / 8  7  6 \
13     | 5    4  3 |
14      \_ 2   1 _/
15        \_____/
16      (receptacle)
17
18
19 Wiring: You can change this with editing config.h.
20
21     Pin mini DIN        MCU
22     ----------------------------------
23     1  ~RST(TXD)        PD3
24     2   GND             GND
25     3  ~RDY             PD4
26     4   RXD             PD2
27     5  ~RTY             PD5
28     6   NC
29     7   NC
30     8   5V              VCC
31
32
33
34
35 Protocol
36 --------
37 Signal: Asynchronous, Positive logic, 19200baud, Least bit first
38 Frame format: 1-Start bit(Lo), 8-Data bits, Odd-Parity, 1-Stop bit
39
40
41
42 Build Firmware
43 --------------
44 Just use 'make'
45
46     $ cd pc98_usb
47     $ make
48
49 Then, load the binary to MCU with your favorite programmer.
50
51
52
53 Other PC98 converter projects and resource
54 ------------------------------------------
55 PC98 to USB
56 http://davy.nyacom.net/kbd98usb/
57
58 PC98 to PS/2
59 http://www.tsp.ne.jp/~sawada/mago/c_gka98at.htm
60 http://www.tsp.ne.jp/~sawada/mago/src/gka98at.asm
61
62 scan code:
63 http://ixsvr.dyndns.org/usb2pc98
64
65 NEC PC-9801-98-S02 - raku raku keyboard:
66 https://deskthority.net/photos-f62/nec-pc-9801-98-s02-t5212.html
67
68
69
70 PC98 keyboard commands
71 ----------------------
72 http://www.webtech.co.jp/company/doc/undocumented_mem/io_kb.txt
73
74 response from keyboard:
75     FAh: ACK
76     FCh: NACK
77
78 Inhibit repeating key:
79     0x9C, 0x70
80
81 LED control:
82     9Dh 7xh
83
84     second byte:
85     0111 xxxx
86          |||`- NumLock
87          ||`-- ?
88          |`--- CapsLock
89          `---- Kana