Author: aandrejevic
Date: Sun Nov 10 01:19:50 2013
New Revision: 60911

URL: http://svn.reactos.org/svn/reactos?rev=60911&view=rev
Log:
[NTVDM]
Fix the jump instruction offset. Spotted by Hermes Belusca-Maito.


Modified:
    branches/ntvdm/subsystems/ntvdm/int32.c

Modified: branches/ntvdm/subsystems/ntvdm/int32.c
URL: 
http://svn.reactos.org/svn/reactos/branches/ntvdm/subsystems/ntvdm/int32.c?rev=60911&r1=60910&r2=60911&view=diff
==============================================================================
--- branches/ntvdm/subsystems/ntvdm/int32.c     [iso-8859-1] (original)
+++ branches/ntvdm/subsystems/ntvdm/int32.c     [iso-8859-1] Sun Nov 10 
01:19:50 2013
@@ -155,8 +155,8 @@
         BiosCode[Offset++] = EMULATOR_CTRL_BOP;     // Control BOP
         BiosCode[Offset++] = CTRL_BOP_INT32;        // 32-bit Interrupt 
dispatcher
 
-        BiosCode[Offset++] = 0x73; // jnc EXIT (offset +3)
-        BiosCode[Offset++] = 0x03;
+        BiosCode[Offset++] = 0x73; // jnc EXIT (offset +4)
+        BiosCode[Offset++] = 0x04;
 
         BiosCode[Offset++] = 0xFB; // sti
 


Reply via email to