Don't add keyboard waitstates on AT or XT Model 286. Fixes POST of these
machines at 6 MHz.
This commit is contained in:
parent
61a5ca2f39
commit
4ee83be7b5
1 changed files with 3 additions and 2 deletions
|
|
@ -676,7 +676,8 @@ uint8_t keyboard_at_read(uint16_t port, void *priv)
|
||||||
{
|
{
|
||||||
uint8_t temp = 0xff;
|
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 (port != 0x61) pclog("keyboard_at : read %04X ", port);
|
||||||
if (romset == ROM_XI8088 && port == 0x63)
|
if (romset == ROM_XI8088 && port == 0x63)
|
||||||
port = 0x61;
|
port = 0x61;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue