From: sparky4 Date: Mon, 20 Jul 2015 14:23:31 +0000 (-0500) Subject: bleh! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=7e2906d6f11fc7f6b39c62139cc93312f96fa094;p=16.git bleh! modified: DEBUG.TXT modified: MMDUMP.TXT modified: exmmtest.exe modified: src/lib/16_mm.c --- diff --git a/DEBUG.TXT b/DEBUG.TXT index 433e2253..66812702 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:31344 Owner:0x1c58 -Seg:3927 Size:990512 Owner:0x7e83 -Seg:3909 Size:683888 Owner:0x46c7 -Seg:e000 Size:131056 Owner:0x1be +Seg:0 Size:176032 Owner:0x874 +Seg:2afa Size:4096 Owner:0xfb20 +Seg:2bfa Size:4048 Owner:0x1c58 +Seg:3928 Size:990512 Owner:0x90f8 +Seg:3909 Size:683888 Owner:0x5617 +Seg:e000 Size:131056 Owner:0xaf7 diff --git a/MMDUMP.TXT b/MMDUMP.TXT index 57cdb2f7..436f8ed0 100644 Binary files a/MMDUMP.TXT and b/MMDUMP.TXT differ diff --git a/exmmtest.exe b/exmmtest.exe index 289bba27..6f85475c 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 0fb4619a..229f44d0 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -1111,27 +1111,38 @@ CA_OpenDebug (); return; } end = scan->start+scan->length-1; + chy = scan->start/320; + chx = scan->start%320; //modexhlin(page, scan->start, (unsigned)end, chy, 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, 0, 4, 4, 15); + modexClearRegion(page, chx, chy, 4, 4, 15); if(scan->next->start > end+1) //++++ VW_Hlin(end+1,scan->next->start,0,0); // black = free //for(chx=scan->next->start;chx+4>=(word)end+1;chx+=4) //{ - chx=scan->next->start; + chx+=scan->next->start; modexClearRegion(page, chx, chy, 4, 4, 2); //} //modexhlin(page, end+1,scan->next->start, chy, 0); +/* + end = scan->length-1; + y = scan->start/320; + x = scan->start%320; + VW_Hlin(x,x+end,y,color); + VW_Plot(x,y,15); + if (scan->next && scan->next->start > end+1) + VW_Hlin(x+end+1,x+(scan->next->start-scan->start),y,0); // black = free + +*/ + //****#if 0 printf("\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); //bug! strcpy(scratch,"Seg:");