]> 4ch.mooo.com Git - 16.git/commitdiff
EXPERIMENTAL STILL
authorsparky4 <sparky4@cock.li>
Tue, 27 Jun 2017 19:59:06 +0000 (14:59 -0500)
committersparky4 <sparky4@cock.li>
Tue, 27 Jun 2017 19:59:06 +0000 (14:59 -0500)
14 files changed:
DEBUG.16W
HEAP.16W
MMDUMP.16W
makefile
src/exmmtest.h
src/lib/16_hc.c
src/lib/16_hc.h
src/lib/16_in.c
src/lib/16_in.h
src/lib/16_map.c
src/lib/16_mm.c
src/lib/16_mm.h
src/lib/16_spri.c
src/lib/nyan/kitten.c

index 4c87f9b6c28ce70df5823cea5a56d424b710b194..96a1d63889e8baa5dec889d3f69a7728d48071b9 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
-\e[0mSeg:0      Size:9136       Owner:0x0\r
-\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[0mSeg:23b0    Size:256        Owner:0x6dd6\r
-\e[44;34m\e[0m\e[42;32m000\r
-\e[0m\e[0mSeg:2541       Size:68 Owner:0x0\r
-\e[41;31m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2585       Size:256        Owner:0x340e\r
+\e[0mSeg:0      Size:7869       Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[0mSeg:1ebd    Size:256        Owner:0x5ddc\r
+\e[44;34m\e[0m\e[42;32m0\r
+\e[0m\e[0mSeg:1fbd       Size:256        Owner:0x1c12\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2685       Size:256        Owner:0x3410\r
+\e[0m\e[0mSeg:20bd       Size:256        Owner:0x1c14\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2785       Size:256        Owner:0x3412\r
+\e[0m\e[0mSeg:21ed       Size:76 Owner:0x0\r
+\e[41;31m\e[0m\e[42;32m0\r
+\e[0m\e[0mSeg:2239       Size:256        Owner:0x1c16\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2885       Size:256        Owner:0x3414\r
+\e[0m\e[0mSeg:2339       Size:256        Owner:0x1c18\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2985       Size:256        Owner:0x3416\r
+\e[0m\e[0mSeg:2439       Size:256        Owner:0x1c1a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2a85       Size:256        Owner:0x3418\r
+\e[0m\e[0mSeg:2539       Size:256        Owner:0x1c1c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2b85       Size:256        Owner:0x341a\r
+\e[0m\e[0mSeg:2639       Size:256        Owner:0x1c1e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2c85       Size:256        Owner:0x341c\r
+\e[0m\e[0mSeg:2739       Size:256        Owner:0x1c20\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2d85       Size:256        Owner:0x341e\r
+\e[0m\e[0mSeg:2839       Size:256        Owner:0x1c22\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2e85       Size:256        Owner:0x3420\r
+\e[0m\e[0mSeg:2939       Size:256        Owner:0x1c24\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2f85       Size:256        Owner:0x3422\r
+\e[0m\e[0mSeg:2a39       Size:256        Owner:0x1c26\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3085       Size:256        Owner:0x3424\r
+\e[0m\e[0mSeg:2b39       Size:256        Owner:0x1c28\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3185       Size:256        Owner:0x3426\r
+\e[0m\e[0mSeg:2c39       Size:256        Owner:0x1c2a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3285       Size:256        Owner:0x3428\r
+\e[0m\e[0mSeg:2d39       Size:256        Owner:0x1c2c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3385       Size:256        Owner:0x342a\r
+\e[0m\e[0mSeg:2e39       Size:256        Owner:0x1c2e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3485       Size:256        Owner:0x342c\r
+\e[0m\e[0mSeg:2f39       Size:256        Owner:0x1c30\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3585       Size:256        Owner:0x342e\r
+\e[0m\e[0mSeg:3039       Size:256        Owner:0x1c32\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3685       Size:256        Owner:0x3430\r
+\e[0m\e[0mSeg:3139       Size:256        Owner:0x1c34\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3785       Size:256        Owner:0x3432\r
+\e[0m\e[0mSeg:3239       Size:256        Owner:0x1c36\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3885       Size:256        Owner:0x3434\r
+\e[0m\e[0mSeg:3339       Size:256        Owner:0x1c38\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3985       Size:256        Owner:0x3436\r
+\e[0m\e[0mSeg:3439       Size:256        Owner:0x1c3a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3a85       Size:256        Owner:0x3438\r
+\e[0m\e[0mSeg:3539       Size:256        Owner:0x1c3c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3b85       Size:256        Owner:0x343a\r
+\e[0m\e[0mSeg:3639       Size:256        Owner:0x1c3e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3c85       Size:256        Owner:0x343c\r
+\e[0m\e[0mSeg:3739       Size:256        Owner:0x1c40\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3d85       Size:256        Owner:0x343e\r
+\e[0m\e[0mSeg:3839       Size:256        Owner:0x1c42\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3e85       Size:256        Owner:0x3440\r
+\e[0m\e[0mSeg:3939       Size:256        Owner:0x1c44\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3f85       Size:256        Owner:0x3442\r
+\e[0m\e[0mSeg:3a39       Size:256        Owner:0x1c46\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4085       Size:256        Owner:0x3444\r
+\e[0m\e[0mSeg:3b39       Size:256        Owner:0x1c48\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4185       Size:256        Owner:0x3446\r
+\e[0m\e[0mSeg:3c39       Size:256        Owner:0x1c4a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4285       Size:256        Owner:0x3448\r
+\e[0m\e[0mSeg:3d39       Size:256        Owner:0x1c4c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4385       Size:256        Owner:0x344a\r
+\e[0m\e[0mSeg:3e39       Size:256        Owner:0x1c4e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4485       Size:256        Owner:0x344c\r
+\e[0m\e[0mSeg:3f39       Size:256        Owner:0x1c50\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4585       Size:256        Owner:0x344e\r
+\e[0m\e[0mSeg:4039       Size:256        Owner:0x1c52\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4685       Size:256        Owner:0x3450\r
+\e[0m\e[0mSeg:4139       Size:256        Owner:0x1c54\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4785       Size:256        Owner:0x3452\r
+\e[0m\e[0mSeg:4239       Size:256        Owner:0x1c56\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4885       Size:256        Owner:0x3454\r
+\e[0m\e[0mSeg:4339       Size:256        Owner:0x1c58\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4985       Size:256        Owner:0x3456\r
+\e[0m\e[0mSeg:4439       Size:256        Owner:0x1c5a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4a85       Size:256        Owner:0x3458\r
+\e[0m\e[0mSeg:4539       Size:256        Owner:0x1c5c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4b85       Size:256        Owner:0x345a\r
+\e[0m\e[0mSeg:4639       Size:256        Owner:0x1c5e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4c85       Size:256        Owner:0x345c\r
+\e[0m\e[0mSeg:4739       Size:256        Owner:0x1c60\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4d85       Size:256        Owner:0x345e\r
+\e[0m\e[0mSeg:4839       Size:256        Owner:0x1c62\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4e85       Size:256        Owner:0x3460\r
+\e[0m\e[0mSeg:4939       Size:256        Owner:0x1c64\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4f85       Size:256        Owner:0x3462\r
+\e[0m\e[0mSeg:4a39       Size:256        Owner:0x1c66\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5085       Size:256        Owner:0x3464\r
+\e[0m\e[0mSeg:4b39       Size:256        Owner:0x1c68\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5185       Size:256        Owner:0x3466\r
+\e[0m\e[0mSeg:4c39       Size:256        Owner:0x1c6a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5285       Size:256        Owner:0x3468\r
+\e[0m\e[0mSeg:4d39       Size:256        Owner:0x1c6c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5385       Size:256        Owner:0x346a\r
+\e[0m\e[0mSeg:4e39       Size:256        Owner:0x1c6e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5485       Size:256        Owner:0x346c\r
+\e[0m\e[0mSeg:4f39       Size:256        Owner:0x1c70\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5585       Size:256        Owner:0x346e\r
+\e[0m\e[0mSeg:5039       Size:256        Owner:0x1c72\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5685       Size:256        Owner:0x3470\r
+\e[0m\e[0mSeg:5139       Size:256        Owner:0x1c74\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5785       Size:256        Owner:0x3472\r
+\e[0m\e[0mSeg:5239       Size:256        Owner:0x1c76\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5885       Size:256        Owner:0x3474\r
+\e[0m\e[0mSeg:5339       Size:256        Owner:0x1c78\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5985       Size:256        Owner:0x3476\r
+\e[0m\e[0mSeg:5439       Size:256        Owner:0x1c7a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5a85       Size:256        Owner:0x3478\r
+\e[0m\e[0mSeg:5539       Size:256        Owner:0x1c7c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5b85       Size:256        Owner:0x347a\r
+\e[0m\e[0mSeg:5639       Size:256        Owner:0x1c7e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5c85       Size:256        Owner:0x347c\r
+\e[0m\e[0mSeg:5739       Size:256        Owner:0x1c80\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5d85       Size:256        Owner:0x347e\r
+\e[0m\e[0mSeg:5839       Size:256        Owner:0x1c82\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5e85       Size:256        Owner:0x3480\r
+\e[0m\e[0mSeg:5939       Size:256        Owner:0x1c84\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5f85       Size:256        Owner:0x3482\r
+\e[0m\e[0mSeg:5a39       Size:256        Owner:0x1c86\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6085       Size:256        Owner:0x3484\r
+\e[0m\e[0mSeg:5b39       Size:256        Owner:0x1c88\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6185       Size:256        Owner:0x3486\r
+\e[0m\e[0mSeg:5c39       Size:256        Owner:0x1c8a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6285       Size:256        Owner:0x3488\r
+\e[0m\e[0mSeg:5d39       Size:256        Owner:0x1c8c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6385       Size:256        Owner:0x348a\r
+\e[0m\e[0mSeg:5e39       Size:256        Owner:0x1c8e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6485       Size:256        Owner:0x348c\r
+\e[0m\e[0mSeg:5f39       Size:256        Owner:0x1c90\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6585       Size:256        Owner:0x348e\r
+\e[0m\e[0mSeg:6039       Size:256        Owner:0x1c92\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6685       Size:256        Owner:0x3490\r
+\e[0m\e[0mSeg:6139       Size:256        Owner:0x1c94\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6785       Size:256        Owner:0x3492\r
+\e[0m\e[0mSeg:6239       Size:256        Owner:0x1c96\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6885       Size:256        Owner:0x3494\r
+\e[0m\e[0mSeg:6339       Size:256        Owner:0x1c98\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6985       Size:256        Owner:0x3496\r
+\e[0m\e[0mSeg:6439       Size:256        Owner:0x1c9a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6a85       Size:256        Owner:0x3498\r
+\e[0m\e[0mSeg:6539       Size:256        Owner:0x1c9c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6b85       Size:256        Owner:0x349a\r
+\e[0m\e[0mSeg:6639       Size:256        Owner:0x1c9e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6c85       Size:256        Owner:0x349c\r
+\e[0m\e[0mSeg:6739       Size:256        Owner:0x1ca0\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6d85       Size:256        Owner:0x349e\r
+\e[0m\e[0mSeg:6839       Size:256        Owner:0x1ca2\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6e85       Size:256        Owner:0x34a0\r
+\e[0m\e[0mSeg:6939       Size:256        Owner:0x1ca4\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6f85       Size:256        Owner:0x34a2\r
+\e[0m\e[0mSeg:6a39       Size:256        Owner:0x1ca6\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7085       Size:256        Owner:0x34a4\r
+\e[0m\e[0mSeg:6b39       Size:256        Owner:0x1ca8\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7185       Size:256        Owner:0x34a6\r
+\e[0m\e[0mSeg:6c39       Size:256        Owner:0x1caa\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7285       Size:256        Owner:0x34a8\r
+\e[0m\e[0mSeg:6d39       Size:256        Owner:0x1cac\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7385       Size:256        Owner:0x34aa\r
+\e[0m\e[0mSeg:6e39       Size:256        Owner:0x1cae\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7485       Size:256        Owner:0x34ac\r
+\e[0m\e[0mSeg:6f39       Size:256        Owner:0x1cb0\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7585       Size:256        Owner:0x34ae\r
+\e[0m\e[0mSeg:7039       Size:256        Owner:0x1cb2\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7685       Size:256        Owner:0x34b0\r
+\e[0m\e[0mSeg:7139       Size:256        Owner:0x1cb4\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7785       Size:256        Owner:0x34b2\r
+\e[0m\e[0mSeg:7239       Size:256        Owner:0x1cb6\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7885       Size:256        Owner:0x34b4\r
+\e[0m\e[0mSeg:7339       Size:256        Owner:0x1cb8\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7985       Size:256        Owner:0x34b6\r
+\e[0m\e[0mSeg:7439       Size:256        Owner:0x1cba\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7a85       Size:256        Owner:0x34b8\r
+\e[0m\e[0mSeg:7539       Size:256        Owner:0x1cbc\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7b85       Size:256        Owner:0x34ba\r
+\e[0m\e[0mSeg:7639       Size:256        Owner:0x1cbe\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7c85       Size:256        Owner:0x34bc\r
+\e[0m\e[0mSeg:7739       Size:256        Owner:0x1cc0\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7d85       Size:256        Owner:0x34be\r
+\e[0m\e[0mSeg:7839       Size:256        Owner:0x1cc2\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7e85       Size:256        Owner:0x34c0\r
+\e[0m\e[0mSeg:7939       Size:256        Owner:0x1cc4\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7f85       Size:256        Owner:0x34c2\r
+\e[0m\e[0mSeg:7a39       Size:256        Owner:0x1cc6\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8085       Size:256        Owner:0x34c4\r
+\e[0m\e[0mSeg:7b39       Size:256        Owner:0x1cc8\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8185       Size:256        Owner:0x34c6\r
+\e[0m\e[0mSeg:7c39       Size:256        Owner:0x1cca\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8285       Size:256        Owner:0x34c8\r
+\e[0m\e[0mSeg:7d39       Size:256        Owner:0x1ccc\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8385       Size:256        Owner:0x34ca\r
+\e[0m\e[0mSeg:7e39       Size:256        Owner:0x1cce\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8485       Size:256        Owner:0x34cc\r
+\e[0m\e[0mSeg:7f39       Size:256        Owner:0x1cd0\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8585       Size:256        Owner:0x34ce\r
+\e[0m\e[0mSeg:8039       Size:256        Owner:0x1cd2\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8685       Size:256        Owner:0x34d0\r
+\e[0m\e[0mSeg:8139       Size:256        Owner:0x1cd4\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8785       Size:256        Owner:0x34d2\r
+\e[0m\e[0mSeg:8239       Size:256        Owner:0x1cd6\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8885       Size:256        Owner:0x34d4\r
+\e[0m\e[0mSeg:8339       Size:256        Owner:0x1cd8\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8985       Size:401        Owner:0xe0c6\r
-\e[44;34m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8b16       Size:2  Owner:0x3376\r
-\e[44;34m\e[0m\e[42;32m0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\r
-\e[0m\e[0mSeg:b585       Size:19066      Owner:0x0\r
+\e[0m\e[0mSeg:8439       Size:273        Owner:0x5ddc\r
+\e[44;34m\e[0m\e[42;32m00000000000000000000000000000000000000000000000000000000000000000000000000000000\r
+\e[0m\e[0mSeg:9e24       Size:25051      Owner:0x0\r
 \e[41;31m\e[0m
\ No newline at end of file
index 2c6ec0354a9cef6e1ae69c3ca4bb53e1250b502d..d03bd8bc4895b53f0975fb27b828eca1d24933cf 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,19 +1,51 @@
 \r
        == near ==\r
 \r
-  USED block at 0f62:d436 of size 8\r
-  USED block at 0f62:d43e of size 322\r
-  USED block at 0f62:d580 of size 32\r
-  USED block at 0f62:d5a0 of size 14\r
-  USED block at 0f62:d5ae of size 16\r
-  USED block at 0f62:d5be of size 14\r
-  USED block at 0f62:d5cc of size 14\r
-  USED block at 0f62:d5da of size 16\r
-  USED block at 0f62:d5ea of size 136\r
-  FREE block at 0f62:d672 of size 10634\r
+  USED block at 1d37:da06 of size 12\r
+  USED block at 1d37:da12 of size 320\r
+  USED block at 1d37:db52 of size 52\r
+  USED block at 1d37:db86 of size 20\r
+  USED block at 1d37:db9a of size 20\r
+  USED block at 1d37:dbae of size 20\r
+  USED block at 1d37:dbc2 of size 20\r
+  USED block at 1d37:dbd6 of size 20\r
+  FREE block at 1d37:dbea of size 9234\r
 OK - end of heap\r
 \r
        == far ==\r
 \r
-  FREE block at 1f63:0016 of size 8166\r
-OK - end of heap\r
+  USED block at 2d38:0016 of size 8002\r
+  USED block at 2d38:1f58 of size 20\r
+  USED block at 2d38:1f6c of size 66\r
+  USED block at 2d38:1fae of size 50\r
+  USED block at 2d38:1fe0 of size 50\r
+  USED block at 2d38:2012 of size 50\r
+  USED block at 2d38:2044 of size 50\r
+  USED block at 2d38:2076 of size 50\r
+  USED block at 2d38:20a8 of size 50\r
+  USED block at 2d38:20da of size 50\r
+  USED block at 2d38:210c of size 50\r
+  USED block at 2d38:213e of size 50\r
+  USED block at 2d38:2170 of size 50\r
+  USED block at 2d38:21a2 of size 50\r
+  USED block at 2d38:21d4 of size 50\r
+  FREE block at 2d38:2206 of size 29552\r
+  USED block at 2d38:9576 of size 1202\r
+  USED block at 2d38:9a28 of size 1202\r
+  USED block at 2d38:9eda of size 1202\r
+  USED block at 2d38:a38c of size 136\r
+  USED block at 2d38:a414 of size 22\r
+  FREE block at 2d38:a42a of size 8202\r
+  FREE block at 2d38:c434 of size 59406\r
+ERROR - bad node in heap\r
+\r
+Memory Type         Total      Used       Free\r
+----------------  --------   --------   --------\r
+Near              9718         484       9234\r
+Far               44076        12452     31624\r
+----------------  --------   --------   --------\r
+HC_coreleft = 9232\r
+HC_farcoreleft = 462576\r
+coreleft = 9232\r
+farcoreleft = 462576\r
+stackavail = 23306\r
index 0471f82c465944499463ca238e500c1ce4dcefbf..88de7f7c7b678e57833f2ab3c80bd27af99aded2 100755 (executable)
Binary files a/MMDUMP.16W and b/MMDUMP.16W differ
index 3a187c257d14e1ea25b6caf22c72dfdebae0e3ab..384e0be00e0a620ea736d5d305c4ee62c4abe06b 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -64,7 +64,7 @@ DOSLIBMAKEALL=.\build.bat
 !endif
 
 TARGET_OS = dos
-MEMORYMODE = m
+MEMORYMODE = l
 
 BUILD_ROOT=$+$(%__CWD__)$-
 #EXMMTESTDIR=16$(DIRSEP)exmmtest$(DIRSEP)
index 3666dfd15ac029fdfecb361f6105d54248e1872b..4fb8db7d9bf4106cdfcee9e8beac85906c27b0ce 100755 (executable)
@@ -43,7 +43,7 @@
 #define FILEREAD\r
 //#define EXMMVERBOSE\r
 //#define BUFFDUMPPAUSE\r
-//#define EXMMVERBOSE__\r
+#define EXMMVERBOSE__\r
 //     #define PRINTBBDUMP\r
 #define BUFFDUMP\r
 \r
index c3ed5373c487c526ee4a5f555a06ab2d51f3595f..8a75121be64804f6ee84e86072a48e21cc76757d 100755 (executable)
@@ -52,7 +52,7 @@ long HC_Newfarcoreleft()
 #endif\r
 \r
 //from: https://stackoverflow.com/questions/14386856/c-check-available-ram\r
-void __near* HC_LargestFreeBlock(size_t* Size)\r
+void __near* HC_LargestFreeBlock(size_t __far* Size)\r
 {\r
        size_t s0, s1;\r
        void __near* p;\r
@@ -117,7 +117,7 @@ size_t HC_coreleft(void)
 }\r
 \r
 //far version of above\r
-void __far* HC_LargestFarFreeBlock(dword* Size)\r
+void __far* HC_LargestFarFreeBlock(dword __far* Size)\r
 {\r
        dword s0, s1;\r
        void __far* p;\r
@@ -340,14 +340,14 @@ size_t HC_GetFreeSize(void)
 }\r
 */\r
 \r
-void HCL_HeapWalking (struct _heapinfo *h_info, hc_use_t *hu, unsigned nearfarswitch)\r
+void HCL_HeapWalking (struct _heapinfo __far*h_info, hc_use_t __far*hu, unsigned nearfarswitch)\r
 {\r
        hu->h_free=0; hu->h_total=0; hu->h_used=0;\r
 \r
        h_info->_pentry = NULL;\r
        for(;;) {\r
-               if(nearfarswitch==0) hu->heap_status = _nheapwalk( h_info );\r
-               else if(nearfarswitch==1) hu->heap_status = _fheapwalk( h_info );\r
+               if(nearfarswitch==0) hu->heap_status = _nheapwalk( (struct _heapinfo *)h_info );\r
+               else if(nearfarswitch==1) hu->heap_status = _fheapwalk( (struct _heapinfo *)h_info );\r
                if( hu->heap_status != _HEAPOK ) break;\r
                if((h_info->_useflag == _USEDENTRY ? "USED" : "FREE")=="FREE") hu->h_free += h_info->_size;\r
                if((h_info->_useflag == _USEDENTRY ? "USED" : "FREE")=="USED") hu->h_used += h_info->_size;\r
@@ -438,7 +438,7 @@ void HC_heapdump(global_game_variables_t *gvar)
        nh_info._pentry = NULL;\r
        nh_free=0; nh_total=0; nh_used=0;\r
        for(;;) {\r
-               heap_status = _nheapwalk( &nh_info );\r
+               heap_status = _nheapwalk( (struct _heapinfo *)&nh_info );\r
                if( heap_status != _HEAPOK ) break;\r
                strcpy(scratch,"  "); strcat(scratch,(nh_info._useflag == _USEDENTRY ? "USED" : "FREE")); strcat(scratch," block at ");\r
                sprintf(str, "%Fp", nh_info._pentry); //ultoa((dword)nh_info._pentry,str,16);\r
@@ -459,7 +459,7 @@ nh_info._pentry, nh_info._size );*/
        fh_info._pentry = NULL;\r
        fh_free=0; fh_total=0; fh_used=0;\r
        for(;;) {\r
-               heap_status = _fheapwalk( &fh_info );\r
+               heap_status = _fheapwalk( (struct _heapinfo *)&fh_info );\r
                if( heap_status != _HEAPOK ) break;\r
                strcpy(scratch,"  "); strcat(scratch,(fh_info._useflag == _USEDENTRY ? "USED" : "FREE")); strcat(scratch," block at ");\r
                sprintf(str, "%Fp", fh_info._pentry); //ultoa((dword)fh_info._pentry,str,16);\r
index 36b95841ea0b8ee38a1b74985a00c41ba3e12a7e..05774e8cc834ba60faf59909b774e38987f5b54b 100755 (executable)
@@ -50,9 +50,9 @@ typedef struct heapusage
 #endif\r
 \r
 //long HC_Newfarcoreleft();\r
-void __near* HC_LargestFreeBlock(size_t* Size);\r
+void __near* HC_LargestFreeBlock(size_t __far* Size);\r
 size_t HC_coreleft(void);\r
-void far* HC_LargestFarFreeBlock(dword* Size);\r
+void far* HC_LargestFarFreeBlock(dword __far* Size);\r
 unsigned long HC_farcoreleft(void);\r
 //size_t HC_GetFreeSize(void);\r
 unsigned long HC_GetFarFreeSize(void);\r
index c543caf99a958a7d4a484c5c0444ce67bfb16954..eb71b1aecc95e7ac66bcb9aed521adfcda36a15b 100755 (executable)
@@ -267,7 +267,7 @@ void INL_Mouse(int x)
 //\r
 ///////////////////////////////////////////////////////////////////////////\r
 static void\r
-INL_GetMouseDelta(int *x,int *y)\r
+INL_GetMouseDelta(int __far*x,int __far*y)\r
 {\r
        union REGS CPURegs;\r
        Mouse(MDelta);\r
@@ -298,7 +298,7 @@ INL_GetMouseButtons(void)
 //\r
 ///////////////////////////////////////////////////////////////////////////\r
 void\r
-IN_GetJoyAbs(word joy,word *xp,word *yp)\r
+IN_GetJoyAbs(word joy,word __far*xp,word __far*yp)\r
 {\r
        byte    xb,yb,\r
                        xs,ys;\r
@@ -387,7 +387,7 @@ done:
 //             joystick (from +/-127)\r
 //\r
 ///////////////////////////////////////////////////////////////////////////\r
-void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_variables_t *gvar)\r
+void INL_GetJoyDelta(word joy,int __far*dx,int __far*dy/*,boolean adaptive*/, global_game_variables_t *gvar)\r
 {\r
        word            x,y;\r
        word TimeCount = *clockw;\r
index c2b4b622ca1ef45acaf9477ac8dff43c6ccdbdcf..01d7ec1ca41a9eca4e989dad3b1a9371723bc642 100755 (executable)
@@ -224,7 +224,7 @@ extern      void            IN_Startup(global_game_variables_t *gvar),IN_Shutdown(global_game_v
                                        IN_ReadCursor(CursorInfo *, global_game_variables_t *gvar),\r
                                        IN_ReadControl(player_t *player, global_game_variables_t *gvar),\r
                                        IN_SetControlType(player_t *player,ControlType type),\r
-                                       IN_GetJoyAbs(word joy,word *xp,word *yp),\r
+                                       IN_GetJoyAbs(word joy,word __far*xp,word __far*yp),\r
                                        IN_SetupJoy(word joy,word minx,word maxx,\r
                                                                word miny,word maxy, global_game_variables_t *gvar),\r
 #if DEMO0\r
@@ -241,7 +241,7 @@ extern      byte            *IN_GetScanName(ScanCode);
 byte   IN_MouseButtons (global_game_variables_t *gvar);\r
 byte   IN_JoyButtons (void);\r
 \r
-void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_variables_t *gvar);\r
+void INL_GetJoyDelta(word joy,int __far*dx,int __far*dy/*,boolean adaptive*/, global_game_variables_t *gvar);\r
 void IN_StartAck(global_game_variables_t *gvar);\r
 boolean IN_CheckAck (global_game_variables_t *gvar);\r
 boolean IN_IsUserInput(global_game_variables_t *gvar);\r
index 4582bc68980a1f1a8ab0486fbe86bcb7da9c6422..1799921951aa23dc37ada73ca08ce32c3f84e8dd 100755 (executable)
@@ -180,7 +180,7 @@ int newloadmap(char *mn, map_t *map) {
        int status;\r
 \r
        /* Prepare parser */\r
-       jsmn_init(&p);\r
+       jsmn_init((jsmn_parser *)&p);\r
 \r
        file_s = filesize(fh);\r
        js = malloc(file_s);//TODO: USE MM_ CA_ AND PM_\r
@@ -195,11 +195,11 @@ int newloadmap(char *mn, map_t *map) {
                fclose(fh);\r
                return 1;\r
        }\r
-       tokcount = jsmn_parse(&p, js, file_s, NULL, 0);\r
+       tokcount = jsmn_parse((jsmn_parser *)&p, js, file_s, NULL, 0);\r
        tok = malloc(tokcount*sizeof(jsmntok_t));//TODO: USE MM_ CA_ AND PM_\r
        printf("Allocated %d tokens", tokcount);\r
-       jsmn_init(&p);\r
-       if((status = jsmn_parse(&p, js, file_s, tok, tokcount)) < 0)\r
+       jsmn_init((jsmn_parser *)&p);\r
+       if((status = jsmn_parse((jsmn_parser *)&p, js, file_s, tok, tokcount)) < 0)\r
        {\r
                printf("Error: %d\n", status);\r
                return status;\r
@@ -228,15 +228,15 @@ int CA_loadmap(char *mn, map_t *map, global_game_variables_t *gvar)
        int status;\r
 \r
        /* Prepare parser */\r
-       jsmn_init(&p);\r
+       jsmn_init((jsmn_parser *)&p);\r
 \r
        file_s = filesize(fh);\r
        CA_LoadFile(mn, MEMPTRCONV MAPSEGINLM, gvar);\r
-       tokcount = jsmn_parse(&p, (char const *)MAPSEGINLM, file_s, NULL, 0);\r
+       tokcount = jsmn_parse((jsmn_parser *)&p, (char const *)MAPSEGINLM, file_s, NULL, 0);\r
        tok = malloc(tokcount*sizeof(jsmntok_t));//TODO: USE MM_ CA_ AND PM_\r
 //     printf("Allocated %d tokens", tokcount);\r
-       jsmn_init(&p);\r
-       if((status = jsmn_parse(&p, (char const *)MAPSEGINLM, file_s, tok, tokcount)) < 0)\r
+       jsmn_init((jsmn_parser *)&p);\r
+       if((status = jsmn_parse((jsmn_parser *)&p, (char const *)MAPSEGINLM, file_s, tok, tokcount)) < 0)\r
        {\r
                printf("Error: %d\n", status);\r
                return status;\r
index 544d280aca3ba052c22747653a5ce1d922712228..a13060cda97c8dd0d80e47f9045da834d8b1ffe4 100755 (executable)
@@ -1531,7 +1531,7 @@ void MM_ShowMemory (global_game_variables_t *gvar)
 }\r
 \r
 #ifdef MMSMSCANINFO\r
-void MM_ShowMemoryDetail (unsigned x, unsigned y, unsigned w, unsigned q, sdword end, mmshowmemoryinfo_t *scaninfo, global_game_variables_t *gvar)\r
+void MM_ShowMemoryDetail (unsigned x, unsigned y, unsigned w, unsigned q, sdword end, mmshowmemoryinfo_t __far*scaninfo, global_game_variables_t *gvar)\r
        {\r
                byte scratch1[4];\r
                unsigned                maxq = q;\r
index 8f49942356aa7f3a7e57f559d6bce1f301cd1739..5b7ea51ab1030aeac82f72823bae5875a5701efb 100755 (executable)
@@ -201,7 +201,7 @@ void MM_SetPurge (memptr *baseptr, int purge, global_game_variables_t *gvar);
 void MM_SetLock (memptr *baseptr, boolean locked, global_game_variables_t *gvar);\r
 void MM_SortMem (global_game_variables_t *gvar);\r
 void MM_ShowMemory (global_game_variables_t *gvar);\r
-void MM_ShowMemoryDetail (unsigned x, unsigned y, unsigned w, unsigned q, sdword end, mmshowmemoryinfo_t *scaninfo, global_game_variables_t *gvar);\r
+void MM_ShowMemoryDetail (unsigned x, unsigned y, unsigned w, unsigned q, sdword end, mmshowmemoryinfo_t __far*scaninfo, global_game_variables_t *gvar);\r
 void MM_DumpData (global_game_variables_t *gvar);\r
 dword MM_UnusedMemory (global_game_variables_t *gvar);\r
 dword MM_TotalFree (global_game_variables_t *gvar);\r
index 70ae0e388a4de35f54901e44dc09e8ebc4e4bf3d..82c83c503aaf1eeb1b9d346ec94f74eed256dd7b 100755 (executable)
@@ -440,9 +440,9 @@ void animate_spri(entity_t *enti, video_t *video)
        (\r
                x-rx,\r
                y-ry,\r
-               (struct vrl1_vgax_header *)enti->spri.sprite_vrl_cont.vrl_header,\r
+               enti->spri.sprite_vrl_cont.vrl_header,\r
                enti->spri.sprite_vrl_cont.line_offsets,\r
-               (byte *)enti->spri.sprite_vrl_cont.buffer + sizeof(struct vrl1_vgax_header),\r
+               enti->spri.sprite_vrl_cont.buffer + sizeof(struct vrl1_vgax_header),\r
                enti->spri.sprite_vrl_cont.data_size\r
        );\r
 #endif\r
index 2e6e87ba415c4fc4a2bc2a8ab21801f77a10e75b..d72ab2832d9ce1c20d0410b16e6c24ff9676cade 100755 (executable)
@@ -386,7 +386,7 @@ kittenclose (void)
  * Returns a pointer to input string.\r
  */\r
 \r
-int mystrtoul(char *src, int base, int size, int *error)\r
+int mystrtoul(char __far*src, int base, int size, int __far*error)\r
 {\r
   int ret = 0;\r
 \r