OSDN Git Service

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 f6c34f1..433e225 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 7f924a7..57cdb2f 100644 (file)
Binary files a/MMDUMP.TXT and b/MMDUMP.TXT differ
index fa3b339..289bba2 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index d6e8114..0fb4619 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