From 60260c8cb1f9ef13598e18948a69e79ef0c6d591 Mon Sep 17 00:00:00 2001 From: yz70s Date: Wed, 25 Aug 2021 21:31:15 +0200 Subject: fdc37c93x.cpp: update to support ps/2 mouse --- src/devices/machine/fdc37c93x.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/devices/machine/fdc37c93x.cpp b/src/devices/machine/fdc37c93x.cpp index 5d7fed53196..9e76e058a00 100644 --- a/src/devices/machine/fdc37c93x.cpp +++ b/src/devices/machine/fdc37c93x.cpp @@ -275,7 +275,9 @@ void fdc37c93x_device::device_add_mconfig(machine_config &config) // keyboard KBDC8042(config, m_kbdc); m_kbdc->set_keyboard_type(kbdc8042_device::KBDC8042_PS2); + m_kbdc->set_interrupt_type(kbdc8042_device::KBDC8042_DOUBLE); m_kbdc->input_buffer_full_callback().set(FUNC(fdc37c93x_device::irq_keyboard_w)); + m_kbdc->input_buffer_full_mouse_callback().set(FUNC(fdc37c93x_device::irq_mouse_w)); m_kbdc->system_reset_callback().set(FUNC(fdc37c93x_device::kbdp20_gp20_reset_w)); m_kbdc->gate_a20_callback().set(FUNC(fdc37c93x_device::kbdp21_gp25_gatea20_w)); } -- cgit v1.2.3