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
This commit is contained in:
Hermès Bélusca-Maïto 2013-12-27 19:51:43 +00:00
parent cc98f9be4f
commit d944afa5c7
4 changed files with 11 additions and 11 deletions

View file

@ -9,7 +9,7 @@
/* INCLUDES *******************************************************************/ /* INCLUDES *******************************************************************/
#define NDEBUG // #define NDEBUG
#include "emulator.h" #include "emulator.h"
#include "bop.h" #include "bop.h"
@ -44,7 +44,7 @@ VOID WINAPI EmulatorBiosOperation(PFAST486_STATE State, UCHAR BopCode)
if (BopProc[BopCode] != NULL) if (BopProc[BopCode] != NULL)
BopProc[BopCode](Stack); BopProc[BopCode](Stack);
else else
DPRINT1("Invalid BOP code: 0x%02X\n", BopCode); DPRINT("Invalid BOP code: 0x%02X\n", BopCode);
} }
/* EOF */ /* EOF */

View file

@ -9,7 +9,7 @@
/* INCLUDES *******************************************************************/ /* INCLUDES *******************************************************************/
#define NDEBUG // #define NDEBUG
#include "emulator.h" #include "emulator.h"
#include "int32.h" #include "int32.h"
@ -131,7 +131,7 @@ VOID WINAPI Int32Dispatch(LPWORD Stack)
if (Int32Proc[IntNum] != NULL) if (Int32Proc[IntNum] != NULL)
Int32Proc[IntNum](Stack); Int32Proc[IntNum](Stack);
else 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) VOID WINAPI ControlBop(LPWORD Stack)
@ -143,7 +143,7 @@ VOID WINAPI ControlBop(LPWORD Stack)
if (FuncNum == BOP_CONTROL_INT32) if (FuncNum == BOP_CONTROL_INT32)
Int32Dispatch(Stack); Int32Dispatch(Stack);
else else
DPRINT1("Unassigned Control BOP Function: 0x%02X\n", FuncNum); DPRINT("Unassigned Control BOP Function: 0x%02X\n", FuncNum);
} }
VOID InitializeInt32(WORD BiosSegment) VOID InitializeInt32(WORD BiosSegment)

View file

@ -9,7 +9,7 @@
/* INCLUDES *******************************************************************/ /* INCLUDES *******************************************************************/
#define NDEBUG // #define NDEBUG
#include "emulator.h" #include "emulator.h"
#include "io.h" #include "io.h"
@ -75,7 +75,7 @@ IOReadB(ULONG Port,
else else
{ {
/* Return an empty port byte value */ /* 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; *Buffer = 0xFF;
} }
} }
@ -121,7 +121,7 @@ IOWriteB(ULONG Port,
else else
{ {
/* Do nothing */ /* Do nothing */
DPRINT1("Write to unknown port: 0x%X\n", Port); DPRINT("Write to unknown port: 0x%X\n", Port);
} }
} }

View file

@ -71,7 +71,7 @@ VOID WINAPI ThirdPartyVDDBop(LPWORD Stack)
VDD_PROC InitRoutine = NULL, VDD_PROC InitRoutine = NULL,
DispatchRoutine = NULL; DispatchRoutine = NULL;
DPRINT1("RegisterModule() called\n"); DPRINT("RegisterModule() called\n");
/* Clear the Carry Flag (no error happened so far) */ /* Clear the Carry Flag (no error happened so far) */
setCF(0); setCF(0);
@ -182,7 +182,7 @@ Quit:
WORD Handle = getAX(); WORD Handle = getAX();
WORD Entry = HANDLE_TO_ENTRY(Handle); // Convert the handle to a valid entry WORD Entry = HANDLE_TO_ENTRY(Handle); // Convert the handle to a valid entry
DPRINT1("UnRegisterModule() called\n"); DPRINT("UnRegisterModule() called\n");
/* Sanity checks */ /* Sanity checks */
if (!IS_VALID_HANDLE(Handle) || VDDList[Entry].hDll == NULL) if (!IS_VALID_HANDLE(Handle) || VDDList[Entry].hDll == NULL)
@ -206,7 +206,7 @@ Quit:
WORD Handle = getAX(); WORD Handle = getAX();
WORD Entry = HANDLE_TO_ENTRY(Handle); // Convert the handle to a valid entry WORD Entry = HANDLE_TO_ENTRY(Handle); // Convert the handle to a valid entry
DPRINT1("DispatchCall() called\n"); DPRINT("DispatchCall() called\n");
/* Sanity checks */ /* Sanity checks */
if (!IS_VALID_HANDLE(Handle) || if (!IS_VALID_HANDLE(Handle) ||