summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author yz70s <yz70s@users.noreply.github.com>2019-11-15 18:09:53 +0100
committer yz70s <yz70s@users.noreply.github.com>2019-11-15 23:16:56 +0100
commit630b3a56be6069249bb05c58727576198c4dd9d2 (patch)
treea6f6b2e0713c3bbda4dd041c03c7c61a65d1d17f
parent0c1e629b4a994d7a20513e184aa321ed25b2e5b0 (diff)
8042kbdc.cpp: recognize mouse reset command (nw)
-rw-r--r--src/devices/machine/8042kbdc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/machine/8042kbdc.cpp b/src/devices/machine/8042kbdc.cpp
index 77d06e0e506..7984b1d0294 100644
--- a/src/devices/machine/8042kbdc.cpp
+++ b/src/devices/machine/8042kbdc.cpp
@@ -360,6 +360,12 @@ WRITE8_MEMBER(kbdc8042_device::data_w)
switch (m_data)
{
+ case 0xff:
+ logerror("Mouse reset command received\n");
+ m_mouse.sample_rate = 100;
+ m_mouse.received = 1;
+ m_data = 0xfa;
+ break;
case 0xf6:
m_mouse.received = 1;
m_data = 0xfa;