svn path=/branches/ntvdm/; revision=61210
if (Number >= 0 && Number < 8)
{
- /* Check if any of the higher-priorirty interrupts are busy */
+ /* Check if any of the higher-priority interrupts are busy */
for (i = 0; i <= Number ; i++)
{
if (MasterPic.InServiceRegister & (1 << Number)) return;
return;
}
- /* Check if any of the higher-priorirty interrupts are busy */
+ /* Check if any of the higher-priority interrupts are busy */
if (MasterPic.InServiceRegister != 0) return;
for (i = 0; i <= Number; i++)
{
{
KeyboardResponse = KeyboardConfig;
KeyboardReadResponse = TRUE;
-
break;
}
/* These commands require a response */
KeyboardResponse = Command;
KeyboardWriteResponse = TRUE;
-
break;
}
case 0xA7:
{
// TODO: Mouse support
-
break;
}
case 0xA8:
{
// TODO: Mouse support
-
break;
}
{
KeyboardResponse = 0;
KeyboardReadResponse = TRUE;
-
break;
}
{
KeyboardResponse = 0x55;
KeyboardReadResponse = TRUE;
-
break;
}
{
/* Stop the simulation */
VdmRunning = FALSE;
-
break;
}
}
{
/* Push the data byte to the keyboard queue */
KeyboardQueuePush(Data);
-
break;
}
/* Keyboard IRQ */
PicInterruptRequest(1);
-
break;
}
{
// TODO: NOT IMPLEMENTED
UNIMPLEMENTED;
-
break;
}