mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
vt100_kbd.cpp: Minor points (nw)
This commit is contained in:
parent
d43a5dfb6a
commit
48e62db544
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user