diff options
author | Patrick Mackinlay <pmackinlay@hotmail.com> | 2020-11-23 18:26:22 +0700 |
---|---|---|
committer | Patrick Mackinlay <pmackinlay@hotmail.com> | 2020-11-23 18:26:22 +0700 |
commit | ada671738876d277cba78cce7f0dad257e479fb9 (patch) | |
tree | 7c22dc58e00608a66e8c6918b0b4116376486082 | |
parent | 5297efcd9ed94ac3437e80327a0aa7b339775b83 (diff) |
bus/rtpc/kbd: use correct line handlers
-rw-r--r-- | src/devices/bus/rtpc/kbd.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/rtpc/kbd_con.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/rtpc/kbd.cpp b/src/devices/bus/rtpc/kbd.cpp index 2c47cbaa4ff..13cc1759a2d 100644 --- a/src/devices/bus/rtpc/kbd.cpp +++ b/src/devices/bus/rtpc/kbd.cpp @@ -153,10 +153,10 @@ void rtpc_kbd_device::p1_w(u8 data) } if (BIT(m_p1 ^ data, 7)) - data_w(BIT(data, 7)); + m_port->data_write_from_kb(BIT(data, 7)); if (BIT(m_p1 ^ data, 6)) - clock_w(BIT(data, 6)); + m_port->clock_write_from_kb(BIT(data, 6)); // test key down // TODO: not sure exactly how bits 0..2 gate or enable the sample diff --git a/src/devices/bus/rtpc/kbd_con.cpp b/src/devices/bus/rtpc/kbd_con.cpp index 9307e21a82a..f8617fe3ef5 100644 --- a/src/devices/bus/rtpc/kbd_con.cpp +++ b/src/devices/bus/rtpc/kbd_con.cpp @@ -12,7 +12,7 @@ #define LOG_GENERAL (1U << 0) -#define VERBOSE (LOG_GENERAL) +//#define VERBOSE (LOG_GENERAL) #include "logmacro.h" DEFINE_DEVICE_TYPE(RTPC_KBD_CON, rtpc_kbd_con_device, "rtpc_kbd_con", "RT PC keyboard connector") |