From 246343d18f2cfc0d423d1597adad05d85231473c Mon Sep 17 00:00:00 2001 From: yz70s Date: Wed, 28 Jul 2021 20:21:20 +0200 Subject: fdc37c93x.cpp: add placeholder routine for mouse irq --- src/devices/machine/fdc37c93x.cpp | 7 +++++++ src/devices/machine/fdc37c93x.h | 1 + 2 files changed, 8 insertions(+) diff --git a/src/devices/machine/fdc37c93x.cpp b/src/devices/machine/fdc37c93x.cpp index c31f6e54833..2378f63be9a 100644 --- a/src/devices/machine/fdc37c93x.cpp +++ b/src/devices/machine/fdc37c93x.cpp @@ -421,6 +421,13 @@ WRITE_LINE_MEMBER(fdc37c93x_device::irq_keyboard_w) request_irq(configuration_registers[LogicalDevice::Keyboard][0x70], state ? ASSERT_LINE : CLEAR_LINE); } +WRITE_LINE_MEMBER(fdc37c93x_device::irq_mouse_w) +{ + if (enabled_logical[LogicalDevice::Keyboard] == false) + return; + request_irq(configuration_registers[LogicalDevice::Keyboard][0x72], state ? ASSERT_LINE : CLEAR_LINE); +} + WRITE_LINE_MEMBER(fdc37c93x_device::kbdp21_gp25_gatea20_w) { if (enabled_logical[LogicalDevice::Keyboard] == false) diff --git a/src/devices/machine/fdc37c93x.h b/src/devices/machine/fdc37c93x.h index cae8d2d69a2..adce3266cf9 100644 --- a/src/devices/machine/fdc37c93x.h +++ b/src/devices/machine/fdc37c93x.h @@ -79,6 +79,7 @@ public: DECLARE_WRITE_LINE_MEMBER(irq_rtc_w); // keyboard DECLARE_WRITE_LINE_MEMBER(irq_keyboard_w); + DECLARE_WRITE_LINE_MEMBER(irq_mouse_w); DECLARE_WRITE_LINE_MEMBER(kbdp21_gp25_gatea20_w); DECLARE_WRITE_LINE_MEMBER(kbdp20_gp20_reset_w); -- cgit v1.2.3