From a78d20333aef89718a9e57cada95e38492b50260 Mon Sep 17 00:00:00 2001 From: TomW Date: Wed, 21 Oct 2015 21:39:41 +0100 Subject: [PATCH] Implemented keyboard Enable Mouse Port command. Fixes PS/2 mouse in Windows NT. --- src/keyboard_at.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/keyboard_at.c b/src/keyboard_at.c index 4c89a56..5e6d6ca 100644 --- a/src/keyboard_at.c +++ b/src/keyboard_at.c @@ -325,6 +325,10 @@ void keyboard_at_write(uint16_t port, uint8_t val, void *priv) case 0xa7: /*Disable mouse port*/ mouse_scan = 0; break; + + case 0xa8: /*Enable mouse port*/ + mouse_scan = 1; + break; case 0xa9: /*Test mouse port*/ keyboard_at_adddata(0x00); /*no error*/