From d89b4d35446e64b0b8fd7c8fdcff32bcd0845e32 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 5 Aug 2015 00:13:47 -0500 Subject: [PATCH] ==== HOLY MOTHER FUCKER ==== I FIXED THIS SHIT!!!!!! NOW TO MAXIMIZE IT'S DONG!!! WWWW modified: 16/exmmtest/EXMMTEST.EXE modified: 16/exmmtest/EXMMTEST.MAP modified: 16/exmmtest/EXMMTEST.PRJ modified: 16/exmmtest/HEAP.16 modified: 16/exmmtest/src/exmmtest.c modified: 16/exmmtest/src/lib/16_mm.h new file: DEBUG.16 modified: HEAP.16 new file: MMDUMP.16 new file: PROFILE.16 modified: exmmtest.exe modified: src/exmmtest.c modified: src/lib/16_mm.h --- 16/exmmtest/EXMMTEST.EXE | Bin 47219 -> 47283 bytes 16/exmmtest/EXMMTEST.MAP | 1350 +++++++++++++++++------------------ 16/exmmtest/EXMMTEST.PRJ | Bin 7085 -> 7085 bytes 16/exmmtest/HEAP.16 | 30 +- 16/exmmtest/src/exmmtest.c | 4 +- 16/exmmtest/src/lib/16_mm.h | 4 +- DEBUG.16 | 8 + HEAP.16 | 30 +- MMDUMP.16 | Bin 0 -> 136 bytes PROFILE.16 | 0 exmmtest.exe | Bin 43320 -> 43320 bytes src/exmmtest.c | 4 +- src/lib/16_mm.h | 4 +- 13 files changed, 724 insertions(+), 710 deletions(-) create mode 100644 DEBUG.16 create mode 100644 MMDUMP.16 create mode 100644 PROFILE.16 diff --git a/16/exmmtest/EXMMTEST.EXE b/16/exmmtest/EXMMTEST.EXE index 189c078599a32d64ceb8f7274fdf3a22ca8386bf..06f9d7e025e9d10dbcb016ebbd2cfda32d993b8e 100644 GIT binary patch delta 10242 zcmb`Nd3+Pq_xI18jna0KW@eIxCQY+7Nt05b6=+%7%F-fh0WB0{Uqm()*##n0#8URL z2r8?rf(RBcLWKeq5K*8k0)l`Fgte4Kwo0FKL-G6l{hsH~Cw+bHyze=8n>%N2ZZ6!r z!xUFC+73PLKw}WV3INs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3 zfn%LxzvGbOu;ZRX>x^~AIh#6@oV}g>omtLt&Y8|a=N#uw=PBnc=N;!$XN}YDa=RM1 z5?#$*{amlOCc0+0esNuQ-F9i*es_X;TUQ&ugA+&v;LfXQ5|>=ZL4mbJla-bH#JRQ|Y;wOuh*O4 zP4c$%cJiisdwQpN-}lb-F7e|2$-BvW#QVfcd|IE$7v;12l6@U~J$yrafqA}9d~1B0 zeI>r_zP&zUoI5Ttt~w4BjS{BFidAtaZsq^&ACCPdf0W>7XXw0|4SCEbK_wE zk^e!$!9mV3KAui7hGy};zIx6K3=9$sieROJAfq_NQdALUAnWD^o598KC>LzfPx# delta 533 zcmZ2$zSew04F}UohRt;xk2#p99blQ9BACfM14v&G%w(N)fW_T%vYk*m^IV|F3ZYEq zg+N+FIFofLP=;-DldviyM;8ODyDUQ&!{qfMN=!iNvWS~KNK6ta#_BErCjbAJELi8p z!vG@xgM@>FoMU`Eonj2l;(dMfoEaDxBp4LIN(Dhiaf+p=BFsS6%?&n#i{Vi&*rdr1 zMWy&aDrHbKn;1~QjFv{pqvNTandN}$0N*#Sd3~5 z)Nv4#TqAsaLtKMHAeJCZ4~YzL4ThS|kK{;L0DuD)6o{KyC6pLl(H!RC>gWR0jP4f? qXY7Jt53;&XE)*1*+#neYil?iRRzPaApp*h53&?PwoY-V<=_CMv%8+;f diff --git a/16/exmmtest/HEAP.16 b/16/exmmtest/HEAP.16 index 6af4024e..81a386d3 100644 --- a/16/exmmtest/HEAP.16 +++ b/16/exmmtest/HEAP.16 @@ -1,9 +1,11 @@ == default == - USED block at 1d240016 of size 136 - USED block at 1d24009e of size 8032 - FREE block at 1d241ffe of size 8190 + USED block at 1d280016 of size 136 + USED block at 1d28009e of size 66 + FREE block at 1d2800e0 of size 7966 + USED block at 1d281ffe of size 20 + FREE block at 1d282012 of size 8170 OK - end of heap == near == @@ -24,18 +26,20 @@ OK - end of heap USED block at 0 of size 0 USED block at 0 of size 0 USED block at 0 of size 0 + USED block at 0 of size 0 + USED block at 0 of size 0 OK - end of heap Memory Type Total Used Free ---------------- -------- -------- -------- -Default 16358 8168 8190 -Near 31302 31302 0 -Far 16358 8168 8190 +Default 16358 222 16136 +Near 31318 880 30438 +Far 16358 222 16136 ---------------- -------- -------- -------- -coreleft = 0 -farcoreleft = 65340 -GetFreeSize = 65358 -GetNearFreeSize = 0 -GetFarFreeSize = 65358 -memavl = 0 -stackavail = 17047 +coreleft = 30434 +farcoreleft = 38182 +GetFreeSize = 7768 +GetNearFreeSize = 30438 +GetFarFreeSize = 7768 +memavl = 30434 +stackavail = 17108 diff --git a/16/exmmtest/src/exmmtest.c b/16/exmmtest/src/exmmtest.c index 870a6c6b..0c65a477 100644 --- a/16/exmmtest/src/exmmtest.c +++ b/16/exmmtest/src/exmmtest.c @@ -104,10 +104,10 @@ main(int argc, char *argv[]) // if(CA_FarRead(bakapeehandle,(void far *)&bigbuffer,sizeof(bigbuffer),&mm)) #ifdef FILEREAD printf(" read\n"); - if(CA_ReadFile(&bakapee, &bigbuffer, &mm)) + if(CA_ReadFile(bakapee, &bigbuffer, &mm)) #else printf(" load\n"); - if(CA_LoadFile(&bakapee, &bigbuffer, &mm, &mmi)) + if(CA_LoadFile(bakapee, &bigbuffer, &mm, &mmi)) #endif baka=1; else diff --git a/16/exmmtest/src/lib/16_mm.h b/16/exmmtest/src/lib/16_mm.h index 77d49faa..7e43b271 100644 --- a/16/exmmtest/src/lib/16_mm.h +++ b/16/exmmtest/src/lib/16_mm.h @@ -36,9 +36,9 @@ #endif //#define GETNEWBLOCK {if(!(mmnew=mmfree))Quit("MM_GETNEWBLOCK: No free blocks!") ;mmfree=mmfree->next;} -#define GETNEWBLOCK {if(!mm->mmfree)MML_ClearBlock(mm);mm->mmnew=mm->mmfree;mm->mmfree=mm->mmfree->next;} +#define GETNEWBLOCK {if(!mm->mmfree)MML_ClearBlock(mm);mm->mmnew=mm->mmfree;mm->mmfree=mm->mmfree->next;mm->endid++;} -#define FREEBLOCK(x) {*x->useptr=NULL;x->next=mm->mmfree;mm->mmfree=x;} +#define FREEBLOCK(x) {*x->useptr=NULL;x->next=mm->mmfree;mm->mmfree=x;mm->endid--;} #define SAVENEARHEAP 0//_memavl()/4 // space to leave in data segment diff --git a/DEBUG.16 b/DEBUG.16 new file mode 100644 index 00000000..23f1a584 --- /dev/null +++ b/DEBUG.16 @@ -0,0 +1,8 @@ +0 Size:5561 Owner:0x5 +0 Size:5561 Owner:0x5 +15b9 Size:256 Owner:0x4cde +Seg:16b9 Size:273 Owner:0x857a +Seg:1d25 Size:17 Owner:0x4d66 +Seg:1d25 Size:17 Owner:0x4d66 +1f26 Size:49370 Owner:0x4d3e +Seg:e000 Size:4294909951 Owner:0x4d52 diff --git a/HEAP.16 b/HEAP.16 index a83e13f3..21ecf2f8 100644 --- a/HEAP.16 +++ b/HEAP.16 @@ -1,10 +1,11 @@ == default == - USED block at 1d260016 of size 136 - USED block at 1d26009e of size 66 - USED block at 1d2600e0 of size 7966 - FREE block at 1d261ffe of size 8190 + USED block at 1d270016 of size 136 + USED block at 1d27009e of size 66 + FREE block at 1d2700e0 of size 7966 + USED block at 1d271ffe of size 20 + FREE block at 1d272012 of size 8170 OK - end of heap == near == @@ -26,18 +27,19 @@ OK - end of heap USED block at 0 of size 0 USED block at 0 of size 0 USED block at 0 of size 0 + USED block at 0 of size 0 OK - end of heap Memory Type Total Used Free ---------------- -------- -------- -------- -Default 16358 8168 8190 -Near 31318 31318 0 -Far 16358 8168 8190 +Default 16358 222 16136 +Near 31318 868 30450 +Far 16358 222 16136 ---------------- -------- -------- -------- -coreleft = 0 -farcoreleft = 65340 -GetFreeSize = 65358 -GetNearFreeSize = 0 -GetFarFreeSize = 65358 -memavl = 0 -stackavail = 17047 +coreleft = 30446 +farcoreleft = 38194 +GetFreeSize = 7768 +GetNearFreeSize = 30450 +GetFarFreeSize = 7768 +memavl = 30446 +stackavail = 17114 diff --git a/MMDUMP.16 b/MMDUMP.16 new file mode 100644 index 0000000000000000000000000000000000000000..ad9a3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qcqU^4SUU%zQM|N=F(#8j-7v}^lfYD?u!~~v!?CYBGCkE%Lh8i Y?K#|`jc$be-g@ezXo((XKkv=|KWp&$UjP6A diff --git a/src/exmmtest.c b/src/exmmtest.c index 870a6c6b..0c65a477 100644 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -104,10 +104,10 @@ main(int argc, char *argv[]) // if(CA_FarRead(bakapeehandle,(void far *)&bigbuffer,sizeof(bigbuffer),&mm)) #ifdef FILEREAD printf(" read\n"); - if(CA_ReadFile(&bakapee, &bigbuffer, &mm)) + if(CA_ReadFile(bakapee, &bigbuffer, &mm)) #else printf(" load\n"); - if(CA_LoadFile(&bakapee, &bigbuffer, &mm, &mmi)) + if(CA_LoadFile(bakapee, &bigbuffer, &mm, &mmi)) #endif baka=1; else diff --git a/src/lib/16_mm.h b/src/lib/16_mm.h index 77d49faa..7e43b271 100644 --- a/src/lib/16_mm.h +++ b/src/lib/16_mm.h @@ -36,9 +36,9 @@ #endif //#define GETNEWBLOCK {if(!(mmnew=mmfree))Quit("MM_GETNEWBLOCK: No free blocks!") ;mmfree=mmfree->next;} -#define GETNEWBLOCK {if(!mm->mmfree)MML_ClearBlock(mm);mm->mmnew=mm->mmfree;mm->mmfree=mm->mmfree->next;} +#define GETNEWBLOCK {if(!mm->mmfree)MML_ClearBlock(mm);mm->mmnew=mm->mmfree;mm->mmfree=mm->mmfree->next;mm->endid++;} -#define FREEBLOCK(x) {*x->useptr=NULL;x->next=mm->mmfree;mm->mmfree=x;} +#define FREEBLOCK(x) {*x->useptr=NULL;x->next=mm->mmfree;mm->mmfree=x;mm->endid--;} #define SAVENEARHEAP 0//_memavl()/4 // space to leave in data segment -- 2.39.5