From: sparky4 Date: Sat, 27 Jun 2015 17:47:09 +0000 (-0500) Subject: mm testing~ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=e08323c46a92650aca3baae9ea1df977c15efa2e;p=16.git mm testing~ Signed-off-by: sparky4 --- diff --git a/exmmtest.exe b/exmmtest.exe index 14e650d8..87716ed3 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/exmmtest.c b/src/exmmtest.c index 861cea1b..587fbd5b 100644 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -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"); diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 47b7c846..79bb851e 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -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 //==========================================================================