]> 4ch.mooo.com Git - 16.git/commitdiff
pressing exmmtest.exe for multi file test
authorsparky4 <sparky4@cock.li>
Fri, 9 Sep 2016 17:54:31 +0000 (12:54 -0500)
committersparky4 <sparky4@cock.li>
Fri, 9 Sep 2016 17:54:31 +0000 (12:54 -0500)
DEBUG.16W
HEAP.16W
MMDUMP.16W
src/exmmtest.c

index 1fcbed9d35254aa79b3cbc57b20cb4d8c55e6831..f90eb59c396a92e1d13dde3ef5f352246c83f9f7 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
@@ -1,17 +1,17 @@
-\e[0mSeg:0      Size:7817       Owner:0x16bb\r
-\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
+\e[0mSeg:0      Size:8030       Owner:0xbcb3\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
 \e[42;32m0\r
-\e[0m\e[0mSeg:1e89       Size:256        Owner:0x527a\r
+\e[0m\e[0mSeg:1f5e       Size:256        Owner:0x527a\r
 \e[44;34m++++\e[0m\e[47;37m_\e[0m\r
 \e[42;32m\r
-\e[0m\e[0mSeg:1f89       Size:273        Owner:0x92d2\r
-\e[44;34m+++++\e[0m\e[47;37m_\e[0m\r
+\e[0m\e[0mSeg:205e       Size:273        Owner:0x92d2\r
+\e[44;34m++++\e[0m\e[47;37m_\e[0m\r
 \e[42;32m\r
-\e[0m\e[0mSeg:2518       Size:40 Owner:0x0\r
-\e[41;31m++\e[0m\e[47;37m_\e[0m\r
-\e[42;32m0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r
-\e[0m\e[0mSeg:b540       Size:10944      Owner:0x0\r
-\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
+\e[0m\e[0mSeg:25df       Size:40 Owner:0x0\r
+\e[41;31m+\e[0m\e[47;37m_\e[0m\r
+\e[42;32m00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r
+\e[0m\e[0mSeg:b607       Size:10745      Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
 \e[42;32m\r
 \e[0m\e[0mSeg:e000       Size:8191       Owner:0x0\r
 \e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m
\ No newline at end of file
index c8e3fff5596936553d2e2cdd221a21777920272d..1d5295a219e32d45e448a270273f300560f3fcaa 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,45 +1,45 @@
 \r
        == default ==\r
 \r
-  USED block at 253a0016 of size 66\r
-  FREE block at 253a0058 of size 18\r
-  USED block at 253a006a of size 136\r
-  USED block at 253a00f2 of size 20\r
-  FREE block at 253a0106 of size 7926\r
+  USED block at 26010016 of size 66\r
+  FREE block at 26010058 of size 18\r
+  USED block at 2601006a of size 136\r
+  USED block at 260100f2 of size 20\r
+  FREE block at 26010106 of size 7926\r
 OK - end of heap\r
 \r
        == near ==\r
 \r
-  USED block at 15399306 of size 12\r
-  USED block at 15399312 of size 328\r
-  USED block at 1539945a of size 52\r
-  USED block at 1539948e of size 20\r
-  USED block at 153994a2 of size 20\r
-  USED block at 153994b6 of size 20\r
-  USED block at 153994ca of size 20\r
-  USED block at 153994de of size 20\r
-  USED block at 153994f2 of size 27402\r
+  USED block at 16009306 of size 12\r
+  USED block at 16009312 of size 530\r
+  USED block at 16009524 of size 72\r
+  USED block at 1600956c of size 20\r
+  USED block at 16009580 of size 20\r
+  USED block at 16009594 of size 20\r
+  USED block at 160095a8 of size 20\r
+  USED block at 160095bc of size 20\r
+  USED block at 160095d0 of size 27180\r
 OK - end of heap\r
 \r
        == far ==\r
 \r
-  USED block at 253a0016 of size 66\r
-  USED block at 253a0058 of size 18\r
-  USED block at 253a006a of size 136\r
-  USED block at 253a00f2 of size 20\r
-  USED block at 253a0106 of size 7926\r
+  USED block at 26010016 of size 66\r
+  USED block at 26010058 of size 18\r
+  USED block at 2601006a of size 136\r
+  USED block at 260100f2 of size 20\r
+  USED block at 26010106 of size 7926\r
 OK - end of heap\r
 \r
 Memory Type         Total      Used       Free\r
 ----------------  --------   --------   --------\r
 Default                   8166         222       7944\r
-Near              27894        492       27402\r
+Near              27894        714       27180\r
 Far               8166         222       7944\r
 ----------------  --------   --------   --------\r
-coreleft = 27400\r
-farcoreleft = 2422\r
-GetFreeSize = 40578\r
-GetNearFreeSize = 27402\r
-GetFarFreeSize = 40578\r
-memavl = 27400\r
+coreleft = 27178\r
+farcoreleft = 59530\r
+GetFreeSize = 32370\r
+GetNearFreeSize = 27180\r
+GetFarFreeSize = 32370\r
+memavl = 27178\r
 stackavail = 11798\r
index defe079d8988a756af12d9facb9c57c4a74ef70a..7f77808283331490a22ef3ed19cb10f8e99cb497 100755 (executable)
Binary files a/MMDUMP.16W and b/MMDUMP.16W differ
index f3871eadebe45611d53a8c7d4314fbfc4a92037d..06ec5b6161e8517b5e4f33ef98e56c5c2c05eabe 100755 (executable)
@@ -47,17 +47,17 @@ void segatesuto()
        screen = 0xB800;\r
        scrptr = 0;\r
        printf( "Top left character is '%c'.\n", *(screen:>scrptr) );\r
-       printf("Next string is: [");\r
-       while(*scrptr<16)\r
-       {\r
-               printf("%c", *(screen:>scrptr));\r
-               //printf("\b");\r
-               scrptr++;\r
-\r
-       }\r
-       printf("]\n");\r
-       printf("press any key to continue!\n");\r
-       getch();\r
+//     printf("Next string is: [");\r
+//     while(*scrptr<16)\r
+//     {\r
+//             printf("%c", *(screen:>scrptr));\r
+//             //printf("\b");\r
+//             scrptr++;\r
+//\r
+//     }\r
+//     printf("]\n");\r
+//     printf("press any key to continue!\n");\r
+//     getch();\r
 }\r
 #endif\r
 \r
@@ -99,8 +99,8 @@ main(int argc, char *argv[])
        CA_Startup(&gvar);\r
 //     printf("                done!\n");\r
        PRINTBB;\r
-       printf("press any key to continue!\n");\r
-       getch();\r
+//     printf("press any key to continue!\n");\r
+//     getch();\r
 #ifdef FILERL\r
 //     bakapeehandle = open(bakapee,O_RDONLY | O_BINARY, S_IREAD);\r
 //     printf("size of big buffer~=%u\n", _bmsize(segu, bigbuffer));\r
@@ -121,19 +121,15 @@ main(int argc, char *argv[])
        printf("\nsize of big buffer~=%u\n", _bmsize(sega, bigbuffer));\r
 #endif\r
 #endif\r
-       printf("press any key to continue!\n");\r
-       getch();\r
-       printf("\n\ncontents of the buffer\n[\n%s\n]\n", bigbuffer);\r
+       printf("contents of the buffer\n[\n%s\n]\n", bigbuffer);\r
        //printf("dark purple = purgable\n");\r
        //printf("medium blue = non purgable\n");\r
        //printf("red = locked\n");\r
        printf("press any key to continue!\n");\r
        getch();\r
        MM_ShowMemory(&gvar, &gvar.mm);\r
-       //getch();\r
        MM_DumpData(&gvar.mm);\r
        MM_Report(&gvar);\r
-//     printf("                stop!\n");\r
        printf("press any key to continue!\n");\r
        getch();\r
 #ifdef FILERL\r
@@ -142,7 +138,6 @@ main(int argc, char *argv[])
        //PM_Shutdown();\r
        CA_Shutdown(&gvar);\r
        MM_Shutdown(&gvar.mm);\r
-//     printf("                done!\n");\r
 #ifdef FILERL\r
        free(bakapee);\r
        if(baka) printf("\nyay!\n");\r