]> 4ch.mooo.com Git - 16.git/commitdiff
reverted compleately because i need to dissscuss this with the other devs of p16
authorsparky4 <sparky4@cock.li>
Tue, 27 Jun 2017 20:31:10 +0000 (15:31 -0500)
committersparky4 <sparky4@cock.li>
Tue, 27 Jun 2017 20:31:10 +0000 (15:31 -0500)
14 files changed:
DEBUG.16W
HEAP.16W
INPUTEST.16W [deleted file]
ps.exe
src/exmmtest.h
src/lib/16_hc.c
src/lib/16_hc.h
src/lib/16_head.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/nyan/kitten.c

index 96a1d63889e8baa5dec889d3f69a7728d48071b9..7ef64269e0ce3699a9a0a176a98885e57aa677a3 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
-\e[0mSeg:0      Size:7869       Owner:0x0\r
-\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[0mSeg:1ebd    Size:256        Owner:0x5ddc\r
+\e[0mSeg:0      Size:8025       Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[0mSeg:1f59  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[0m\e[0mSeg:2059       Size:256        Owner:0x1c12\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:20bd       Size:256        Owner:0x1c14\r
+\e[0m\e[0mSeg:2159       Size:256        Owner:0x1c14\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:21ed       Size:76 Owner:0x0\r
+\e[0m\e[0mSeg:2289       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[0m\e[0mSeg:22d5       Size:256        Owner:0x1c16\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2339       Size:256        Owner:0x1c18\r
+\e[0m\e[0mSeg:23d5       Size:256        Owner:0x1c18\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2439       Size:256        Owner:0x1c1a\r
+\e[0m\e[0mSeg:24d5       Size:256        Owner:0x1c1a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2539       Size:256        Owner:0x1c1c\r
+\e[0m\e[0mSeg:25d5       Size:256        Owner:0x1c1c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2639       Size:256        Owner:0x1c1e\r
+\e[0m\e[0mSeg:26d5       Size:256        Owner:0x1c1e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2739       Size:256        Owner:0x1c20\r
+\e[0m\e[0mSeg:27d5       Size:256        Owner:0x1c20\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2839       Size:256        Owner:0x1c22\r
+\e[0m\e[0mSeg:28d5       Size:256        Owner:0x1c22\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2939       Size:256        Owner:0x1c24\r
+\e[0m\e[0mSeg:29d5       Size:256        Owner:0x1c24\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2a39       Size:256        Owner:0x1c26\r
+\e[0m\e[0mSeg:2ad5       Size:256        Owner:0x1c26\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2b39       Size:256        Owner:0x1c28\r
+\e[0m\e[0mSeg:2bd5       Size:256        Owner:0x1c28\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2c39       Size:256        Owner:0x1c2a\r
+\e[0m\e[0mSeg:2cd5       Size:256        Owner:0x1c2a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2d39       Size:256        Owner:0x1c2c\r
+\e[0m\e[0mSeg:2dd5       Size:256        Owner:0x1c2c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2e39       Size:256        Owner:0x1c2e\r
+\e[0m\e[0mSeg:2ed5       Size:256        Owner:0x1c2e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2f39       Size:256        Owner:0x1c30\r
+\e[0m\e[0mSeg:2fd5       Size:256        Owner:0x1c30\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3039       Size:256        Owner:0x1c32\r
+\e[0m\e[0mSeg:30d5       Size:256        Owner:0x1c32\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3139       Size:256        Owner:0x1c34\r
+\e[0m\e[0mSeg:31d5       Size:256        Owner:0x1c34\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3239       Size:256        Owner:0x1c36\r
+\e[0m\e[0mSeg:32d5       Size:256        Owner:0x1c36\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3339       Size:256        Owner:0x1c38\r
+\e[0m\e[0mSeg:33d5       Size:256        Owner:0x1c38\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3439       Size:256        Owner:0x1c3a\r
+\e[0m\e[0mSeg:34d5       Size:256        Owner:0x1c3a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3539       Size:256        Owner:0x1c3c\r
+\e[0m\e[0mSeg:35d5       Size:256        Owner:0x1c3c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3639       Size:256        Owner:0x1c3e\r
+\e[0m\e[0mSeg:36d5       Size:256        Owner:0x1c3e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3739       Size:256        Owner:0x1c40\r
+\e[0m\e[0mSeg:37d5       Size:256        Owner:0x1c40\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3839       Size:256        Owner:0x1c42\r
+\e[0m\e[0mSeg:38d5       Size:256        Owner:0x1c42\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3939       Size:256        Owner:0x1c44\r
+\e[0m\e[0mSeg:39d5       Size:256        Owner:0x1c44\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3a39       Size:256        Owner:0x1c46\r
+\e[0m\e[0mSeg:3ad5       Size:256        Owner:0x1c46\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3b39       Size:256        Owner:0x1c48\r
+\e[0m\e[0mSeg:3bd5       Size:256        Owner:0x1c48\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3c39       Size:256        Owner:0x1c4a\r
+\e[0m\e[0mSeg:3cd5       Size:256        Owner:0x1c4a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3d39       Size:256        Owner:0x1c4c\r
+\e[0m\e[0mSeg:3dd5       Size:256        Owner:0x1c4c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3e39       Size:256        Owner:0x1c4e\r
+\e[0m\e[0mSeg:3ed5       Size:256        Owner:0x1c4e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:3f39       Size:256        Owner:0x1c50\r
+\e[0m\e[0mSeg:3fd5       Size:256        Owner:0x1c50\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4039       Size:256        Owner:0x1c52\r
+\e[0m\e[0mSeg:40d5       Size:256        Owner:0x1c52\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4139       Size:256        Owner:0x1c54\r
+\e[0m\e[0mSeg:41d5       Size:256        Owner:0x1c54\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4239       Size:256        Owner:0x1c56\r
+\e[0m\e[0mSeg:42d5       Size:256        Owner:0x1c56\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4339       Size:256        Owner:0x1c58\r
+\e[0m\e[0mSeg:43d5       Size:256        Owner:0x1c58\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4439       Size:256        Owner:0x1c5a\r
+\e[0m\e[0mSeg:44d5       Size:256        Owner:0x1c5a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4539       Size:256        Owner:0x1c5c\r
+\e[0m\e[0mSeg:45d5       Size:256        Owner:0x1c5c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4639       Size:256        Owner:0x1c5e\r
+\e[0m\e[0mSeg:46d5       Size:256        Owner:0x1c5e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4739       Size:256        Owner:0x1c60\r
+\e[0m\e[0mSeg:47d5       Size:256        Owner:0x1c60\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4839       Size:256        Owner:0x1c62\r
+\e[0m\e[0mSeg:48d5       Size:256        Owner:0x1c62\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4939       Size:256        Owner:0x1c64\r
+\e[0m\e[0mSeg:49d5       Size:256        Owner:0x1c64\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4a39       Size:256        Owner:0x1c66\r
+\e[0m\e[0mSeg:4ad5       Size:256        Owner:0x1c66\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4b39       Size:256        Owner:0x1c68\r
+\e[0m\e[0mSeg:4bd5       Size:256        Owner:0x1c68\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4c39       Size:256        Owner:0x1c6a\r
+\e[0m\e[0mSeg:4cd5       Size:256        Owner:0x1c6a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4d39       Size:256        Owner:0x1c6c\r
+\e[0m\e[0mSeg:4dd5       Size:256        Owner:0x1c6c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4e39       Size:256        Owner:0x1c6e\r
+\e[0m\e[0mSeg:4ed5       Size:256        Owner:0x1c6e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:4f39       Size:256        Owner:0x1c70\r
+\e[0m\e[0mSeg:4fd5       Size:256        Owner:0x1c70\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5039       Size:256        Owner:0x1c72\r
+\e[0m\e[0mSeg:50d5       Size:256        Owner:0x1c72\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5139       Size:256        Owner:0x1c74\r
+\e[0m\e[0mSeg:51d5       Size:256        Owner:0x1c74\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5239       Size:256        Owner:0x1c76\r
+\e[0m\e[0mSeg:52d5       Size:256        Owner:0x1c76\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5339       Size:256        Owner:0x1c78\r
+\e[0m\e[0mSeg:53d5       Size:256        Owner:0x1c78\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5439       Size:256        Owner:0x1c7a\r
+\e[0m\e[0mSeg:54d5       Size:256        Owner:0x1c7a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5539       Size:256        Owner:0x1c7c\r
+\e[0m\e[0mSeg:55d5       Size:256        Owner:0x1c7c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5639       Size:256        Owner:0x1c7e\r
+\e[0m\e[0mSeg:56d5       Size:256        Owner:0x1c7e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5739       Size:256        Owner:0x1c80\r
+\e[0m\e[0mSeg:57d5       Size:256        Owner:0x1c80\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5839       Size:256        Owner:0x1c82\r
+\e[0m\e[0mSeg:58d5       Size:256        Owner:0x1c82\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5939       Size:256        Owner:0x1c84\r
+\e[0m\e[0mSeg:59d5       Size:256        Owner:0x1c84\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5a39       Size:256        Owner:0x1c86\r
+\e[0m\e[0mSeg:5ad5       Size:256        Owner:0x1c86\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5b39       Size:256        Owner:0x1c88\r
+\e[0m\e[0mSeg:5bd5       Size:256        Owner:0x1c88\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5c39       Size:256        Owner:0x1c8a\r
+\e[0m\e[0mSeg:5cd5       Size:256        Owner:0x1c8a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5d39       Size:256        Owner:0x1c8c\r
+\e[0m\e[0mSeg:5dd5       Size:256        Owner:0x1c8c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5e39       Size:256        Owner:0x1c8e\r
+\e[0m\e[0mSeg:5ed5       Size:256        Owner:0x1c8e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:5f39       Size:256        Owner:0x1c90\r
+\e[0m\e[0mSeg:5fd5       Size:256        Owner:0x1c90\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6039       Size:256        Owner:0x1c92\r
+\e[0m\e[0mSeg:60d5       Size:256        Owner:0x1c92\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6139       Size:256        Owner:0x1c94\r
+\e[0m\e[0mSeg:61d5       Size:256        Owner:0x1c94\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6239       Size:256        Owner:0x1c96\r
+\e[0m\e[0mSeg:62d5       Size:256        Owner:0x1c96\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6339       Size:256        Owner:0x1c98\r
+\e[0m\e[0mSeg:63d5       Size:256        Owner:0x1c98\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6439       Size:256        Owner:0x1c9a\r
+\e[0m\e[0mSeg:64d5       Size:256        Owner:0x1c9a\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6539       Size:256        Owner:0x1c9c\r
+\e[0m\e[0mSeg:65d5       Size:256        Owner:0x1c9c\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6639       Size:256        Owner:0x1c9e\r
+\e[0m\e[0mSeg:66d5       Size:256        Owner:0x1c9e\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6739       Size:256        Owner:0x1ca0\r
+\e[0m\e[0mSeg:67d5       Size:256        Owner:0x1ca0\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6839       Size:256        Owner:0x1ca2\r
+\e[0m\e[0mSeg:68d5       Size:256        Owner:0x1ca2\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6939       Size:256        Owner:0x1ca4\r
+\e[0m\e[0mSeg:69d5       Size:256        Owner:0x1ca4\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6a39       Size:256        Owner:0x1ca6\r
+\e[0m\e[0mSeg:6ad5       Size:256        Owner:0x1ca6\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6b39       Size:256        Owner:0x1ca8\r
+\e[0m\e[0mSeg:6bd5       Size:256        Owner:0x1ca8\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6c39       Size:256        Owner:0x1caa\r
+\e[0m\e[0mSeg:6cd5       Size:256        Owner:0x1caa\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6d39       Size:256        Owner:0x1cac\r
+\e[0m\e[0mSeg:6dd5       Size:256        Owner:0x1cac\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6e39       Size:256        Owner:0x1cae\r
+\e[0m\e[0mSeg:6ed5       Size:256        Owner:0x1cae\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:6f39       Size:256        Owner:0x1cb0\r
+\e[0m\e[0mSeg:6fd5       Size:256        Owner:0x1cb0\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7039       Size:256        Owner:0x1cb2\r
+\e[0m\e[0mSeg:70d5       Size:256        Owner:0x1cb2\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7139       Size:256        Owner:0x1cb4\r
+\e[0m\e[0mSeg:71d5       Size:256        Owner:0x1cb4\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7239       Size:256        Owner:0x1cb6\r
+\e[0m\e[0mSeg:72d5       Size:256        Owner:0x1cb6\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7339       Size:256        Owner:0x1cb8\r
+\e[0m\e[0mSeg:73d5       Size:256        Owner:0x1cb8\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7439       Size:256        Owner:0x1cba\r
+\e[0m\e[0mSeg:74d5       Size:256        Owner:0x1cba\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7539       Size:256        Owner:0x1cbc\r
+\e[0m\e[0mSeg:75d5       Size:256        Owner:0x1cbc\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7639       Size:256        Owner:0x1cbe\r
+\e[0m\e[0mSeg:76d5       Size:256        Owner:0x1cbe\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7739       Size:256        Owner:0x1cc0\r
+\e[0m\e[0mSeg:77d5       Size:256        Owner:0x1cc0\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7839       Size:256        Owner:0x1cc2\r
+\e[0m\e[0mSeg:78d5       Size:256        Owner:0x1cc2\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7939       Size:256        Owner:0x1cc4\r
+\e[0m\e[0mSeg:79d5       Size:256        Owner:0x1cc4\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7a39       Size:256        Owner:0x1cc6\r
+\e[0m\e[0mSeg:7ad5       Size:256        Owner:0x1cc6\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7b39       Size:256        Owner:0x1cc8\r
+\e[0m\e[0mSeg:7bd5       Size:256        Owner:0x1cc8\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7c39       Size:256        Owner:0x1cca\r
+\e[0m\e[0mSeg:7cd5       Size:256        Owner:0x1cca\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7d39       Size:256        Owner:0x1ccc\r
+\e[0m\e[0mSeg:7dd5       Size:256        Owner:0x1ccc\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7e39       Size:256        Owner:0x1cce\r
+\e[0m\e[0mSeg:7ed5       Size:256        Owner:0x1cce\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:7f39       Size:256        Owner:0x1cd0\r
+\e[0m\e[0mSeg:7fd5       Size:256        Owner:0x1cd0\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8039       Size:256        Owner:0x1cd2\r
+\e[0m\e[0mSeg:80d5       Size:256        Owner:0x1cd2\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8139       Size:256        Owner:0x1cd4\r
+\e[0m\e[0mSeg:81d5       Size:256        Owner:0x1cd4\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8239       Size:256        Owner:0x1cd6\r
+\e[0m\e[0mSeg:82d5       Size:256        Owner:0x1cd6\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8339       Size:256        Owner:0x1cd8\r
+\e[0m\e[0mSeg:83d5       Size:256        Owner:0x1cd8\r
 \e[45;35m\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:8439       Size:273        Owner:0x5ddc\r
+\e[0m\e[0mSeg:84d5       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[0m\e[0mSeg:9ec1       Size:24894      Owner:0x0\r
 \e[41;31m\e[0m
\ No newline at end of file
index d03bd8bc4895b53f0975fb27b828eca1d24933cf..35aa4f0dc4311f43c3295cf33980c5174ab01136 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,51 +1,55 @@
 \r
        == near ==\r
 \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
+  USED block at 1e27:da06 of size 12\r
+  USED block at 1e27:da12 of size 320\r
+  USED block at 1e27:db52 of size 52\r
+  USED block at 1e27:db86 of size 20\r
+  USED block at 1e27:db9a of size 20\r
+  USED block at 1e27:dbae of size 20\r
+  USED block at 1e27:dbc2 of size 20\r
+  USED block at 1e27:dbd6 of size 20\r
+  FREE block at 1e27:dbea of size 9234\r
 OK - end of heap\r
 \r
        == far ==\r
 \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
+  USED block at 2e28:0016 of size 65342\r
+  USED block at 2e28:ff54 of size 20\r
+  USED block at 2e28:ff68 of size 136\r
+  FREE block at 2e28:fff0 of size 12\r
+  USED block at 3e29:0016 of size 66\r
+  USED block at 3e29:0058 of size 50\r
+  USED block at 3e29:008a of size 50\r
+  USED block at 3e29:00bc of size 50\r
+  USED block at 3e29:00ee of size 50\r
+  USED block at 3e29:0120 of size 50\r
+  USED block at 3e29:0152 of size 50\r
+  USED block at 3e29:0184 of size 50\r
+  USED block at 3e29:01b6 of size 50\r
+  USED block at 3e29:01e8 of size 50\r
+  USED block at 3e29:021a of size 50\r
+  USED block at 3e29:024c of size 50\r
+  USED block at 3e29:027e of size 50\r
+  FREE block at 3e29:02b0 of size 29552\r
+  USED block at 3e29:7620 of size 1202\r
+  USED block at 3e29:7ad2 of size 1202\r
+  USED block at 3e29:7f84 of size 1202\r
+  USED block at 3e29:8436 of size 22\r
+  FREE block at 3e29:844c of size 8202\r
+  FREE block at 3e29:a456 of size 3148\r
+  FREE block at 3e29:b0a2 of size 0\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
+Far               45170        4256      40914\r
 ----------------  --------   --------   --------\r
 HC_coreleft = 9232\r
-HC_farcoreleft = 462576\r
+HC_farcoreleft = 396888\r
+HC_GetNearFreeSize = 9234\r
+HC_GetFarFreeSize = 40914\r
 coreleft = 9232\r
-farcoreleft = 462576\r
-stackavail = 23306\r
+farcoreleft = 396888\r
+stackavail = 23262\r
diff --git a/INPUTEST.16W b/INPUTEST.16W
deleted file mode 100755 (executable)
index e69de29..0000000
diff --git a/ps.exe b/ps.exe
index 670342e28ec3affe0ce24cb4e0c6ce9ec324edf5..27626767d020fc051638375e5586e5a5d81cfb26 100755 (executable)
Binary files a/ps.exe and b/ps.exe differ
index 4fb8db7d9bf4106cdfcee9e8beac85906c27b0ce..3666dfd15ac029fdfecb361f6105d54248e1872b 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 8a75121be64804f6ee84e86072a48e21cc76757d..3c73c6e0cab554ae7a7f78a8234b8278f4ab26ea 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 __far* Size)\r
+void __near* HC_LargestFreeBlock(size_t* 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 __far* Size)\r
+void __far* HC_LargestFarFreeBlock(dword* 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 __far*h_info, hc_use_t __far*hu, unsigned nearfarswitch)\r
+void HCL_HeapWalking (struct _heapinfo *h_info, hc_use_t *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( (struct _heapinfo *)h_info );\r
-               else if(nearfarswitch==1) hu->heap_status = _fheapwalk( (struct _heapinfo *)h_info );\r
+               if(nearfarswitch==0) hu->heap_status = _nheapwalk( h_info );\r
+               else if(nearfarswitch==1) hu->heap_status = _fheapwalk( 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( (struct _heapinfo *)&nh_info );\r
+               heap_status = _nheapwalk( &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( (struct _heapinfo *)&fh_info );\r
+               heap_status = _fheapwalk( &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
@@ -549,15 +549,11 @@ dword farcoreleft()
 //     return 0x90000UL-16UL;\r
 // #endif\r
 \r
-#if !defined(__LARGE__) && !defined(__COMPACT__) && !defined(__HUGE__)\r
-//----\r
-       return 0x90000UL+16UL;\r
+//---- return 0x90000UL+16UL;\r
 //---- return 589824UL+16UL;\r
-#else\r
 //++++\r
        return HC_farcoreleft();\r
 //stack overflows      return HC_GetFarFreeSize();\r
-#endif\r
 }\r
 \r
 dword coreleft()\r
index 05774e8cc834ba60faf59909b774e38987f5b54b..36b95841ea0b8ee38a1b74985a00c41ba3e12a7e 100755 (executable)
@@ -50,9 +50,9 @@ typedef struct heapusage
 #endif\r
 \r
 //long HC_Newfarcoreleft();\r
-void __near* HC_LargestFreeBlock(size_t __far* Size);\r
+void __near* HC_LargestFreeBlock(size_t* Size);\r
 size_t HC_coreleft(void);\r
-void far* HC_LargestFarFreeBlock(dword __far* Size);\r
+void far* HC_LargestFarFreeBlock(dword* Size);\r
 unsigned long HC_farcoreleft(void);\r
 //size_t HC_GetFreeSize(void);\r
 unsigned long HC_GetFarFreeSize(void);\r
index 0d86cd248c111d00e2e199e698e7b9e7db389316..1c95d512bbb8d00df5616395bf872c12b0f66661 100755 (executable)
@@ -162,6 +162,7 @@ extern      int                     profilehandle,debughandle;      //make it into game global
 #define        nil     ((void *)0)\r
 \r
 #ifdef __WATCOMC__\r
+//#define _FCORELEFT 0x90000UL+16UL\r
 /*static union REGS CPURegs;\r
 \r
 #define _AX CPURegs.x.ax\r
index eb71b1aecc95e7ac66bcb9aed521adfcda36a15b..c543caf99a958a7d4a484c5c0444ce67bfb16954 100755 (executable)
@@ -267,7 +267,7 @@ void INL_Mouse(int x)
 //\r
 ///////////////////////////////////////////////////////////////////////////\r
 static void\r
-INL_GetMouseDelta(int __far*x,int __far*y)\r
+INL_GetMouseDelta(int *x,int *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 __far*xp,word __far*yp)\r
+IN_GetJoyAbs(word joy,word *xp,word *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 __far*dx,int __far*dy/*,boolean adaptive*/, global_game_variables_t *gvar)\r
+void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_variables_t *gvar)\r
 {\r
        word            x,y;\r
        word TimeCount = *clockw;\r
index 01d7ec1ca41a9eca4e989dad3b1a9371723bc642..c2b4b622ca1ef45acaf9477ac8dff43c6ccdbdcf 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 __far*xp,word __far*yp),\r
+                                       IN_GetJoyAbs(word joy,word *xp,word *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 __far*dx,int __far*dy/*,boolean adaptive*/, global_game_variables_t *gvar);\r
+void INL_GetJoyDelta(word joy,int *dx,int *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 1799921951aa23dc37ada73ca08ce32c3f84e8dd..4582bc68980a1f1a8ab0486fbe86bcb7da9c6422 100755 (executable)
@@ -180,7 +180,7 @@ int newloadmap(char *mn, map_t *map) {
        int status;\r
 \r
        /* Prepare parser */\r
-       jsmn_init((jsmn_parser *)&p);\r
+       jsmn_init(&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((jsmn_parser *)&p, js, file_s, NULL, 0);\r
+       tokcount = jsmn_parse(&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((jsmn_parser *)&p);\r
-       if((status = jsmn_parse((jsmn_parser *)&p, js, file_s, tok, tokcount)) < 0)\r
+       jsmn_init(&p);\r
+       if((status = jsmn_parse(&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((jsmn_parser *)&p);\r
+       jsmn_init(&p);\r
 \r
        file_s = filesize(fh);\r
        CA_LoadFile(mn, MEMPTRCONV MAPSEGINLM, gvar);\r
-       tokcount = jsmn_parse((jsmn_parser *)&p, (char const *)MAPSEGINLM, file_s, NULL, 0);\r
+       tokcount = jsmn_parse(&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((jsmn_parser *)&p);\r
-       if((status = jsmn_parse((jsmn_parser *)&p, (char const *)MAPSEGINLM, file_s, tok, tokcount)) < 0)\r
+       jsmn_init(&p);\r
+       if((status = jsmn_parse(&p, (char const *)MAPSEGINLM, file_s, tok, tokcount)) < 0)\r
        {\r
                printf("Error: %d\n", status);\r
                return status;\r
index 34e6ccb163387cc7ab8e7b35fa314b61f5d7b904..544d280aca3ba052c22747653a5ce1d922712228 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 __far*scaninfo, 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
        {\r
                byte scratch1[4];\r
                unsigned                maxq = q;\r
@@ -1631,7 +1631,8 @@ void MM_ShowMemoryDetail (unsigned x, unsigned y, unsigned w, unsigned q, sdword
                                printf("%s", AARESET);\r
                                printf("\n");\r
                        }\r
-//0000                 fprintf(stdout, "q=%u   maxq=%u\n", q, maxq);\r
+//0000printf("%s", AABLACK); fprintf(stdout, "q=%u     maxq=%u\n", q, maxq); printf("%s", AARESET);\r
+fprintf(stdout, "");   //this is a HAX to make it decrement and increment properly when it is at 0 and qmax\r
                        while (!(scancode = gvar->in.inst->LastScan)){}\r
 \r
                        IN_ClearKey(scancode);\r
index 5b7ea51ab1030aeac82f72823bae5875a5701efb..8f49942356aa7f3a7e57f559d6bce1f301cd1739 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 __far*scaninfo, 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_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 d72ab2832d9ce1c20d0410b16e6c24ff9676cade..2e6e87ba415c4fc4a2bc2a8ab21801f77a10e75b 100755 (executable)
@@ -386,7 +386,7 @@ kittenclose (void)
  * Returns a pointer to input string.\r
  */\r
 \r
-int mystrtoul(char __far*src, int base, int size, int __far*error)\r
+int mystrtoul(char *src, int base, int size, int *error)\r
 {\r
   int ret = 0;\r
 \r