Don't add keyboard waitstates on AT or XT Model 286. Fixes POST of these

machines at 6 MHz.
This commit is contained in:
SarahW 2020-03-15 14:54:54 +00:00
commit 4ee83be7b5

View file

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