Author: hbelusca
Date: Sun Mar  2 23:37:42 2014
New Revision: 62407

URL: http://svn.reactos.org/svn/reactos?rev=62407&view=rev
Log:
[NTVDM]: Improve some DPRINTs.

Modified:
    branches/ntvdm/subsystems/ntvdm/dos/dem.c

Modified: branches/ntvdm/subsystems/ntvdm/dos/dem.c
URL: 
http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/dos/dem.c?rev=62407&r1=62406&r2=62407&view=diff
==============================================================================
--- branches/ntvdm/subsystems/ntvdm/dos/dem.c   [iso-8859-1] (original)
+++ branches/ntvdm/subsystems/ntvdm/dos/dem.c   [iso-8859-1] Sun Mar  2 
23:37:42 2014
@@ -66,7 +66,12 @@
                                        REAL_TO_PHYS(TO_LINEAR(getDI(), 
0x0000)),
                                        ulDosKernelSize,
                                        &ulDosKernelSize);
-            DPRINT1("DOS loading %s ; GetLastError() = %u\n", Success ? 
"succeeded" : "failed", GetLastError());
+
+            DPRINT1("Windows NT DOS loading %s at 0x%04X:0x%04X, size 0x%x ; 
GetLastError() = %u\n",
+                    (Success ? "succeeded" : "failed"),
+                    getDI(), 0x0000,
+                    ulDosKernelSize,
+                    GetLastError());
 
             /* Close the DOS kernel file */
             FileClose(hDosKernel);
@@ -203,7 +208,12 @@
                                    REAL_TO_PHYS(TO_LINEAR(0x0070, 0x0000)),
                                    ulDosBiosSize,
                                    &ulDosBiosSize);
-        DPRINT1("DOS BIOS loading %s ; GetLastError() = %u\n", Success ? 
"succeeded" : "failed", GetLastError());
+
+        DPRINT1("DOS BIOS loading %s at 0x%04X:0x%04X, size 0x%x ; 
GetLastError() = %u\n",
+                (Success ? "succeeded" : "failed"),
+                0x0070, 0x0000,
+                ulDosBiosSize,
+                GetLastError());
 
         /* Close the DOS BIOS file */
         FileClose(hDosBios);


Reply via email to