From 3eb1b68b7bd48c3da4b1342933b41e0c5adc911a Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 9 Sep 2016 12:54:31 -0500 Subject: [PATCH] pressing exmmtest.exe for multi file test --- DEBUG.16W | 20 +++++++++---------- HEAP.16W | 52 ++++++++++++++++++++++++------------------------- MMDUMP.16W | Bin 66 -> 66 bytes src/exmmtest.c | 33 +++++++++++++------------------ 4 files changed, 50 insertions(+), 55 deletions(-) diff --git a/DEBUG.16W b/DEBUG.16W index 1fcbed9d..f90eb59c 100755 --- a/DEBUG.16W +++ b/DEBUG.16W @@ -1,17 +1,17 @@ -Seg:0 Size:7817 Owner:0x16bb -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ +Seg:0 Size:8030 Owner:0xbcb3 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ 0 -Seg:1e89 Size:256 Owner:0x527a +Seg:1f5e Size:256 Owner:0x527a ++++_  -Seg:1f89 Size:273 Owner:0x92d2 -+++++_ +Seg:205e Size:273 Owner:0x92d2 +++++_  -Seg:2518 Size:40 Owner:0x0 -++_ -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -Seg:b540 Size:10944 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ +Seg:25df Size:40 Owner:0x0 ++_ +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +Seg:b607 Size:10745 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_  Seg:e000 Size:8191 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ \ No newline at end of file diff --git a/HEAP.16W b/HEAP.16W index c8e3fff5..1d5295a2 100755 --- a/HEAP.16W +++ b/HEAP.16W @@ -1,45 +1,45 @@ == default == - USED block at 253a0016 of size 66 - FREE block at 253a0058 of size 18 - USED block at 253a006a of size 136 - USED block at 253a00f2 of size 20 - FREE block at 253a0106 of size 7926 + USED block at 26010016 of size 66 + FREE block at 26010058 of size 18 + USED block at 2601006a of size 136 + USED block at 260100f2 of size 20 + FREE block at 26010106 of size 7926 OK - end of heap == near == - USED block at 15399306 of size 12 - USED block at 15399312 of size 328 - USED block at 1539945a of size 52 - USED block at 1539948e of size 20 - USED block at 153994a2 of size 20 - USED block at 153994b6 of size 20 - USED block at 153994ca of size 20 - USED block at 153994de of size 20 - USED block at 153994f2 of size 27402 + USED block at 16009306 of size 12 + USED block at 16009312 of size 530 + USED block at 16009524 of size 72 + USED block at 1600956c of size 20 + USED block at 16009580 of size 20 + USED block at 16009594 of size 20 + USED block at 160095a8 of size 20 + USED block at 160095bc of size 20 + USED block at 160095d0 of size 27180 OK - end of heap == far == - USED block at 253a0016 of size 66 - USED block at 253a0058 of size 18 - USED block at 253a006a of size 136 - USED block at 253a00f2 of size 20 - USED block at 253a0106 of size 7926 + USED block at 26010016 of size 66 + USED block at 26010058 of size 18 + USED block at 2601006a of size 136 + USED block at 260100f2 of size 20 + USED block at 26010106 of size 7926 OK - end of heap Memory Type Total Used Free ---------------- -------- -------- -------- Default 8166 222 7944 -Near 27894 492 27402 +Near 27894 714 27180 Far 8166 222 7944 ---------------- -------- -------- -------- -coreleft = 27400 -farcoreleft = 2422 -GetFreeSize = 40578 -GetNearFreeSize = 27402 -GetFarFreeSize = 40578 -memavl = 27400 +coreleft = 27178 +farcoreleft = 59530 +GetFreeSize = 32370 +GetNearFreeSize = 27180 +GetFarFreeSize = 32370 +memavl = 27178 stackavail = 11798 diff --git a/MMDUMP.16W b/MMDUMP.16W index defe079d8988a756af12d9facb9c57c4a74ef70a..7f77808283331490a22ef3ed19cb10f8e99cb497 100755 GIT binary patch delta 28 jcmZ>Ankc3tW>8^ZV3KT=l$>O&prIS5sbH&Mz{>>yW~K&V delta 27 icmZ>A5;LeUFfd8BGBis{Qqa)t)KsulFyQ5ypaTF}t_DT` diff --git a/src/exmmtest.c b/src/exmmtest.c index f3871ead..06ec5b61 100755 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -47,17 +47,17 @@ void segatesuto() screen = 0xB800; scrptr = 0; printf( "Top left character is '%c'.\n", *(screen:>scrptr) ); - printf("Next string is: ["); - while(*scrptr<16) - { - printf("%c", *(screen:>scrptr)); - //printf("\b"); - scrptr++; - - } - printf("]\n"); - printf("press any key to continue!\n"); - getch(); +// printf("Next string is: ["); +// while(*scrptr<16) +// { +// printf("%c", *(screen:>scrptr)); +// //printf("\b"); +// scrptr++; +// +// } +// printf("]\n"); +// printf("press any key to continue!\n"); +// getch(); } #endif @@ -99,8 +99,8 @@ main(int argc, char *argv[]) CA_Startup(&gvar); // printf(" done!\n"); PRINTBB; - printf("press any key to continue!\n"); - getch(); +// printf("press any key to continue!\n"); +// getch(); #ifdef FILERL // bakapeehandle = open(bakapee,O_RDONLY | O_BINARY, S_IREAD); // printf("size of big buffer~=%u\n", _bmsize(segu, bigbuffer)); @@ -121,19 +121,15 @@ main(int argc, char *argv[]) printf("\nsize of big buffer~=%u\n", _bmsize(sega, bigbuffer)); #endif #endif - printf("press any key to continue!\n"); - getch(); - printf("\n\ncontents of the buffer\n[\n%s\n]\n", bigbuffer); + printf("contents of the buffer\n[\n%s\n]\n", bigbuffer); //printf("dark purple = purgable\n"); //printf("medium blue = non purgable\n"); //printf("red = locked\n"); printf("press any key to continue!\n"); getch(); MM_ShowMemory(&gvar, &gvar.mm); - //getch(); MM_DumpData(&gvar.mm); MM_Report(&gvar); -// printf(" stop!\n"); printf("press any key to continue!\n"); getch(); #ifdef FILERL @@ -142,7 +138,6 @@ main(int argc, char *argv[]) //PM_Shutdown(); CA_Shutdown(&gvar); MM_Shutdown(&gvar.mm); -// printf(" done!\n"); #ifdef FILERL free(bakapee); if(baka) printf("\nyay!\n"); -- 2.39.2