From: sparky4 Date: Mon, 20 Jul 2015 14:16:44 +0000 (-0500) Subject: blah! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=9a7642b733ee466d776d090419d1a2909627930b;p=16.git blah! modified: DEBUG.TXT modified: MMDUMP.TXT modified: exmmtest.exe modified: src/lib/16_mm.c --- diff --git a/DEBUG.TXT b/DEBUG.TXT index f6c34f1a..433e2253 100644 --- a/DEBUG.TXT +++ b/DEBUG.TXT @@ -1,6 +1,6 @@ Seg:0 Size:176000 Owner:0x8b04 Seg:2af8 Size:4096 Owner:0xfb20 -Seg:2bf8 Size:928 Owner:0x1c58 -Seg:3926 Size:990512 Owner:0x7e83 -Seg:3907 Size:683920 Owner:0x46c7 -Seg:e000 Size:131056 Owner:0xaf5 +Seg:2bf8 Size:31344 Owner:0x1c58 +Seg:3927 Size:990512 Owner:0x7e83 +Seg:3909 Size:683888 Owner:0x46c7 +Seg:e000 Size:131056 Owner:0x1be diff --git a/MMDUMP.TXT b/MMDUMP.TXT index 7f924a7c..57cdb2f7 100644 Binary files a/MMDUMP.TXT and b/MMDUMP.TXT differ diff --git a/exmmtest.exe b/exmmtest.exe index fa3b3398..289bba27 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 d6e81142..0fb4619a 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -1075,10 +1075,10 @@ void MM_SortMem(mminfo_t *mm) void MM_ShowMemory(page_t *page, mminfo_t *mm) { mmblocktype huge *scan; - unsigned color,temp; + word color,temp; long end,owner; word chx,chy; - char scratch[160],str[16]; + byte scratch[160],str[16]; //**** VW_SetDefaultColors(); //**** VW_SetLineWidth(40); @@ -1112,15 +1112,24 @@ CA_OpenDebug (); } end = scan->start+scan->length-1; //modexhlin(page, scan->start, (unsigned)end, chy, color); - modexClearRegion(page, scan->start, (unsigned)end, 4, 4, color); + //for(chx=scan->start;chx+4>=(word)end;chx+=4) + //{ + chx=scan->start; + modexClearRegion(page, chx, chy, 4, 4, color); + //} + //++++ VW_Hlin(scan->start,(unsigned)end,0,color); //++++ VW_Plot(scan->start,0,15); //modexprint(page, scan->start, chy, 1, 47, 0, ((byte *)scan->start)); - modexClearRegion(page, scan->start, chy, 4, 4, 15); + modexClearRegion(page, scan->start, 0, 4, 4, 15); if(scan->next->start > end+1) //++++ VW_Hlin(end+1,scan->next->start,0,0); // black = free - modexClearRegion(page, scan->next->start, end+1, 4, 4, 2); + //for(chx=scan->next->start;chx+4>=(word)end+1;chx+=4) + //{ + chx=scan->next->start; + modexClearRegion(page, chx, chy, 4, 4, 2); + //} //modexhlin(page, end+1,scan->next->start, chy, 0); //****#if 0