[NTVDM]: Display more detailed information about which unknown interruption was called.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 11 Nov 2013 17:05:02 +0000 (17:05 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 11 Nov 2013 17:05:02 +0000 (17:05 +0000)
svn path=/branches/ntvdm/; revision=60943

subsystems/ntvdm/int32.c

index 5372097..9ac5812 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "bop.h"
 #include "bios.h"
 
 #include "bop.h"
 #include "bios.h"
+#include "registers.h"
 
 /* PRIVATE VARIABLES **********************************************************/
 
 
 /* PRIVATE VARIABLES **********************************************************/
 
@@ -123,7 +124,7 @@ VOID WINAPI Int32Dispatch(LPWORD Stack)
     if (Int32Proc[IntNum] != NULL)
         Int32Proc[IntNum](Stack);
     else
     if (Int32Proc[IntNum] != NULL)
         Int32Proc[IntNum](Stack);
     else
-        DPRINT1("Unhandled 32-bit interrupt: 0x%02X\n", IntNum);
+        DPRINT1("Unhandled 32-bit interrupt: 0x%02X, AX = 0x%04X\n", IntNum, getAX());
 }
 
 VOID WINAPI InitializeInt32(WORD BiosSegment)
 }
 
 VOID WINAPI InitializeInt32(WORD BiosSegment)