From: sparky4 Date: Mon, 20 Jul 2015 17:37:43 +0000 (-0500) Subject: ASS!! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=019e5275fa20374f0dbef06caa32d948840e2b0b;p=16.git ASS!! modified: exmmtest.exe modified: src/lib/16_mm.c modified: src/lib/16_mm.h --- diff --git a/exmmtest.exe b/exmmtest.exe index 37842048..451eba72 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index a021f2b6..1e6c33c2 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -143,7 +143,7 @@ unsigned MML_SetupEMS(mminfo_t *mm) union REGS CPURegs; unsigned int EMSVer = 0; - byte EMS_status; + //byte EMS_status; unsigned totalEMSpages,freeEMSpages,EMSpageframe,EMSpagesmapped,EMShandle; totalEMSpages = freeEMSpages = EMSpageframe = EMSpagesmapped = 0; @@ -152,7 +152,7 @@ unsigned MML_SetupEMS(mminfo_t *mm) mov ah,EMS_STATUS int EMS_INT // make sure EMS hardware is present or ah,ah - mov [EMS_status],ah + //mov [EMS_status],ah jnz error mov ah,EMS_VERSION @@ -863,7 +863,7 @@ void MM_FreePtr(memptr *baseptr, mminfo_t *mm) if(!scan) { - printf("MM_FreePtr: Block not found!"); + printf("MM_FreePtr: Block not found!\n"); return; } @@ -1194,7 +1194,7 @@ void MM_DumpData(mminfo_t *mm) free (mm->nearheap); dumpfile = fopen ("mmdump.txt","w"); if (!dumpfile){ - printf("MM_DumpData: Couldn't open MMDUMP.TXT!"); + printf("MM_DumpData: Couldn't open MMDUMP.TXT!\n"); return; } @@ -1235,7 +1235,7 @@ void MM_DumpData(mminfo_t *mm) } while (lowest != 0xffff); fclose (dumpfile); - printf("MMDUMP.TXT created."); + printf("MMDUMP.TXT created.\n"); } //========================================================================== diff --git a/src/lib/16_mm.h b/src/lib/16_mm.h index 70075287..93e0663e 100644 --- a/src/lib/16_mm.h +++ b/src/lib/16_mm.h @@ -44,6 +44,7 @@ #define MAXBLOCKS 600 + //-------- #define EMS_INT 0x67 @@ -134,7 +135,7 @@ typedef struct boolean mmstarted, bombonerror, mmerror; void huge *farheap; void *nearheap; - byte EMS_status; + //byte EMS_status; unsigned totalEMSpages,freeEMSpages,EMSpageframe,EMSpagesmapped,EMShandle; unsigned int EMSVer; word numUMBs,UMBbase[MAXUMBS];