Implemented keyboard Enable Mouse Port command. Fixes PS/2 mouse in Windows NT.

This commit is contained in:
TomW 2015-10-21 21:39:41 +01:00
commit a78d20333a

View file

@ -326,6 +326,10 @@ void keyboard_at_write(uint16_t port, uint8_t val, void *priv)
mouse_scan = 0; mouse_scan = 0;
break; break;
case 0xa8: /*Enable mouse port*/
mouse_scan = 1;
break;
case 0xa9: /*Test mouse port*/ case 0xa9: /*Test mouse port*/
keyboard_at_adddata(0x00); /*no error*/ keyboard_at_adddata(0x00); /*no error*/
break; break;