mirror of
https://github.com/holub/mame
synced 2025-07-08 03:12:37 +03:00
8042kbdc: Allow some systems to write D1 command first
This commit is contained in:
parent
e42621cc23
commit
9b76c82d7a
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user