]> 4ch.mooo.com Git - 16.git/commitdiff
blah!
authorsparky4 <sparky4@cock.li>
Mon, 20 Jul 2015 14:16:44 +0000 (09:16 -0500)
committersparky4 <sparky4@cock.li>
Mon, 20 Jul 2015 14:16:44 +0000 (09:16 -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 f6c34f1a7b0a148530265564557a177966ea3129..433e2253c4820e7047177c926e27dc2e906b7476 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:928        Owner:0x1c58\r
-Seg:3926       Size:990512     Owner:0x7e83\r
-Seg:3907       Size:683920     Owner:0x46c7\r
-Seg:e000       Size:131056     Owner:0xaf5\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
index 7f924a7c889539a565ab67b78f64a3fad5c8eb52..57cdb2f74fbd10b7c02780b7c9ced7218fd5b466 100644 (file)
Binary files a/MMDUMP.TXT and b/MMDUMP.TXT differ
index fa3b33986b89abbd817a720eb70b3546814c01f8..289bba275fdf358cbb9776e822fcf215b81df07f 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index d6e81142b1ae7721ae6756e8aba7d65f1da490c3..0fb4619a64a1c46ea277b4171af351487f398cc8 100644 (file)
@@ -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