diff --git a/src/keyboard_at.c b/src/keyboard_at.c index 5643797..8fcb279 100644 --- a/src/keyboard_at.c +++ b/src/keyboard_at.c @@ -675,8 +675,9 @@ void keyboard_at_write(uint16_t port, uint8_t val, void *priv) uint8_t keyboard_at_read(uint16_t port, void *priv) { uint8_t temp = 0xff; - - cycles -= ISA_CYCLES(8); + + if (romset != ROM_IBMAT && romset != ROM_IBMXT286) + cycles -= ISA_CYCLES(8); // if (port != 0x61) pclog("keyboard_at : read %04X ", port); if (romset == ROM_XI8088 && port == 0x63) port = 0x61;