ss50/mpc, adm31: PIA-related updates (nw)

This commit is contained in:
AJR 2019-06-19 20:34:47 -04:00
parent 2e0f4af6ee
commit 740763c326
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ void ss50_mpc_device::device_start()
WRITE_LINE_MEMBER(ss50_mpc_device::serial_input_w)
{
m_pia->set_a_input(state << 7);
m_pia->write_porta_line(7, state);
m_loopback->in_w<0>(state);
}

View File

@ -100,7 +100,7 @@ void adm31_state::kbd_scan_w(u8 data)
u8 adm31_state::kbd_scan_r()
{
return m_kbd_scan | (BIT(m_keys[(m_kbd_scan & 0x78) >> 3].read_safe(0xff), m_kbd_scan & 0x07) ? 0x00 : 0x80);
return BIT(m_keys[(m_kbd_scan & 0x78) >> 3].read_safe(0xff), m_kbd_scan & 0x07) ? 0x7f : 0xff;
}
void adm31_state::kbd_status_w(u8 data)