Shut up few DPRINT1s, and demote some DPRINT1s to DPRINTs but disable NDEBUG for now (enable it and you'll shut up the DPRINTs).
svn path=/branches/ntvdm/; revision=61451
/* INCLUDES *******************************************************************/
-#define NDEBUG
+// #define NDEBUG
#include "emulator.h"
#include "bop.h"
if (BopProc[BopCode] != NULL)
BopProc[BopCode](Stack);
else
- DPRINT1("Invalid BOP code: 0x%02X\n", BopCode);
+ DPRINT("Invalid BOP code: 0x%02X\n", BopCode);
}
/* EOF */
/* INCLUDES *******************************************************************/
-#define NDEBUG
+// #define NDEBUG
#include "emulator.h"
#include "int32.h"
if (Int32Proc[IntNum] != NULL)
Int32Proc[IntNum](Stack);
else
- DPRINT1("Unhandled 32-bit interrupt: 0x%02X, AX = 0x%04X\n", IntNum, getAX());
+ DPRINT("Unhandled 32-bit interrupt: 0x%02X, AX = 0x%04X\n", IntNum, getAX());
}
VOID WINAPI ControlBop(LPWORD Stack)
if (FuncNum == BOP_CONTROL_INT32)
Int32Dispatch(Stack);
else
- DPRINT1("Unassigned Control BOP Function: 0x%02X\n", FuncNum);
+ DPRINT("Unassigned Control BOP Function: 0x%02X\n", FuncNum);
}
VOID InitializeInt32(WORD BiosSegment)
/* INCLUDES *******************************************************************/
-#define NDEBUG
+// #define NDEBUG
#include "emulator.h"
#include "io.h"
else
{
/* Return an empty port byte value */
- DPRINT1("Read from unknown port: 0x%X\n", Port);
+ DPRINT("Read from unknown port: 0x%X\n", Port);
*Buffer = 0xFF;
}
}
else
{
/* Do nothing */
- DPRINT1("Write to unknown port: 0x%X\n", Port);
+ DPRINT("Write to unknown port: 0x%X\n", Port);
}
}
VDD_PROC InitRoutine = NULL,
DispatchRoutine = NULL;
- DPRINT1("RegisterModule() called\n");
+ DPRINT("RegisterModule() called\n");
/* Clear the Carry Flag (no error happened so far) */
setCF(0);
WORD Handle = getAX();
WORD Entry = HANDLE_TO_ENTRY(Handle); // Convert the handle to a valid entry
- DPRINT1("UnRegisterModule() called\n");
+ DPRINT("UnRegisterModule() called\n");
/* Sanity checks */
if (!IS_VALID_HANDLE(Handle) || VDDList[Entry].hDll == NULL)
WORD Handle = getAX();
WORD Entry = HANDLE_TO_ENTRY(Handle); // Convert the handle to a valid entry
- DPRINT1("DispatchCall() called\n");
+ DPRINT("DispatchCall() called\n");
/* Sanity checks */
if (!IS_VALID_HANDLE(Handle) ||