From effdef418747406b81e3b4545fa3e911d0931d2f Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 19 Aug 2018 08:39:41 +0900 Subject: [PATCH] pc98_usb: Fix pin configuration in README --- converter/pc98_usb/Makefile | 3 +++ converter/pc98_usb/README | 5 ++++- converter/pc98_usb/config.h | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/converter/pc98_usb/Makefile b/converter/pc98_usb/Makefile index b8438d2d..24606d69 100644 --- a/converter/pc98_usb/Makefile +++ b/converter/pc98_usb/Makefile @@ -8,6 +8,9 @@ TMK_DIR = ../../tmk_core TARGET_DIR = . # keyboard dependent files +# Add one of lines below to select serial protocol implementation +# protocol/serial_uart.c +# protocol/serial_soft.c SRC = matrix.c \ protocol/serial_uart.c diff --git a/converter/pc98_usb/README b/converter/pc98_usb/README index 0914f229..6da54178 100644 --- a/converter/pc98_usb/README +++ b/converter/pc98_usb/README @@ -25,7 +25,7 @@ Wiring: You can change this with editing config.h. 2 GND GND 3 ~RDY PD4 4 RXD PD2 - 5 ~RTY PD5 + 5 ~RTY PD1 6 NC 7 NC 8 5V VCC @@ -140,6 +140,9 @@ Its scan code map is very different from standard types. This is not tested. Other PC98 converter projects and resource ------------------------------------------ +PC-9800シリーズ テクニカルデータブック HARDWARE 編 1993年 p139, p343 +https://archive.org/stream/PC9800TechnicalDataBookHARDWARE1993/PC-9800TechnicalDataBook_HARDWARE1993#page/n355 + PC98 to USB http://davy.nyacom.net/kbd98usb/ diff --git a/converter/pc98_usb/config.h b/converter/pc98_usb/config.h index 9341708f..c6315d00 100644 --- a/converter/pc98_usb/config.h +++ b/converter/pc98_usb/config.h @@ -64,8 +64,10 @@ along with this program. If not, see . * asynchronous, positive logic, 19200baud, bit order: LSB first * 1-start bit, 8-data bit, odd parity, 1-stop bit */ + /* * Software Serial + * Add protocol/serial_soft.c to SRC in Makefile */ #define SERIAL_SOFT_BAUD 19200 #define SERIAL_SOFT_PARITY_ODD @@ -110,6 +112,7 @@ along with this program. If not, see . /* * Hardware Serial(UART) + * Add protocol/serial_uart.c to SRC in Makefile */ #if defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega32U2__) #define SERIAL_UART_BAUD 19200 -- 2.45.2