Author: hbelusca Date: Fri Dec 27 19:51:43 2013 New Revision: 61451
URL: http://svn.reactos.org/svn/reactos?rev=61451&view=rev Log: [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).
Modified: branches/ntvdm/subsystems/ntvdm/bop.c branches/ntvdm/subsystems/ntvdm/int32.c branches/ntvdm/subsystems/ntvdm/io.c branches/ntvdm/subsystems/ntvdm/vddsup.c
Modified: branches/ntvdm/subsystems/ntvdm/bop.c URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/bop.c?rev... ============================================================================== --- branches/ntvdm/subsystems/ntvdm/bop.c [iso-8859-1] (original) +++ branches/ntvdm/subsystems/ntvdm/bop.c [iso-8859-1] Fri Dec 27 19:51:43 2013 @@ -9,7 +9,7 @@
/* INCLUDES *******************************************************************/
-#define NDEBUG +// #define NDEBUG
#include "emulator.h" #include "bop.h" @@ -44,7 +44,7 @@ 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 */
Modified: branches/ntvdm/subsystems/ntvdm/int32.c URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/int32.c?r... ============================================================================== --- branches/ntvdm/subsystems/ntvdm/int32.c [iso-8859-1] (original) +++ branches/ntvdm/subsystems/ntvdm/int32.c [iso-8859-1] Fri Dec 27 19:51:43 2013 @@ -9,7 +9,7 @@
/* INCLUDES *******************************************************************/
-#define NDEBUG +// #define NDEBUG
#include "emulator.h" #include "int32.h" @@ -131,7 +131,7 @@ 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 @@ 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)
Modified: branches/ntvdm/subsystems/ntvdm/io.c URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/io.c?rev=... ============================================================================== --- branches/ntvdm/subsystems/ntvdm/io.c [iso-8859-1] (original) +++ branches/ntvdm/subsystems/ntvdm/io.c [iso-8859-1] Fri Dec 27 19:51:43 2013 @@ -9,7 +9,7 @@
/* INCLUDES *******************************************************************/
-#define NDEBUG +// #define NDEBUG
#include "emulator.h" #include "io.h" @@ -75,7 +75,7 @@ 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 @@ else { /* Do nothing */ - DPRINT1("Write to unknown port: 0x%X\n", Port); + DPRINT("Write to unknown port: 0x%X\n", Port); } }
Modified: branches/ntvdm/subsystems/ntvdm/vddsup.c URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/vddsup.c?... ============================================================================== --- branches/ntvdm/subsystems/ntvdm/vddsup.c [iso-8859-1] (original) +++ branches/ntvdm/subsystems/ntvdm/vddsup.c [iso-8859-1] Fri Dec 27 19:51:43 2013 @@ -71,7 +71,7 @@ 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 @@ 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 @@ 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) ||