From 9b76c82d7a064f0cda60e8a0e70f0263ff941b4a Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 1 Feb 2024 22:27:08 -0500 Subject: 8042kbdc: Allow some systems to write D1 command first --- src/devices/machine/8042kbdc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/devices/machine/8042kbdc.cpp b/src/devices/machine/8042kbdc.cpp index 0571480a839..c9dbcbdcffd 100644 --- a/src/devices/machine/8042kbdc.cpp +++ b/src/devices/machine/8042kbdc.cpp @@ -465,11 +465,10 @@ void kbdc8042_device::data_w(offs_t offset, uint8_t data) case 4: m_last_write_to_control = 1; - // 8042 requires AA to be written here after reset if (m_operation_write_state == -1) { m_status_read_mode = 0; - if (data != 0xaa) + if (data != 0xaa && data != 0xd1) break; else { -- cgit v1.2.3