1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/converter/pc98_usb
2014-01-07 11:03:18 +09:00
..
config.h Fix legacy keymap support 2013-03-11 14:39:06 +09:00
keymap.c Fix deprecated 'prog_*' typedef - Issue #34 2013-05-21 10:16:55 +09:00
led.c Add initial files for PC98 2013-02-22 09:53:46 +09:00
Makefile Fix BOOTLOADER_SIZE setting 2013-03-29 11:31:21 +09:00
matrix.c Rename file layer_switch to action_layer 2013-04-02 17:44:24 +09:00
README Spellchecking converter README files. 2014-01-07 11:03:18 +09:00

PC98 to USB keyboard protocol converter
=======================================
Target MCU is ATMega32u4 but other USB capable AVR will also work.


Connector
---------

    8Pin mini DIN
       ___ ___
      /  |_|  \
     / 8  7  6 \
    | 5    4  3 |
     \_ 2   1 _/
       \_____/  
     (receptacle)


Wiring: You can change this with editing config.h.

    Pin mini DIN        MCU
    ----------------------------------
    1  ~RST             PD1
    2   GND             GND
    3  ~RDY             PD4
    4   RXD             PD2
    5  ~RTY             PD5
    6   NC                 
    7   NC                 
    8   5V              VCC




Protocol
--------
Signal: Asynchronous, Positive logic, 19200baud, Least bit first
Frame format: 1-Start bit(Lo), 8-Data bits, Odd-Parity, 1-Stop bit

This converter uses software method for testing purpose. AVR UART engine will work better.




Build Firmware
--------------
Just use 'make'

    $ cd pc98_usb
    $ make

Then, load the binary to MCU with your favorite programmer.



Other PC98 converter projects and resource
------------------------------------------
PC98 to USB
http://davy.nyacom.net/kbd98usb/

PC98 to PS/2
http://www.tsp.ne.jp/~sawada/mago/c_gka98at.htm
http://www.tsp.ne.jp/~sawada/mago/src/gka98at.asm

PC98 keyboard commands
http://www.webtech.co.jp/company/doc/undocumented_mem/io_kb.txt


Inhibit repeating key:
0x9C, 0x70