From a2b1ee68c74d38a946c581073432f0c762f93fc6 Mon Sep 17 00:00:00 2001 From: SarahW Date: Fri, 28 Apr 2017 16:40:02 +0100 Subject: [PATCH] Removed cycle penalty on AT keyboard controller access. Fixes IBM AT booting at 6 MHz. --- src/keyboard_at.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/keyboard_at.c b/src/keyboard_at.c index 135ebe6..c4a3c72 100644 --- a/src/keyboard_at.c +++ b/src/keyboard_at.c @@ -445,7 +445,6 @@ 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 -= 4; // if (port != 0x61) pclog("keyboard_at : read %04X ", port); switch (port) {