diff options
author | yz70s <yz70s@users.noreply.github.com> | 2021-07-28 20:21:20 +0200 |
---|---|---|
committer | yz70s <yz70s@users.noreply.github.com> | 2021-07-29 23:03:51 +0200 |
commit | 246343d18f2cfc0d423d1597adad05d85231473c (patch) | |
tree | f95f4836cc30d4b835abfd98f41269a888a00937 | |
parent | a6f0d36fc6b8960003b204b50066b52467e8e44e (diff) |
fdc37c93x.cpp: add placeholder routine for mouse irq
-rw-r--r-- | src/devices/machine/fdc37c93x.cpp | 7 | ||||
-rw-r--r-- | src/devices/machine/fdc37c93x.h | 1 |
2 files changed, 8 insertions, 0 deletions
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); |