Author: hbelusca Date: Sat Jul 18 00:48:38 2015 New Revision: 68415
URL: http://svn.reactos.org/svn/reactos?rev=68415&view=rev Log: [NTVDM] We don't support any PS/2 keyboard command for now. Just return ACKnowledge. This unblocks some programs that want to initialize the keyboard by sending keyboard commands and then performing polling on the port until "valid" data comes out. (unblocks e.g. DOS Mugen game, amongst others...).
Modified: trunk/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/hardw... ============================================================================== --- trunk/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/mvdm/ntvdm/hardware/keyboard.c [iso-8859-1] Sat Jul 18 00:48:38 2015 @@ -22,7 +22,13 @@
static VOID WINAPI KeyboardCommand(LPVOID Param, BYTE Command) { - UNIMPLEMENTED; + // FIXME: UNIMPLEMENTED; just return ACKnowledge. + // This unblocks some programs that want to initialize + // the keyboard by sending keyboard commands and then + // performing polling on the port until "valid" data + // comes out. + DPRINT1("KeyboardCommand(0x%02X) NOT IMPLEMENTED\n", Command); + PS2QueuePush(PS2Port, 0xFA); }
/* PUBLIC FUNCTIONS ***********************************************************/