From: sparky4 Date: Wed, 28 Jun 2017 15:32:53 +0000 (-0500) Subject: added some stuff i got tired of adding w X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=043957acf3e84d4074a4d6142ff8b16e153e1a1d;p=16.git added some stuff i got tired of adding w --- diff --git a/DEBUG.16W b/DEBUG.16W index 7ef64269..0e2616a4 100755 --- a/DEBUG.16W +++ b/DEBUG.16W @@ -1,209 +1,209 @@ -Seg:0 Size:8025 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:1f59 Size:256 Owner:0x5ddc +Seg:0 Size:7861 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:1eb5 Size:256 Owner:0x5ddc 0 -Seg:2059 Size:256 Owner:0x1c12 +Seg:1fb5 Size:256 Owner:0x1c12 0 -Seg:2159 Size:256 Owner:0x1c14 +Seg:20b5 Size:256 Owner:0x1c14 0 -Seg:2289 Size:76 Owner:0x0 +Seg:21e5 Size:76 Owner:0x0 0 -Seg:22d5 Size:256 Owner:0x1c16 +Seg:2231 Size:256 Owner:0x1c16 0 -Seg:23d5 Size:256 Owner:0x1c18 +Seg:2331 Size:256 Owner:0x1c18 0 -Seg:24d5 Size:256 Owner:0x1c1a +Seg:2431 Size:256 Owner:0x1c1a 0 -Seg:25d5 Size:256 Owner:0x1c1c +Seg:2531 Size:256 Owner:0x1c1c 0 -Seg:26d5 Size:256 Owner:0x1c1e +Seg:2631 Size:256 Owner:0x1c1e 0 -Seg:27d5 Size:256 Owner:0x1c20 +Seg:2731 Size:256 Owner:0x1c20 0 -Seg:28d5 Size:256 Owner:0x1c22 +Seg:2831 Size:256 Owner:0x1c22 0 -Seg:29d5 Size:256 Owner:0x1c24 +Seg:2931 Size:256 Owner:0x1c24 0 -Seg:2ad5 Size:256 Owner:0x1c26 +Seg:2a31 Size:256 Owner:0x1c26 0 -Seg:2bd5 Size:256 Owner:0x1c28 +Seg:2b31 Size:256 Owner:0x1c28 0 -Seg:2cd5 Size:256 Owner:0x1c2a +Seg:2c31 Size:256 Owner:0x1c2a 0 -Seg:2dd5 Size:256 Owner:0x1c2c +Seg:2d31 Size:256 Owner:0x1c2c 0 -Seg:2ed5 Size:256 Owner:0x1c2e +Seg:2e31 Size:256 Owner:0x1c2e 0 -Seg:2fd5 Size:256 Owner:0x1c30 +Seg:2f31 Size:256 Owner:0x1c30 0 -Seg:30d5 Size:256 Owner:0x1c32 +Seg:3031 Size:256 Owner:0x1c32 0 -Seg:31d5 Size:256 Owner:0x1c34 +Seg:3131 Size:256 Owner:0x1c34 0 -Seg:32d5 Size:256 Owner:0x1c36 +Seg:3231 Size:256 Owner:0x1c36 0 -Seg:33d5 Size:256 Owner:0x1c38 +Seg:3331 Size:256 Owner:0x1c38 0 -Seg:34d5 Size:256 Owner:0x1c3a +Seg:3431 Size:256 Owner:0x1c3a 0 -Seg:35d5 Size:256 Owner:0x1c3c +Seg:3531 Size:256 Owner:0x1c3c 0 -Seg:36d5 Size:256 Owner:0x1c3e +Seg:3631 Size:256 Owner:0x1c3e 0 -Seg:37d5 Size:256 Owner:0x1c40 +Seg:3731 Size:256 Owner:0x1c40 0 -Seg:38d5 Size:256 Owner:0x1c42 +Seg:3831 Size:256 Owner:0x1c42 0 -Seg:39d5 Size:256 Owner:0x1c44 +Seg:3931 Size:256 Owner:0x1c44 0 -Seg:3ad5 Size:256 Owner:0x1c46 +Seg:3a31 Size:256 Owner:0x1c46 0 -Seg:3bd5 Size:256 Owner:0x1c48 +Seg:3b31 Size:256 Owner:0x1c48 0 -Seg:3cd5 Size:256 Owner:0x1c4a +Seg:3c31 Size:256 Owner:0x1c4a 0 -Seg:3dd5 Size:256 Owner:0x1c4c +Seg:3d31 Size:256 Owner:0x1c4c 0 -Seg:3ed5 Size:256 Owner:0x1c4e +Seg:3e31 Size:256 Owner:0x1c4e 0 -Seg:3fd5 Size:256 Owner:0x1c50 +Seg:3f31 Size:256 Owner:0x1c50 0 -Seg:40d5 Size:256 Owner:0x1c52 +Seg:4031 Size:256 Owner:0x1c52 0 -Seg:41d5 Size:256 Owner:0x1c54 +Seg:4131 Size:256 Owner:0x1c54 0 -Seg:42d5 Size:256 Owner:0x1c56 +Seg:4231 Size:256 Owner:0x1c56 0 -Seg:43d5 Size:256 Owner:0x1c58 +Seg:4331 Size:256 Owner:0x1c58 0 -Seg:44d5 Size:256 Owner:0x1c5a +Seg:4431 Size:256 Owner:0x1c5a 0 -Seg:45d5 Size:256 Owner:0x1c5c +Seg:4531 Size:256 Owner:0x1c5c 0 -Seg:46d5 Size:256 Owner:0x1c5e +Seg:4631 Size:256 Owner:0x1c5e 0 -Seg:47d5 Size:256 Owner:0x1c60 +Seg:4731 Size:256 Owner:0x1c60 0 -Seg:48d5 Size:256 Owner:0x1c62 +Seg:4831 Size:256 Owner:0x1c62 0 -Seg:49d5 Size:256 Owner:0x1c64 +Seg:4931 Size:256 Owner:0x1c64 0 -Seg:4ad5 Size:256 Owner:0x1c66 +Seg:4a31 Size:256 Owner:0x1c66 0 -Seg:4bd5 Size:256 Owner:0x1c68 +Seg:4b31 Size:256 Owner:0x1c68 0 -Seg:4cd5 Size:256 Owner:0x1c6a +Seg:4c31 Size:256 Owner:0x1c6a 0 -Seg:4dd5 Size:256 Owner:0x1c6c +Seg:4d31 Size:256 Owner:0x1c6c 0 -Seg:4ed5 Size:256 Owner:0x1c6e +Seg:4e31 Size:256 Owner:0x1c6e 0 -Seg:4fd5 Size:256 Owner:0x1c70 +Seg:4f31 Size:256 Owner:0x1c70 0 -Seg:50d5 Size:256 Owner:0x1c72 +Seg:5031 Size:256 Owner:0x1c72 0 -Seg:51d5 Size:256 Owner:0x1c74 +Seg:5131 Size:256 Owner:0x1c74 0 -Seg:52d5 Size:256 Owner:0x1c76 +Seg:5231 Size:256 Owner:0x1c76 0 -Seg:53d5 Size:256 Owner:0x1c78 +Seg:5331 Size:256 Owner:0x1c78 0 -Seg:54d5 Size:256 Owner:0x1c7a +Seg:5431 Size:256 Owner:0x1c7a 0 -Seg:55d5 Size:256 Owner:0x1c7c +Seg:5531 Size:256 Owner:0x1c7c 0 -Seg:56d5 Size:256 Owner:0x1c7e +Seg:5631 Size:256 Owner:0x1c7e 0 -Seg:57d5 Size:256 Owner:0x1c80 +Seg:5731 Size:256 Owner:0x1c80 0 -Seg:58d5 Size:256 Owner:0x1c82 +Seg:5831 Size:256 Owner:0x1c82 0 -Seg:59d5 Size:256 Owner:0x1c84 +Seg:5931 Size:256 Owner:0x1c84 0 -Seg:5ad5 Size:256 Owner:0x1c86 +Seg:5a31 Size:256 Owner:0x1c86 0 -Seg:5bd5 Size:256 Owner:0x1c88 +Seg:5b31 Size:256 Owner:0x1c88 0 -Seg:5cd5 Size:256 Owner:0x1c8a +Seg:5c31 Size:256 Owner:0x1c8a 0 -Seg:5dd5 Size:256 Owner:0x1c8c +Seg:5d31 Size:256 Owner:0x1c8c 0 -Seg:5ed5 Size:256 Owner:0x1c8e +Seg:5e31 Size:256 Owner:0x1c8e 0 -Seg:5fd5 Size:256 Owner:0x1c90 +Seg:5f31 Size:256 Owner:0x1c90 0 -Seg:60d5 Size:256 Owner:0x1c92 +Seg:6031 Size:256 Owner:0x1c92 0 -Seg:61d5 Size:256 Owner:0x1c94 +Seg:6131 Size:256 Owner:0x1c94 0 -Seg:62d5 Size:256 Owner:0x1c96 +Seg:6231 Size:256 Owner:0x1c96 0 -Seg:63d5 Size:256 Owner:0x1c98 +Seg:6331 Size:256 Owner:0x1c98 0 -Seg:64d5 Size:256 Owner:0x1c9a +Seg:6431 Size:256 Owner:0x1c9a 0 -Seg:65d5 Size:256 Owner:0x1c9c +Seg:6531 Size:256 Owner:0x1c9c 0 -Seg:66d5 Size:256 Owner:0x1c9e +Seg:6631 Size:256 Owner:0x1c9e 0 -Seg:67d5 Size:256 Owner:0x1ca0 +Seg:6731 Size:256 Owner:0x1ca0 0 -Seg:68d5 Size:256 Owner:0x1ca2 +Seg:6831 Size:256 Owner:0x1ca2 0 -Seg:69d5 Size:256 Owner:0x1ca4 +Seg:6931 Size:256 Owner:0x1ca4 0 -Seg:6ad5 Size:256 Owner:0x1ca6 +Seg:6a31 Size:256 Owner:0x1ca6 0 -Seg:6bd5 Size:256 Owner:0x1ca8 +Seg:6b31 Size:256 Owner:0x1ca8 0 -Seg:6cd5 Size:256 Owner:0x1caa +Seg:6c31 Size:256 Owner:0x1caa 0 -Seg:6dd5 Size:256 Owner:0x1cac +Seg:6d31 Size:256 Owner:0x1cac 0 -Seg:6ed5 Size:256 Owner:0x1cae +Seg:6e31 Size:256 Owner:0x1cae 0 -Seg:6fd5 Size:256 Owner:0x1cb0 +Seg:6f31 Size:256 Owner:0x1cb0 0 -Seg:70d5 Size:256 Owner:0x1cb2 +Seg:7031 Size:256 Owner:0x1cb2 0 -Seg:71d5 Size:256 Owner:0x1cb4 +Seg:7131 Size:256 Owner:0x1cb4 0 -Seg:72d5 Size:256 Owner:0x1cb6 +Seg:7231 Size:256 Owner:0x1cb6 0 -Seg:73d5 Size:256 Owner:0x1cb8 +Seg:7331 Size:256 Owner:0x1cb8 0 -Seg:74d5 Size:256 Owner:0x1cba +Seg:7431 Size:256 Owner:0x1cba 0 -Seg:75d5 Size:256 Owner:0x1cbc +Seg:7531 Size:256 Owner:0x1cbc 0 -Seg:76d5 Size:256 Owner:0x1cbe +Seg:7631 Size:256 Owner:0x1cbe 0 -Seg:77d5 Size:256 Owner:0x1cc0 +Seg:7731 Size:256 Owner:0x1cc0 0 -Seg:78d5 Size:256 Owner:0x1cc2 +Seg:7831 Size:256 Owner:0x1cc2 0 -Seg:79d5 Size:256 Owner:0x1cc4 +Seg:7931 Size:256 Owner:0x1cc4 0 -Seg:7ad5 Size:256 Owner:0x1cc6 +Seg:7a31 Size:256 Owner:0x1cc6 0 -Seg:7bd5 Size:256 Owner:0x1cc8 +Seg:7b31 Size:256 Owner:0x1cc8 0 -Seg:7cd5 Size:256 Owner:0x1cca +Seg:7c31 Size:256 Owner:0x1cca 0 -Seg:7dd5 Size:256 Owner:0x1ccc +Seg:7d31 Size:256 Owner:0x1ccc 0 -Seg:7ed5 Size:256 Owner:0x1cce +Seg:7e31 Size:256 Owner:0x1cce 0 -Seg:7fd5 Size:256 Owner:0x1cd0 +Seg:7f31 Size:256 Owner:0x1cd0 0 -Seg:80d5 Size:256 Owner:0x1cd2 +Seg:8031 Size:256 Owner:0x1cd2 0 -Seg:81d5 Size:256 Owner:0x1cd4 +Seg:8131 Size:256 Owner:0x1cd4 0 -Seg:82d5 Size:256 Owner:0x1cd6 +Seg:8231 Size:256 Owner:0x1cd6 0 -Seg:83d5 Size:256 Owner:0x1cd8 +Seg:8331 Size:256 Owner:0x1cd8 0 -Seg:84d5 Size:273 Owner:0x5ddc +Seg:8431 Size:273 Owner:0x5ddc 00000000000000000000000000000000000000000000000000000000000000000000000000000000 -Seg:9ec1 Size:24894 Owner:0x0 +Seg:9e1c Size:25059 Owner:0x0  \ No newline at end of file diff --git a/HEAP.16W b/HEAP.16W index 35aa4f0d..9e109d19 100755 --- a/HEAP.16W +++ b/HEAP.16W @@ -1,55 +1,39 @@ == near == - USED block at 1e27:da06 of size 12 - USED block at 1e27:da12 of size 320 - USED block at 1e27:db52 of size 52 - USED block at 1e27:db86 of size 20 - USED block at 1e27:db9a of size 20 - USED block at 1e27:dbae of size 20 - USED block at 1e27:dbc2 of size 20 - USED block at 1e27:dbd6 of size 20 - FREE block at 1e27:dbea of size 9234 + USED block at 1226:c706 of size 12 + USED block at 1226:c712 of size 322 + USED block at 1226:c854 of size 52 + USED block at 1226:c888 of size 20 + USED block at 1226:c89c of size 20 + USED block at 1226:c8b0 of size 20 + USED block at 1226:c8c4 of size 20 + USED block at 1226:c8d8 of size 20 + FREE block at 1226:c8ec of size 14096 OK - end of heap == far == - USED block at 2e28:0016 of size 65342 - USED block at 2e28:ff54 of size 20 - USED block at 2e28:ff68 of size 136 - FREE block at 2e28:fff0 of size 12 - USED block at 3e29:0016 of size 66 - USED block at 3e29:0058 of size 50 - USED block at 3e29:008a of size 50 - USED block at 3e29:00bc of size 50 - USED block at 3e29:00ee of size 50 - USED block at 3e29:0120 of size 50 - USED block at 3e29:0152 of size 50 - USED block at 3e29:0184 of size 50 - USED block at 3e29:01b6 of size 50 - USED block at 3e29:01e8 of size 50 - USED block at 3e29:021a of size 50 - USED block at 3e29:024c of size 50 - USED block at 3e29:027e of size 50 - FREE block at 3e29:02b0 of size 29552 - USED block at 3e29:7620 of size 1202 - USED block at 3e29:7ad2 of size 1202 - USED block at 3e29:7f84 of size 1202 - USED block at 3e29:8436 of size 22 - FREE block at 3e29:844c of size 8202 - FREE block at 3e29:a456 of size 3148 - FREE block at 3e29:b0a2 of size 0 -ERROR - bad node in heap + USED block at 2227:0016 of size 136 + FREE block at 2227:009e of size 48840 + USED block at 2227:bf66 of size 20 + FREE block at 2227:bf7a of size 16514 + FREE block at 3228:0016 of size 65510 + FREE block at 4229:0016 of size 65510 + FREE block at 522a:0016 of size 65510 + FREE block at 622b:0016 of size 65510 + FREE block at 722c:0016 of size 65510 + FREE block at 822d:0016 of size 65510 + FREE block at 922e:0016 of size 49174 +OK - end of heap Memory Type Total Used Free ---------------- -------- -------- -------- -Near 9718 484 9234 -Far 45170 4256 40914 +Near 14582 486 14096 +Far 48992 156 48836 ---------------- -------- -------- -------- -HC_coreleft = 9232 -HC_farcoreleft = 396888 -HC_GetNearFreeSize = 9234 -HC_GetFarFreeSize = 40914 -coreleft = 9232 -farcoreleft = 396888 -stackavail = 23262 +HC_coreleft = 14094 +HC_farcoreleft = 521664 +coreleft = 14094 +farcoreleft = 521664 +stackavail = 23306 diff --git a/MMDUMP.16W b/MMDUMP.16W index 88de7f7c..eae154cb 100755 Binary files a/MMDUMP.16W and b/MMDUMP.16W differ diff --git a/src/lib/16_hc.c b/src/lib/16_hc.c index 3c73c6e0..af9c99bf 100755 --- a/src/lib/16_hc.c +++ b/src/lib/16_hc.c @@ -549,11 +549,14 @@ dword farcoreleft() // return 0x90000UL-16UL; // #endif +#if !defined(__LARGE__) && !defined(__COMPACT__) && !defined(__HUGE__) //---- return 0x90000UL+16UL; //---- return 589824UL+16UL; +#else //++++ return HC_farcoreleft(); //stack overflows return HC_GetFarFreeSize(); +#endif } dword coreleft()