From f38fd95b9cc9c2db053632c6c6f3381fb72aa40b Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 16 Sep 2015 11:26:48 -0500 Subject: [PATCH] I actually stablized exmmtest.exe it needs testings!! new file: DEBUG.16W new file: HEAP.16W new file: MMDUMP.16W new file: PROFILE.16W modified: exmmtest.exe modified: src/exmmtest.c --- DEBUG.16W | 2 ++ HEAP.16W | 43 +++++++++++++++++++++++++++++++++++++++++++ MMDUMP.16W | Bin 0 -> 50 bytes PROFILE.16W | 0 exmmtest.exe | Bin 41186 -> 41154 bytes src/exmmtest.c | 14 +++++++------- 6 files changed, 52 insertions(+), 7 deletions(-) create mode 100755 DEBUG.16W create mode 100755 HEAP.16W create mode 100755 MMDUMP.16W create mode 100755 PROFILE.16W diff --git a/DEBUG.16W b/DEBUG.16W new file mode 100755 index 00000000..0afc813a --- /dev/null +++ b/DEBUG.16W @@ -0,0 +1,2 @@ +Seg:0 Size:0 Owner:0x0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ \ No newline at end of file diff --git a/HEAP.16W b/HEAP.16W new file mode 100755 index 00000000..ed643485 --- /dev/null +++ b/HEAP.16W @@ -0,0 +1,43 @@ + + == default == + + USED block at 1cd30016 of size 66 + FREE block at 1cd30058 of size 18 + USED block at 1cd3006a of size 136 + FREE block at 1cd300f2 of size 7946 +OK - end of heap + + == near == + + USED block at cd2f206 of size 32 + USED block at cd2f226 of size 712 + USED block at cd2f4ee of size 92 + USED block at cd2f54a of size 20 + USED block at cd2f55e of size 20 + USED block at cd2f572 of size 20 + USED block at cd2f586 of size 20 + USED block at cd2f59a of size 20 + USED block at cd2f5ae of size 2638 +OK - end of heap + + == far == + + USED block at 1cd30016 of size 66 + USED block at 1cd30058 of size 18 + USED block at 1cd3006a of size 136 + USED block at 1cd300f2 of size 7946 +OK - end of heap + +Memory Type Total Used Free +---------------- -------- -------- -------- +Default 8166 202 7964 +Near 3574 904 2670 +Far 8166 202 7964 +---------------- -------- -------- -------- +coreleft = 2666 +farcoreleft = 10434 +GetFreeSize = 7788 +GetNearFreeSize = 2670 +GetFarFreeSize = 7788 +memavl = 2666 +stackavail = 42837 diff --git a/MMDUMP.16W b/MMDUMP.16W new file mode 100755 index 0000000000000000000000000000000000000000..35be90620bcf9c885b7488723ee15c4a660a8e4e GIT binary patch literal 50 qcmXr0FfcGmu`)0*OIFa(WzbZxRWLTPFy!SjfJmenrhp^_5fT6o#tIz( literal 0 HcmV?d00001 diff --git a/PROFILE.16W b/PROFILE.16W new file mode 100755 index 00000000..e69de29b diff --git a/exmmtest.exe b/exmmtest.exe index 29f837d43693bf9ac24eacb90eaeab1d50a67c8d..f4076b21003eec3c6c0b43efc030fe7c19552d9f 100755 GIT binary patch delta 6057 zcmZ{o30PD|w#Tb(H>=R1V!H#fE4w0y$flhp;z9!oxPeB+XreJl)5fTvgd{h&Y1E2w zjq?$lB$|vmwn;h?5y3qwX!0hAc`-U@E@B+xLX0}}{Oh)6^5%Qf-}kG&bxxggs!lC; zxpq`&JSvn;p3z9M$d669|a_IiLu<0c7B>B4j0453FFQnvhUXt|g?bS3g1mK`hXNZ~7C`31$u< z_LO!R}ZihfUxDi9hnh}H)k0gYF&p`ud2D9S`F@bVWi**z=fe>v5AuB-p zBtk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vMUYbf diff --git a/src/exmmtest.c b/src/exmmtest.c index 69a7228e..09ecaa74 100755 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -41,17 +41,17 @@ global_game_variables_t gvar; mminfo_t mm; mminfotype mmi; -#ifdef __WATCOMC__ -__segment sega; -void __based(sega)* bigbuffer; -#endif -#ifdef __BORLANDC__ -memptr bigbuffer; -#endif void main(int argc, char *argv[]) { +#ifdef __WATCOMC__ + __segment sega; + void __based(sega)* bigbuffer; +#endif +#ifdef __BORLANDC__ + memptr bigbuffer; +#endif #ifdef FILERL //static byte bakapee[64]; char *bakapee; -- 2.39.5