Add waitstates to AT keyboard read. Fixes keyboard detection on Advanced/EV & ZP.
This commit is contained in:
parent
da26a60364
commit
ee103457fa
1 changed files with 2 additions and 0 deletions
|
|
@ -663,6 +663,8 @@ void keyboard_at_write(uint16_t port, uint8_t val, void *priv)
|
||||||
uint8_t keyboard_at_read(uint16_t port, void *priv)
|
uint8_t keyboard_at_read(uint16_t port, void *priv)
|
||||||
{
|
{
|
||||||
uint8_t temp = 0xff;
|
uint8_t temp = 0xff;
|
||||||
|
|
||||||
|
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