1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-20 10:17:05 +00:00

Add keyboard command lookaside; dummy IDE read.

This commit is contained in:
Thomas Harte
2025-08-25 22:49:32 -04:00
parent 8a149a188c
commit 1ca279d99d
2 changed files with 7 additions and 3 deletions
+3 -3
View File
@@ -431,9 +431,9 @@ private:
void perform(const uint8_t command) {
switch(command) {
// case 0xf2:
// controller_.post_keyboard({0xfa});
// break;
case 0xf2:
controller_.post_keyboard({0xfa});
break;
case 0xff:
controller_.post_keyboard({0xfa, 0xaa});
+4
View File
@@ -496,6 +496,10 @@ public:
case 0x03fc: case 0x03fd: case 0x03fe: case 0x03ff:
// Ignore serial port accesses.
break;
// IDE.
case 0x01f7:
return 0;
}
return 0xff;
}