From: sparky4 Date: Tue, 11 Aug 2015 17:31:11 +0000 (-0500) Subject: wwww fixed up the debug dump and still working on improveing the debug memory stuff X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=2150a9b940cd5993d0593f357049657577cc702e;p=16.git wwww fixed up the debug dump and still working on improveing the debug memory stuff deleted: 16_CA.BCO deleted: 16_HC.BCO deleted: 16_HEAD.BCO deleted: 16_MM.BCO modified: DEBUG.16 deleted: EXMMBC.BCO modified: HEAP.16 deleted: KITTEN.BCO modified: exmmtest.exe modified: src/lib/16_mm.c modified: tsthimem.exe --- diff --git a/16_CA.BCO b/16_CA.BCO deleted file mode 100644 index 45dacb92..00000000 Binary files a/16_CA.BCO and /dev/null differ diff --git a/16_HC.BCO b/16_HC.BCO deleted file mode 100644 index 4c7dc4c4..00000000 Binary files a/16_HC.BCO and /dev/null differ diff --git a/16_HEAD.BCO b/16_HEAD.BCO deleted file mode 100644 index 44147980..00000000 Binary files a/16_HEAD.BCO and /dev/null differ diff --git a/16_MM.BCO b/16_MM.BCO deleted file mode 100644 index 0e197056..00000000 Binary files a/16_MM.BCO and /dev/null differ diff --git a/DEBUG.16 b/DEBUG.16 index 843fc6fe..eb29f127 100644 --- a/DEBUG.16 +++ b/DEBUG.16 @@ -1,17 +1,17 @@ -Seg:0 Size:5533 Owner:0x0 -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ -0 -Seg:159d Size:256 Owner:0x351c +Seg:0 Size:5188 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ +0 +Seg:1444 Size:256 Owner:0x351c ++++++_ + +Seg:1544 Size:273 Owner:0x858c ++++_ - -Seg:169d Size:273 Owner:0x858c -++++_ - -Seg:1cec Size:40 Owner:0x0 + +Seg:1bab Size:40 Owner:0x0 ++_ -000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -Seg:ad14 Size:13036 Owner:0x0 -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ - -Seg:e000 Size:8191 Owner:0x0 -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ +0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +Seg:abd3 Size:13357 Owner:0x0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ + +Seg:e000 Size:8191 Owner:0x0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ \ No newline at end of file diff --git a/EXMMBC.BCO b/EXMMBC.BCO deleted file mode 100644 index 5a6c7b0f..00000000 Binary files a/EXMMBC.BCO and /dev/null differ diff --git a/HEAP.16 b/HEAP.16 index 8b79abd6..35e303cf 100644 --- a/HEAP.16 +++ b/HEAP.16 @@ -1,11 +1,11 @@ == default == - USED block at 1d0e0016 of size 66 - FREE block at 1d0e0058 of size 18 - USED block at 1d0e006a of size 136 - USED block at 1d0e00f2 of size 20 - FREE block at 1d0e0106 of size 7926 + USED block at 1bcd0016 of size 66 + FREE block at 1bcd0058 of size 18 + USED block at 1bcd006a of size 136 + USED block at 1bcd00f2 of size 20 + FREE block at 1bcd0106 of size 7926 OK - end of heap == near == @@ -33,13 +33,13 @@ OK - end of heap Memory Type Total Used Free ---------------- -------- -------- -------- Default 8166 222 7944 -Near 31302 834 30468 +Near 31302 454 30848 Far 8166 222 7944 ---------------- -------- -------- -------- -coreleft = 30466 -farcoreleft = 38214 -GetFreeSize = 7768 -GetNearFreeSize = 30468 -GetFarFreeSize = 7768 -memavl = 30466 -stackavail = 11029 +coreleft = 30846 +farcoreleft = 46786 +GetFreeSize = 15960 +GetNearFreeSize = 30848 +GetFarFreeSize = 15960 +memavl = 30846 +stackavail = 11031 diff --git a/KITTEN.BCO b/KITTEN.BCO deleted file mode 100644 index a098a2a3..00000000 Binary files a/KITTEN.BCO and /dev/null differ diff --git a/exmmtest.exe b/exmmtest.exe index 46f3f845..c39d88f7 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 5dbeaa00..11897608 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -1351,9 +1351,10 @@ void MM_ShowMemory(global_game_variables_t *gvar,/*page_t *page, */mminfo_t *mm) //printf("0 %x %u %lu\n", scan->next->start, w, scan->length); strcat(scratch0,"0"); } - //printf("==================\n"); - //printf("w=%x start=%x next=%x end=%u %lu\n", w, scan->start, (scan->next->start), end+1, wwww); - //printf("==================\n"); + printf("==================\n"); + printf("w=%x start=%x next=%x end=%u %lu\n", w, scan->start, (scan->next->start), end+1, wwww); + printf("==================\n"); + strcat(scratch0, "\n"); }/*else {//if(scan->next->start <= scan->start){ scan->next->start=scan->start+0x1000; wwww=(dword)(scan->next->start)-(dword)scan->start; @@ -1371,7 +1372,7 @@ void MM_ShowMemory(global_game_variables_t *gvar,/*page_t *page, */mminfo_t *mm) // getch(); }*/ strcat(scratch0, AARESET); - strcat(scratch0,"\n"); + //strcat(scratch0,"\n"); //for(chx=scan->next->start;chx+4>=(word)end+1;chx+=4) //{ // chx+=scan->next->start; diff --git a/tsthimem.exe b/tsthimem.exe index 282bd13e..8a00b50c 100644 Binary files a/tsthimem.exe and b/tsthimem.exe differ