Some minor keyboard and keyboard controller fixes and three-phased the keyboard and PS/2 mouse BAT.

This commit is contained in:
OBattler
2023-05-16 00:20:09 +02:00
parent db568b8658
commit 194918b86a
6 changed files with 64 additions and 35 deletions

View File

@@ -1449,6 +1449,7 @@ kbc_at_process_cmd(void *priv)
/* TODO: Proper P1 implementation, with OR and AND flags in the machine table. */
dev->p1 = dev->p1 & 0xff;
write_p2(dev, 0x4b);
picintc(0x1002);
}
dev->status = (dev->status & 0x0f) | 0x60;
@@ -1467,6 +1468,7 @@ kbc_at_process_cmd(void *priv)
/* TODO: Proper P1 implementation, with OR and AND flags in the machine table. */
dev->p1 = dev->p1 & 0xff;
write_p2(dev, 0xcf);
picintc(0x0002);
}
dev->status = (dev->status & 0x0f) | 0x60;