]> 4ch.mooo.com Git - 16.git/commitdiff
ASS!!
authorsparky4 <sparky4@cock.li>
Mon, 20 Jul 2015 17:37:43 +0000 (12:37 -0500)
committersparky4 <sparky4@cock.li>
Mon, 20 Jul 2015 17:37:43 +0000 (12:37 -0500)
modified:   exmmtest.exe
modified:   src/lib/16_mm.c
modified:   src/lib/16_mm.h

exmmtest.exe
src/lib/16_mm.c
src/lib/16_mm.h

index 37842048508d983763778fbc99f62992999515fc..451eba72c6192153759dc9d32ad863cbf123ce1f 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index a021f2b6ed479eb17b904c3ae9c5d320185812fa..1e6c33c24aafe9b808f75e608e0a5ea64cd55c92 100644 (file)
@@ -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");
 }
 
 //==========================================================================
index 7007528785d1d569eef17d60fe5638253fa5fffb..93e0663e2fc3ca10d9bec04860e493989a06903e 100644 (file)
@@ -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];