mirror of
https://github.com/holub/mame
synced 2025-04-20 07:22:04 +03:00
bus/rtpc/kbd: use correct line handlers
This commit is contained in:
parent
5297efcd9e
commit
ada6717388
@ -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
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user