From 1d5d18a6c438c7b78af0b91ca29e41747aa0d148 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 21 Feb 2017 15:10:11 -0600 Subject: [PATCH] going to look into why it is doing fuckery --- DEBUG.16B | 252 ++++++++++++++++++++++++------------------------ HEAP.16W | 22 ++--- bcexmm.exe | Bin 108467 -> 108467 bytes bcexmm.prj | Bin 8450 -> 8450 bytes src/lib/16_mm.c | 4 +- 5 files changed, 139 insertions(+), 139 deletions(-) diff --git a/DEBUG.16B b/DEBUG.16B index 30e247d4..a78dbcdf 100755 --- a/DEBUG.16B +++ b/DEBUG.16B @@ -1,210 +1,210 @@ -Seg:0 Size:4864 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0 -Seg:1300 Size:256 Owner:0x2cb7 -++++ -Seg:1400 Size:256 Owner:0x2aba -++++ -Seg:1500 Size:256 Owner:0x2abc -++++ -Seg:1600 Size:256 Owner:0x2abe -++++ -Seg:1700 Size:256 Owner:0x2ac0 -++++ -Seg:1800 Size:256 Owner:0x2ac2 -++++ -Seg:1900 Size:256 Owner:0x2ac4 -++++ -Seg:1a00 Size:256 Owner:0x2ac6 -++++ -Seg:1b00 Size:256 Owner:0x2ac8 -++++ -Seg:1c00 Size:256 Owner:0x2aca -++++ -Seg:1d00 Size:256 Owner:0x2acc -++++ -Seg:1e00 Size:256 Owner:0x2ace -++++ -Seg:1f00 Size:256 Owner:0x2ad0 -++++ -Seg:2000 Size:256 Owner:0x2ad2 -++++ -Seg:2100 Size:256 Owner:0x2ad4 -++++ -Seg:2200 Size:256 Owner:0x2ad6 -++++ -Seg:2300 Size:256 Owner:0x2ad8 -++++ -Seg:2400 Size:256 Owner:0x2ada -++++ -Seg:2500 Size:256 Owner:0x2adc -++++ -Seg:2600 Size:256 Owner:0x2ade -++++ -Seg:2700 Size:256 Owner:0x2ae0 -++++ -Seg:2800 Size:256 Owner:0x2ae2 +Seg:0 Size:2705 Owner:0x0 +++++++++++++++++++++++++++++++++++0 +Seg:a91 Size:256 Owner:0x2cb7 ++++++ +Seg:b91 Size:256 Owner:0x2aba ++++ -Seg:2900 Size:256 Owner:0x2ae4 +Seg:c91 Size:256 Owner:0x2abc ++++ -Seg:2a00 Size:256 Owner:0x2ae6 +Seg:d91 Size:256 Owner:0x2abe ++++ -Seg:2b00 Size:256 Owner:0x2ae8 +Seg:e91 Size:256 Owner:0x2ac0 ++++ -Seg:2c00 Size:256 Owner:0x2aea +Seg:f91 Size:256 Owner:0x2ac2 ++++++ +Seg:1091 Size:256 Owner:0x2ac4 ++++ -Seg:2d00 Size:256 Owner:0x2aec +Seg:1191 Size:256 Owner:0x2ac6 ++++ -Seg:2e00 Size:256 Owner:0x2aee +Seg:1291 Size:256 Owner:0x2ac8 ++++ -Seg:2f00 Size:256 Owner:0x2af0 +Seg:1391 Size:256 Owner:0x2aca ++++ -Seg:3000 Size:256 Owner:0x2af2 +Seg:1491 Size:256 Owner:0x2acc ++++++ +Seg:1591 Size:256 Owner:0x2ace ++++ -Seg:3100 Size:256 Owner:0x2af4 +Seg:1691 Size:256 Owner:0x2ad0 ++++ -Seg:3200 Size:256 Owner:0x2af6 +Seg:1791 Size:256 Owner:0x2ad2 ++++ -Seg:3300 Size:256 Owner:0x2af8 +Seg:1891 Size:256 Owner:0x2ad4 ++++ -Seg:3400 Size:256 Owner:0x2afa +Seg:1991 Size:256 Owner:0x2ad6 ++++++ +Seg:1a91 Size:256 Owner:0x2ad8 ++++ -Seg:3500 Size:256 Owner:0x2afc +Seg:1b91 Size:256 Owner:0x2ada ++++ -Seg:3600 Size:256 Owner:0x2afe +Seg:1c91 Size:256 Owner:0x2adc ++++ -Seg:3700 Size:256 Owner:0x2b00 +Seg:1d91 Size:256 Owner:0x2ade ++++ -Seg:3800 Size:256 Owner:0x2b02 +Seg:1e91 Size:256 Owner:0x2ae0 ++++++ +Seg:1f91 Size:256 Owner:0x2ae2 ++++ -Seg:3900 Size:256 Owner:0x2b04 +Seg:2091 Size:256 Owner:0x2ae4 ++++ -Seg:3a00 Size:256 Owner:0x2b06 +Seg:2191 Size:256 Owner:0x2ae6 ++++ -Seg:3b00 Size:256 Owner:0x2b08 +Seg:2291 Size:256 Owner:0x2ae8 ++++ -Seg:3c00 Size:256 Owner:0x2b0a +Seg:2391 Size:256 Owner:0x2aea ++++++ +Seg:2491 Size:256 Owner:0x2aec ++++ -Seg:3d00 Size:256 Owner:0x2b0c +Seg:2591 Size:256 Owner:0x2aee ++++ -Seg:3e00 Size:256 Owner:0x2b0e +Seg:2691 Size:256 Owner:0x2af0 ++++ -Seg:3f00 Size:256 Owner:0x2b10 +Seg:2791 Size:256 Owner:0x2af2 ++++ -Seg:4000 Size:256 Owner:0x2b12 +Seg:2891 Size:256 Owner:0x2af4 ++++++ +Seg:2991 Size:256 Owner:0x2af6 ++++ -Seg:4100 Size:256 Owner:0x2b14 +Seg:2a91 Size:256 Owner:0x2af8 ++++ -Seg:4200 Size:256 Owner:0x2b16 +Seg:2b91 Size:256 Owner:0x2afa ++++ -Seg:4300 Size:256 Owner:0x2b18 +Seg:2c91 Size:256 Owner:0x2afc ++++ -Seg:4400 Size:256 Owner:0x2b1a +Seg:2d91 Size:256 Owner:0x2afe ++++++ +Seg:2e91 Size:256 Owner:0x2b00 ++++ -Seg:4500 Size:256 Owner:0x2b1c +Seg:2f91 Size:256 Owner:0x2b02 ++++ -Seg:4600 Size:256 Owner:0x2b1e +Seg:3091 Size:256 Owner:0x2b04 ++++ -Seg:4700 Size:256 Owner:0x2b20 +Seg:3191 Size:256 Owner:0x2b06 ++++ -Seg:4800 Size:256 Owner:0x2b22 +Seg:3291 Size:256 Owner:0x2b08 ++++++ +Seg:3391 Size:256 Owner:0x2b0a ++++ -Seg:4900 Size:256 Owner:0x2b24 +Seg:3491 Size:256 Owner:0x2b0c ++++ -Seg:4a00 Size:256 Owner:0x2b26 +Seg:3591 Size:256 Owner:0x2b0e ++++ -Seg:4b00 Size:256 Owner:0x2b28 +Seg:3691 Size:256 Owner:0x2b10 ++++ -Seg:4c00 Size:256 Owner:0x2b2a +Seg:3791 Size:256 Owner:0x2b12 ++++++ +Seg:3891 Size:256 Owner:0x2b14 ++++ -Seg:4d00 Size:256 Owner:0x2b2c +Seg:3991 Size:256 Owner:0x2b16 ++++ -Seg:4e00 Size:256 Owner:0x2b2e +Seg:3a91 Size:256 Owner:0x2b18 ++++ -Seg:4f00 Size:256 Owner:0x2b30 +Seg:3b91 Size:256 Owner:0x2b1a ++++ -Seg:5000 Size:256 Owner:0x2b32 +Seg:3c91 Size:256 Owner:0x2b1c ++++++ +Seg:3d91 Size:256 Owner:0x2b1e ++++ -Seg:5100 Size:256 Owner:0x2b34 +Seg:3e91 Size:256 Owner:0x2b20 ++++ -Seg:5200 Size:256 Owner:0x2b36 +Seg:3f91 Size:256 Owner:0x2b22 ++++ -Seg:5300 Size:256 Owner:0x2b38 +Seg:4091 Size:256 Owner:0x2b24 ++++ -Seg:5400 Size:256 Owner:0x2b3a +Seg:4191 Size:256 Owner:0x2b26 ++++++ +Seg:4291 Size:256 Owner:0x2b28 ++++ -Seg:5500 Size:256 Owner:0x2b3c +Seg:4391 Size:256 Owner:0x2b2a ++++ -Seg:5600 Size:256 Owner:0x2b3e +Seg:4491 Size:256 Owner:0x2b2c ++++ -Seg:5700 Size:256 Owner:0x2b40 +Seg:4591 Size:256 Owner:0x2b2e ++++ -Seg:5800 Size:256 Owner:0x2b42 +Seg:4691 Size:256 Owner:0x2b30 ++++++ +Seg:4791 Size:256 Owner:0x2b32 ++++ -Seg:5900 Size:256 Owner:0x2b44 +Seg:4891 Size:256 Owner:0x2b34 ++++ -Seg:5a00 Size:256 Owner:0x2b46 +Seg:4991 Size:256 Owner:0x2b36 ++++ -Seg:5b00 Size:256 Owner:0x2b48 +Seg:4a91 Size:256 Owner:0x2b38 ++++ -Seg:5c00 Size:256 Owner:0x2b4a +Seg:4b91 Size:256 Owner:0x2b3a ++++++ +Seg:4c91 Size:256 Owner:0x2b3c ++++ -Seg:5d00 Size:256 Owner:0x2b4c +Seg:4d91 Size:256 Owner:0x2b3e ++++ -Seg:5e00 Size:256 Owner:0x2b4e +Seg:4e91 Size:256 Owner:0x2b40 ++++ -Seg:5f00 Size:256 Owner:0x2b50 +Seg:4f91 Size:256 Owner:0x2b42 ++++ -Seg:6000 Size:256 Owner:0x2b52 +Seg:5091 Size:256 Owner:0x2b44 ++++++ +Seg:5191 Size:256 Owner:0x2b46 ++++ -Seg:6100 Size:256 Owner:0x2b54 +Seg:5291 Size:256 Owner:0x2b48 ++++ -Seg:6200 Size:256 Owner:0x2b56 +Seg:5391 Size:256 Owner:0x2b4a ++++ -Seg:6300 Size:256 Owner:0x2b58 +Seg:5491 Size:256 Owner:0x2b4c ++++ -Seg:6400 Size:256 Owner:0x2b5a +Seg:5591 Size:256 Owner:0x2b4e ++++++ +Seg:5691 Size:256 Owner:0x2b50 ++++ -Seg:6500 Size:256 Owner:0x2b5c +Seg:5791 Size:256 Owner:0x2b52 ++++ -Seg:6600 Size:256 Owner:0x2b5e +Seg:5891 Size:256 Owner:0x2b54 ++++ -Seg:6700 Size:256 Owner:0x2b60 +Seg:5991 Size:256 Owner:0x2b56 ++++ -Seg:6800 Size:256 Owner:0x2b62 +Seg:5a91 Size:256 Owner:0x2b58 ++++++ +Seg:5b91 Size:256 Owner:0x2b5a ++++ -Seg:6900 Size:256 Owner:0x2b64 +Seg:5c91 Size:256 Owner:0x2b5c ++++ -Seg:6a00 Size:256 Owner:0x2b66 +Seg:5d91 Size:256 Owner:0x2b5e ++++ -Seg:6b00 Size:256 Owner:0x2b68 +Seg:5e91 Size:256 Owner:0x2b60 ++++ -Seg:6c00 Size:256 Owner:0x2b6a +Seg:5f91 Size:256 Owner:0x2b62 ++++++ +Seg:6091 Size:256 Owner:0x2b64 ++++ -Seg:6d00 Size:256 Owner:0x2b6c +Seg:6191 Size:256 Owner:0x2b66 ++++ -Seg:6e00 Size:256 Owner:0x2b6e +Seg:6291 Size:256 Owner:0x2b68 ++++ -Seg:6f00 Size:256 Owner:0x2b70 +Seg:6391 Size:256 Owner:0x2b6a ++++ -Seg:7000 Size:256 Owner:0x2b72 +Seg:6491 Size:256 Owner:0x2b6c ++++++ +Seg:6591 Size:256 Owner:0x2b6e ++++ -Seg:7100 Size:256 Owner:0x2b74 +Seg:6691 Size:256 Owner:0x2b70 ++++ -Seg:7200 Size:256 Owner:0x2b76 +Seg:6791 Size:256 Owner:0x2b72 ++++ -Seg:7300 Size:256 Owner:0x2b78 +Seg:6891 Size:256 Owner:0x2b74 ++++ -Seg:7400 Size:256 Owner:0x2b7a +Seg:6991 Size:256 Owner:0x2b76 ++++++ +Seg:6a91 Size:256 Owner:0x2b78 ++++ -Seg:7500 Size:256 Owner:0x2b7c +Seg:6b91 Size:256 Owner:0x2b7a ++++ -Seg:7600 Size:256 Owner:0x2b7e +Seg:6c91 Size:256 Owner:0x2b7c ++++ -Seg:7700 Size:256 Owner:0x2b80 +Seg:6d91 Size:256 Owner:0x2b7e ++++ -Seg:7800 Size:273 Owner:0x2a92 +Seg:6e91 Size:256 Owner:0x2b80 ++++++ +Seg:6f91 Size:273 Owner:0x2a92 ++++ -Seg:9fde Size:32802 Owner:0x0 +Seg:9790 Size:34928 Owner:0x0  Seg:9ffe Size:24577 Owner:0x0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file diff --git a/HEAP.16W b/HEAP.16W index 2124017e..0765b1b6 100755 --- a/HEAP.16W +++ b/HEAP.16W @@ -4,9 +4,9 @@ USED block at 24140016 of size 66 USED block at 24140058 of size 66 FREE block at 2414009a of size 18 - USED block at 241400ac of size 514 - USED block at 241402ae of size 20 - FREE block at 241402c2 of size 7482 + USED block at 241400ac of size 136 + USED block at 24140134 of size 20 + FREE block at 24140148 of size 7860 OK - end of heap == near == @@ -27,21 +27,21 @@ OK - end of heap USED block at 24140016 of size 66 USED block at 24140058 of size 66 USED block at 2414009a of size 18 - USED block at 241400ac of size 514 - USED block at 241402ae of size 20 - USED block at 241402c2 of size 7482 + USED block at 241400ac of size 136 + USED block at 24140134 of size 20 + USED block at 24140148 of size 7860 OK - end of heap Memory Type Total Used Free ---------------- -------- -------- -------- -Default 8166 666 7500 +Default 8166 288 7878 Near 4902 496 4406 -Far 8166 666 7500 +Far 8166 288 7878 ---------------- -------- -------- -------- coreleft = 4404 -farcoreleft = 44518 -GetFreeSize = 40134 +farcoreleft = 44896 +GetFreeSize = 40512 GetNearFreeSize = 4406 -GetFarFreeSize = 40134 +GetFarFreeSize = 40512 memavl = 4404 stackavail = 31606 diff --git a/bcexmm.exe b/bcexmm.exe index 82619291690e8decca6d6ab1ab3be599f10b5048..a2beb2d6fd28e39ff1eb7f618974b391b20b2ced 100755 GIT binary patch delta 81 zcmdmdo^A7awhax%Og(X%n~Hgr*-fnsOs$MfH&2_kcbZO9MW|OO6NoGXla*ky1x(HX Tle?ML0cEcO+1u-N8BMAH1rHv# delta 81 zcmdmdo^A7awhax%Or2qyn~Hgr*-fkrjI0bTH&2_kcbZN~N{Ck|6NoGXla)*-aznjZ Z!0b6-ayOG;eyG<~Cac8l^}38ERRHA=9Wej^ diff --git a/bcexmm.prj b/bcexmm.prj index 294ea009b19c3600baff181437d4ef8602edd7e7..fdba4c92eeed8c7240fcfcdc733b65b931672393 100755 GIT binary patch delta 1112 zcmZp2YI538!@;zE`V|+ZFVhqjVeSP(u8Tio@fx-YBE=XZ8Sw}*O1?0}j3x!35 zRT%WaW$~uK!OREcL)U>gOtZQaOfd9*x3>2U@wyx73LWoMXNC6N=2 z9+;THNPZORNJW7I24Vu--)iV~qDBHJLO}kQY#=QTj&m<*OFod6|NntLbOTFGl$J06 z3BkM?;u;(h;2093=fQv;1Ytf|x~KASONi{}0L^U^iZr z5v@mdBQX7V`eAV(Fpe->9pV~+%`YL2o-p6Qy$(s17$(GfIO}<^LR>OYT2vNOL5Pd1 f8`S2_b7WhX^wAva;p*su>9Y6$U#Q?@e}&Be)w5>} delta 1112 zcmbW0PfG$p7{=f1pFt#Ln(S(StwWmDCCE-{*1Bm$&Q_FQW~V4Js7pkG^aWzBL3HXC zfrq|=ouXssj(vz}<{g!7Es8GB%g*l1`+J^uwj3+R9xv>+B9PA8UxA;FPZ;blgjC-L6*A@5x;#S^LQzlFHosFa0LrInccn zfGStU0Kf|~2!i&Q0LZMzv#De(J2RV0r$cdYSUwUNI4n#w=uz6l8ohJ&JN*#GGbK8#fFGuydSu9%=^f~{6X?0;aK{2(8?HIVe~z$vM1#sU z1|v^s_@1!#{5k|N5aEMPs{=T5U7hO@TNvXG7xC4#>X{Zxb*m(iA!|`WLK;{j*htkD z>6mm.nearheap = _nmalloc(length)); + start = (void __near *)(gvar->mm.nearheap = _nmalloc(length)); #endif #ifdef __BORLANDC__ length=coreleft(); - start = (void far *)(gvar->mm.nearheap = malloc(length)); + start = (void near *)(gvar->mm.nearheap = malloc(length)); #endif length -= 16-(FP_OFF(start)&15); length -= SAVENEARHEAP; -- 2.39.5