]> 4ch.mooo.com Git - 16.git/commitdiff
bleh!
authorsparky4 <sparky4@cock.li>
Mon, 20 Jul 2015 14:23:31 +0000 (09:23 -0500)
committersparky4 <sparky4@cock.li>
Mon, 20 Jul 2015 14:23:31 +0000 (09:23 -0500)
modified:   DEBUG.TXT
modified:   MMDUMP.TXT
modified:   exmmtest.exe
modified:   src/lib/16_mm.c

DEBUG.TXT
MMDUMP.TXT
exmmtest.exe
src/lib/16_mm.c

index 433e2253c4820e7047177c926e27dc2e906b7476..668127027ef99362067d609c5b8047915c6608cd 100644 (file)
--- a/DEBUG.TXT
+++ b/DEBUG.TXT
@@ -1,6 +1,6 @@
-Seg:0  Size:176000     Owner:0x8b04\r
-Seg:2af8       Size:4096       Owner:0xfb20\r
-Seg:2bf8       Size:31344      Owner:0x1c58\r
-Seg:3927       Size:990512     Owner:0x7e83\r
-Seg:3909       Size:683888     Owner:0x46c7\r
-Seg:e000       Size:131056     Owner:0x1be\r
+Seg:0  Size:176032     Owner:0x874\r
+Seg:2afa       Size:4096       Owner:0xfb20\r
+Seg:2bfa       Size:4048       Owner:0x1c58\r
+Seg:3928       Size:990512     Owner:0x90f8\r
+Seg:3909       Size:683888     Owner:0x5617\r
+Seg:e000       Size:131056     Owner:0xaf7\r
index 57cdb2f74fbd10b7c02780b7c9ced7218fd5b466..436f8ed079d598b6a6273b43ce9a76c579c520d7 100644 (file)
Binary files a/MMDUMP.TXT and b/MMDUMP.TXT differ
index 289bba275fdf358cbb9776e822fcf215b81df07f..6f85475cd087545e116f0693ca69fa8a40d14531 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 0fb4619a64a1c46ea277b4171af351487f398cc8..229f44d0551a4aba7c7bd0f125cb39674820bd12 100644 (file)
@@ -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:");