OSDN Git Service

mm testing~
authorsparky4 <sparky4@cock.li>
Sat, 27 Jun 2015 17:47:09 +0000 (12:47 -0500)
committersparky4 <sparky4@cock.li>
Sat, 27 Jun 2015 17:47:09 +0000 (12:47 -0500)
Signed-off-by: sparky4 <sparky4@cock.li>
exmmtest.exe
src/exmmtest.c
src/lib/16_mm.c

index 14e650d..87716ed 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 861cea1..587fbd5 100644 (file)
@@ -30,6 +30,7 @@ main(int argc, char *argv[])
        printf("start!\n");
        MM_Startup();
        printf("done!\n");
+       MM_ShowMemory();
        printf("stop!\n");
        MM_Shutdown();
        printf("done!\n");
index 47b7c84..79bb851 100644 (file)
@@ -997,8 +997,7 @@ void MM_SortMem (void)
 
 //==========================================================================
 
-//****
-#if 0
+//****#if 0
 /*
 =====================
 =
@@ -1016,8 +1015,8 @@ void MM_ShowMemory (void)
 
 //**** VW_SetDefaultColors();
 //**** VW_SetLineWidth(40);
-       temp = bufferofs;
-       bufferofs = 0;
+//++++mh       temp = bufferofs;
+//++++mh       bufferofs = 0;
 //**** VW_SetScreen (0,0);
 
        scan = mmhead;
@@ -1065,10 +1064,9 @@ printf("%s\n", scratch);
 
 //++++mh       IN_Ack();
 //**** VW_SetLineWidth(64);
-       bufferofs = temp;
+//++++mh       bufferofs = temp;
 }
-//****
-#endif
+//****#endif
 
 //==========================================================================