From: Hermès Bélusca-Maïto Date: Fri, 27 Dec 2013 19:51:43 +0000 (+0000) Subject: [NTVDM] X-Git-Tag: backups/0.3.17@66124~1365^2~144 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=d944afa5c7cc1e0d3de6afa0e6d892884c85a15f;ds=sidebyside [NTVDM] 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 --- diff --git a/subsystems/ntvdm/bop.c b/subsystems/ntvdm/bop.c index c93bdd1472f..407004290b7 100644 --- a/subsystems/ntvdm/bop.c +++ b/subsystems/ntvdm/bop.c @@ -9,7 +9,7 @@ /* INCLUDES *******************************************************************/ -#define NDEBUG +// #define NDEBUG #include "emulator.h" #include "bop.h" @@ -44,7 +44,7 @@ VOID WINAPI EmulatorBiosOperation(PFAST486_STATE State, UCHAR BopCode) 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 */ diff --git a/subsystems/ntvdm/int32.c b/subsystems/ntvdm/int32.c index 32ba2f48d0a..beb2bdd5d4a 100644 --- a/subsystems/ntvdm/int32.c +++ b/subsystems/ntvdm/int32.c @@ -9,7 +9,7 @@ /* INCLUDES *******************************************************************/ -#define NDEBUG +// #define NDEBUG #include "emulator.h" #include "int32.h" @@ -131,7 +131,7 @@ VOID WINAPI Int32Dispatch(LPWORD Stack) 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) @@ -143,7 +143,7 @@ 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) diff --git a/subsystems/ntvdm/io.c b/subsystems/ntvdm/io.c index 3c6782f379e..f54ddf0a49a 100644 --- a/subsystems/ntvdm/io.c +++ b/subsystems/ntvdm/io.c @@ -9,7 +9,7 @@ /* INCLUDES *******************************************************************/ -#define NDEBUG +// #define NDEBUG #include "emulator.h" #include "io.h" @@ -75,7 +75,7 @@ IOReadB(ULONG Port, 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; } } @@ -121,7 +121,7 @@ IOWriteB(ULONG Port, else { /* Do nothing */ - DPRINT1("Write to unknown port: 0x%X\n", Port); + DPRINT("Write to unknown port: 0x%X\n", Port); } } diff --git a/subsystems/ntvdm/vddsup.c b/subsystems/ntvdm/vddsup.c index b02fc038d89..89424c78664 100644 --- a/subsystems/ntvdm/vddsup.c +++ b/subsystems/ntvdm/vddsup.c @@ -71,7 +71,7 @@ VOID WINAPI ThirdPartyVDDBop(LPWORD Stack) 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); @@ -182,7 +182,7 @@ Quit: 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) @@ -206,7 +206,7 @@ Quit: 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) ||