bus/rtpc/kbd: use correct line handlers

This commit is contained in:
Patrick Mackinlay 2020-11-23 18:26:22 +07:00
parent 5297efcd9e
commit ada6717388
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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")