8042kbdc: Allow some systems to write D1 command first

This commit is contained in:
AJR 2024-02-01 22:27:08 -05:00
parent e42621cc23
commit 9b76c82d7a

View File

@ -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
{