vt100_kbd.cpp: Minor points (nw)

This commit is contained in:
AJR 2018-03-15 22:33:23 -04:00
parent d43a5dfb6a
commit 48e62db544

View File

@ -29,7 +29,7 @@ static INPUT_PORTS_START(vt100_kbd)
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Num 7") PORT_CODE(KEYCODE_7_PAD)
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Num 8") PORT_CODE(KEYCODE_8_PAD)
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Num .") PORT_CODE(KEYCODE_DEL_PAD)
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Num 9") PORT_CODE(KEYCODE_9_PAD)\
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Num 9") PORT_CODE(KEYCODE_9_PAD)
PORT_START("LINE1")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_UNUSED)
@ -275,7 +275,10 @@ WRITE_LINE_MEMBER(vt100_keyboard_device::signal_line_w)
m_speaker->set_state(BIT(data, 7));
if (BIT(data, 6))
{
m_last_scan = 0;
m_scan_counter->reset_w(0);
}
}
}