From ffffc7e5f5db9d3aad39eef01e196fe278f64a69 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 4 Aug 2015 03:28:56 -0500 Subject: [PATCH] deleted: DEBUG.16 modified: HEAP.16 deleted: MMDUMP.16 modified: exmmtest.exe modified: src/lib/16_mm.c modified: tsthimem.exe --- DEBUG.16 | 8 ----- HEAP.16 | 88 +++++++++++++++++++++++------------------------- MMDUMP.16 | Bin 44 -> 0 bytes exmmtest.exe | Bin 43880 -> 43880 bytes src/lib/16_mm.c | 2 +- tsthimem.exe | Bin 21846 -> 21846 bytes 6 files changed, 44 insertions(+), 54 deletions(-) delete mode 100644 DEBUG.16 delete mode 100644 MMDUMP.16 diff --git a/DEBUG.16 b/DEBUG.16 deleted file mode 100644 index 0c96f9ce..00000000 --- a/DEBUG.16 +++ /dev/null @@ -1,8 +0,0 @@ -0 Size:5165 Owner:0x0 -0 Size:5165 Owner:0x0 -142d Size:256 Owner:0x4cfe -Seg:152d Size:273 Owner:0x859a -Seg:1bb4 Size:17 Owner:0x0 -Seg:1bb4 Size:17 Owner:0x0 -1db5 Size:49739 Owner:0x4cfe -Seg:e000 Size:4294909951 Owner:0x0 diff --git a/HEAP.16 b/HEAP.16 index edf552a8..d77c76bf 100644 --- a/HEAP.16 +++ b/HEAP.16 @@ -1,45 +1,43 @@ - - == default == - - USED block at 1bb60016 of size 136 - USED block at 1bb6009e of size 66 - FREE block at 1bb600e0 of size 7966 - USED block at 1bb61ffe of size 20 - FREE block at 1bb62012 of size 8170 -OK - end of heap - - == near == - - 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 - 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 - - == far == - - 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 222 16136 -Near 31286 436 30850 -Far 16358 222 16136 ----------------- -------- -------- -------- -coreleft = 30848 -farcoreleft = 46788 -GetFreeSize = 15960 -GetNearFreeSize = 30850 -GetFarFreeSize = 15960 -memavl = 30848 -stackavail = 17131 + + == default == + + USED block at 1d470016 of size 136 + USED block at 1d47009e of size 66 + USED block at 1d4700e0 of size 7966 + FREE block at 1d471ffe of size 8190 +OK - end of heap + + == near == + + 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 + 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 + + == far == + + 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 31286 31286 0 +Far 16358 8168 8190 +---------------- -------- -------- -------- +coreleft = 0 +farcoreleft = 65340 +GetFreeSize = 65358 +GetNearFreeSize = 0 +GetFarFreeSize = 65358 +memavl = 0 +stackavail = 17041 diff --git a/MMDUMP.16 b/MMDUMP.16 deleted file mode 100644 index 307f53b1c7232703eb2f40cd8e256c9331f3a44f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 44 ocmXr0FfcGmu`)?cOI6U&WzbZxRWRV?GJuF$m|7+RMFpXv0Nu?9?*IS* diff --git a/exmmtest.exe b/exmmtest.exe index f21d78761fc07db166173f1303ce113d36752a63..651e72093eb7ffc561f183af4cf8f31412f8a936 100644 GIT binary patch delta 92 zcmV-i0Hgot)&l6(0xe-hR0Cf21*395W4^W{~kyL3&3>`fcvm@60{Ki9!Rs;H;{8r5+n@( delta 92 zcmV-i0Hgot)&l6(0`fcvm@60{Ki9!#^?H;{8sek2_L diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 80087d96..ba0b8bfe 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -518,7 +518,7 @@ void MML_UseSpace(/*d*/word segstart, dword seglength, mminfo_t *mm) } //find out how many blocks it spans! - if((word)seglength>0xffffu) + if(seglength>0xffffu) { // segm=seglength/0x4000u; segm=(word)seglength/0xffffu; diff --git a/tsthimem.exe b/tsthimem.exe index 8a00b50cab11b0320893fc840817776e74a28ef4..282bd13ede9bc83446ee5e8bbb9a2071df50eeb4 100644 GIT binary patch delta 70 zcmcb%it*Yi#tlINJo-7AN%|@I#UN^PoWLX|Mw87Sg%&Ui7bPQ0rRL`9B~R`bv)Ft` OOvZ+B^X8vHu}lD24dB -- 2.39.5