Author: hbelusca Date: Sun Sep 13 01:18:50 2015 New Revision: 69211
URL: http://svn.reactos.org/svn/reactos?rev=69211&view=rev Log: [COMMAND] - Fix the GCC macro for structure declaration, so that referencing an offset to the structure doesn't fail anymore (ie. doing "mov dx, offset MyStruct" doesn't assemble to "mov dx, 0x100"). This fixes NTVDM not being able to start any DOS app. Reported by Aleksander Rechitskiy. CORE-9677 CORE-9679 #resolve CORE-9678
[NTVDM] - Fix newline in DPRINT.
Modified: trunk/reactos/subsystems/mvdm/dos/asmxtras.inc trunk/reactos/subsystems/mvdm/ntvdm/dos/dem.c
Modified: trunk/reactos/subsystems/mvdm/dos/asmxtras.inc URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/dos/asmxtra... ============================================================================== --- trunk/reactos/subsystems/mvdm/dos/asmxtras.inc [iso-8859-1] (original) +++ trunk/reactos/subsystems/mvdm/dos/asmxtras.inc [iso-8859-1] Sun Sep 13 01:18:50 2015 @@ -72,7 +72,7 @@ #define ENDS(...) ENDM
#define VAR_STRUCT(name, struct) \ - struct name + name: struct name
#define FIELD(name, field) \ name##_##field
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dem.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/d... ============================================================================== --- trunk/reactos/subsystems/mvdm/ntvdm/dos/dem.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dem.c [iso-8859-1] Sun Sep 13 01:18:50 2015 @@ -601,7 +601,7 @@ { RemoveComSpecInfo(ComSpecInfo); #endif - DPRINT1("Exit DOS from ExitCode (prologue)!"); + DPRINT1("Exit DOS from ExitCode (prologue)!\n"); setCF(0); goto Quit; #ifndef STANDALONE