mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NTVDM]: Code formatting and DPRINT fix.
svn path=/trunk/; revision=63303
This commit is contained in:
@@ -1494,7 +1494,7 @@ VOID WINAPI VidBiosVideoService(LPWORD Stack)
|
||||
/* Alternate Function Select */
|
||||
case 0x12:
|
||||
{
|
||||
DPRINT1("BIOS Function INT 12h (Alternate Function Select), BX = 0x%04X NOT IMPLEMENTED\n",
|
||||
DPRINT1("BIOS Function INT 10h, AH = 12h (Alternate Function Select), BX = 0x%04X NOT IMPLEMENTED\n",
|
||||
getBX());
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -27,10 +27,8 @@ EMULATOR_INT32_PROC Int32Proc[EMULATOR_MAX_INT32_NUM] = { NULL };
|
||||
/* BOP Identifiers */
|
||||
#define BOP_CONTROL 0xFF // Control BOP Handler
|
||||
#define BOP_CONTROL_DEFFUNC 0x00 // Default Control BOP Function
|
||||
|
||||
/* 32-bit Interrupt dispatcher function code for the Control BOP Handler */
|
||||
#define BOP_CONTROL_INT32 0xFF
|
||||
|
||||
#define BOP_CONTROL_INT32 0xFF // 32-bit Interrupt dispatcher
|
||||
// function code for the Control BOP Handler
|
||||
|
||||
#define BOP(num) LOBYTE(EMULATOR_BOP), HIBYTE(EMULATOR_BOP), (num)
|
||||
#define UnSimulate16(trap) \
|
||||
@@ -89,7 +87,7 @@ InitializeContext(IN PCALLBACK16 Context,
|
||||
Context->TrampolineFarPtr = MAKELONG(Offset, Segment);
|
||||
Context->Segment = Segment;
|
||||
Context->NextOffset = Offset + max(CALL16_TRAMPOLINE_SIZE,
|
||||
INT16_TRAMPOLINE_SIZE);
|
||||
INT16_TRAMPOLINE_SIZE);
|
||||
}
|
||||
|
||||
VOID
|
||||
@@ -280,11 +278,17 @@ static VOID WINAPI ControlBop(LPWORD Stack)
|
||||
BYTE FuncNum = *(PBYTE)SEG_OFF_TO_PTR(getCS(), getIP());
|
||||
setIP(getIP() + 1);
|
||||
|
||||
if (FuncNum == BOP_CONTROL_INT32)
|
||||
Int32Dispatch(Stack);
|
||||
else
|
||||
// DPRINT1("Unassigned Control BOP Function: 0x%02X\n", FuncNum);
|
||||
DisplayMessage(L"Unassigned Control BOP Function: 0x%02X\n", FuncNum);
|
||||
switch (FuncNum)
|
||||
{
|
||||
case BOP_CONTROL_INT32:
|
||||
Int32Dispatch(Stack);
|
||||
break;
|
||||
|
||||
default:
|
||||
// DPRINT1("Unassigned Control BOP Function: 0x%02X\n", FuncNum);
|
||||
DisplayMessage(L"Unassigned Control BOP Function: 0x%02X", FuncNum);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
VOID InitializeCallbacks(VOID)
|
||||
|
||||
Reference in New Issue
Block a user