]> 4ch.mooo.com Git - 16.git/commitdiff
palllist not being worked on right now... i will work on sprite animation VERY soon
authorsparky4 <sparky4@cock.li>
Tue, 17 Jan 2017 19:31:40 +0000 (13:31 -0600)
committersparky4 <sparky4@cock.li>
Tue, 17 Jan 2017 19:31:40 +0000 (13:31 -0600)
DEBUG.16W
HEAP.16W
MMDUMP.16W
src/lib/16_sprit.c
src/lib/scroll16.c
src/lib/scroll16.h

index 2ab6f8903a7e762ad1314d3387e78c54dcc95deb..8eb06ade7470f097f0ecfbb69a12fab5b63fe21a 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
-\e[0mSeg:0      Size:9823       Owner:0x0\r
+\e[0mSeg:0      Size:9822       Owner:0x0\r
 \e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0000\r
-\e[0m\e[0mSeg:2727       Size:44 Owner:0x0\r
+\e[0m\e[0mSeg:2726       Size:44 Owner:0x0\r
 \e[41;31m+\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2753       Size:256        Owner:0x1964\r
+\e[0m\e[0mSeg:2752       Size:256        Owner:0x1964\r
 \e[44;34m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2853       Size:256        Owner:0x1756\r
+\e[0m\e[0mSeg:2852       Size:256        Owner:0x1756\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2953       Size:256        Owner:0x1758\r
+\e[0m\e[0mSeg:2952       Size:256        Owner:0x1758\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2a53       Size:256        Owner:0x175a\r
+\e[0m\e[0mSeg:2a52       Size:256        Owner:0x175a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2b53       Size:256        Owner:0x175c\r
+\e[0m\e[0mSeg:2b52       Size:256        Owner:0x175c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2c53       Size:256        Owner:0x175e\r
+\e[0m\e[0mSeg:2c52       Size:256        Owner:0x175e\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2d53       Size:256        Owner:0x1760\r
+\e[0m\e[0mSeg:2d52       Size:256        Owner:0x1760\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2e53       Size:256        Owner:0x1762\r
+\e[0m\e[0mSeg:2e52       Size:256        Owner:0x1762\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2f53       Size:256        Owner:0x1764\r
+\e[0m\e[0mSeg:2f52       Size:256        Owner:0x1764\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3053       Size:256        Owner:0x1766\r
+\e[0m\e[0mSeg:3052       Size:256        Owner:0x1766\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3153       Size:256        Owner:0x1768\r
+\e[0m\e[0mSeg:3152       Size:256        Owner:0x1768\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3253       Size:256        Owner:0x176a\r
+\e[0m\e[0mSeg:3252       Size:256        Owner:0x176a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3353       Size:256        Owner:0x176c\r
+\e[0m\e[0mSeg:3352       Size:256        Owner:0x176c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3453       Size:256        Owner:0x176e\r
+\e[0m\e[0mSeg:3452       Size:256        Owner:0x176e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3553       Size:256        Owner:0x1770\r
+\e[0m\e[0mSeg:3552       Size:256        Owner:0x1770\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3653       Size:256        Owner:0x1772\r
+\e[0m\e[0mSeg:3652       Size:256        Owner:0x1772\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3753       Size:256        Owner:0x1774\r
+\e[0m\e[0mSeg:3752       Size:256        Owner:0x1774\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3853       Size:256        Owner:0x1776\r
+\e[0m\e[0mSeg:3852       Size:256        Owner:0x1776\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3953       Size:256        Owner:0x1778\r
+\e[0m\e[0mSeg:3952       Size:256        Owner:0x1778\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3a53       Size:256        Owner:0x177a\r
+\e[0m\e[0mSeg:3a52       Size:256        Owner:0x177a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3b53       Size:256        Owner:0x177c\r
+\e[0m\e[0mSeg:3b52       Size:256        Owner:0x177c\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3c53       Size:256        Owner:0x177e\r
+\e[0m\e[0mSeg:3c52       Size:256        Owner:0x177e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3d53       Size:256        Owner:0x1780\r
+\e[0m\e[0mSeg:3d52       Size:256        Owner:0x1780\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3e53       Size:256        Owner:0x1782\r
+\e[0m\e[0mSeg:3e52       Size:256        Owner:0x1782\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3f53       Size:256        Owner:0x1784\r
+\e[0m\e[0mSeg:3f52       Size:256        Owner:0x1784\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4053       Size:256        Owner:0x1786\r
+\e[0m\e[0mSeg:4052       Size:256        Owner:0x1786\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4153       Size:256        Owner:0x1788\r
+\e[0m\e[0mSeg:4152       Size:256        Owner:0x1788\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4253       Size:256        Owner:0x178a\r
+\e[0m\e[0mSeg:4252       Size:256        Owner:0x178a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4353       Size:256        Owner:0x178c\r
+\e[0m\e[0mSeg:4352       Size:256        Owner:0x178c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4453       Size:256        Owner:0x178e\r
+\e[0m\e[0mSeg:4452       Size:256        Owner:0x178e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4553       Size:256        Owner:0x1790\r
+\e[0m\e[0mSeg:4552       Size:256        Owner:0x1790\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4653       Size:256        Owner:0x1792\r
+\e[0m\e[0mSeg:4652       Size:256        Owner:0x1792\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4753       Size:256        Owner:0x1794\r
+\e[0m\e[0mSeg:4752       Size:256        Owner:0x1794\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4853       Size:256        Owner:0x1796\r
+\e[0m\e[0mSeg:4852       Size:256        Owner:0x1796\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4953       Size:256        Owner:0x1798\r
+\e[0m\e[0mSeg:4952       Size:256        Owner:0x1798\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4a53       Size:256        Owner:0x179a\r
+\e[0m\e[0mSeg:4a52       Size:256        Owner:0x179a\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4b53       Size:256        Owner:0x179c\r
+\e[0m\e[0mSeg:4b52       Size:256        Owner:0x179c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4c53       Size:256        Owner:0x179e\r
+\e[0m\e[0mSeg:4c52       Size:256        Owner:0x179e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4d53       Size:256        Owner:0x17a0\r
+\e[0m\e[0mSeg:4d52       Size:256        Owner:0x17a0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4e53       Size:256        Owner:0x17a2\r
+\e[0m\e[0mSeg:4e52       Size:256        Owner:0x17a2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4f53       Size:256        Owner:0x17a4\r
+\e[0m\e[0mSeg:4f52       Size:256        Owner:0x17a4\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5053       Size:256        Owner:0x17a6\r
+\e[0m\e[0mSeg:5052       Size:256        Owner:0x17a6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5153       Size:256        Owner:0x17a8\r
+\e[0m\e[0mSeg:5152       Size:256        Owner:0x17a8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5253       Size:256        Owner:0x17aa\r
+\e[0m\e[0mSeg:5252       Size:256        Owner:0x17aa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5353       Size:256        Owner:0x17ac\r
+\e[0m\e[0mSeg:5352       Size:256        Owner:0x17ac\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5453       Size:256        Owner:0x17ae\r
+\e[0m\e[0mSeg:5452       Size:256        Owner:0x17ae\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5553       Size:256        Owner:0x17b0\r
+\e[0m\e[0mSeg:5552       Size:256        Owner:0x17b0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5653       Size:256        Owner:0x17b2\r
+\e[0m\e[0mSeg:5652       Size:256        Owner:0x17b2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5753       Size:256        Owner:0x17b4\r
+\e[0m\e[0mSeg:5752       Size:256        Owner:0x17b4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5853       Size:256        Owner:0x17b6\r
+\e[0m\e[0mSeg:5852       Size:256        Owner:0x17b6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5953       Size:256        Owner:0x17b8\r
+\e[0m\e[0mSeg:5952       Size:256        Owner:0x17b8\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5a53       Size:256        Owner:0x17ba\r
+\e[0m\e[0mSeg:5a52       Size:256        Owner:0x17ba\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5b53       Size:256        Owner:0x17bc\r
+\e[0m\e[0mSeg:5b52       Size:256        Owner:0x17bc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5c53       Size:256        Owner:0x17be\r
+\e[0m\e[0mSeg:5c52       Size:256        Owner:0x17be\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5d53       Size:256        Owner:0x17c0\r
+\e[0m\e[0mSeg:5d52       Size:256        Owner:0x17c0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5e53       Size:256        Owner:0x17c2\r
+\e[0m\e[0mSeg:5e52       Size:256        Owner:0x17c2\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5f53       Size:256        Owner:0x17c4\r
+\e[0m\e[0mSeg:5f52       Size:256        Owner:0x17c4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6053       Size:256        Owner:0x17c6\r
+\e[0m\e[0mSeg:6052       Size:256        Owner:0x17c6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6153       Size:256        Owner:0x17c8\r
+\e[0m\e[0mSeg:6152       Size:256        Owner:0x17c8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6253       Size:256        Owner:0x17ca\r
+\e[0m\e[0mSeg:6252       Size:256        Owner:0x17ca\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6353       Size:256        Owner:0x17cc\r
+\e[0m\e[0mSeg:6352       Size:256        Owner:0x17cc\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6453       Size:256        Owner:0x17ce\r
+\e[0m\e[0mSeg:6452       Size:256        Owner:0x17ce\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6553       Size:256        Owner:0x17d0\r
+\e[0m\e[0mSeg:6552       Size:256        Owner:0x17d0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6653       Size:256        Owner:0x17d2\r
+\e[0m\e[0mSeg:6652       Size:256        Owner:0x17d2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6753       Size:256        Owner:0x17d4\r
+\e[0m\e[0mSeg:6752       Size:256        Owner:0x17d4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6853       Size:256        Owner:0x17d6\r
+\e[0m\e[0mSeg:6852       Size:256        Owner:0x17d6\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6953       Size:256        Owner:0x17d8\r
+\e[0m\e[0mSeg:6952       Size:256        Owner:0x17d8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6a53       Size:256        Owner:0x17da\r
+\e[0m\e[0mSeg:6a52       Size:256        Owner:0x17da\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6b53       Size:256        Owner:0x17dc\r
+\e[0m\e[0mSeg:6b52       Size:256        Owner:0x17dc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6c53       Size:256        Owner:0x17de\r
+\e[0m\e[0mSeg:6c52       Size:256        Owner:0x17de\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6d53       Size:256        Owner:0x17e0\r
+\e[0m\e[0mSeg:6d52       Size:256        Owner:0x17e0\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6e53       Size:256        Owner:0x17e2\r
+\e[0m\e[0mSeg:6e52       Size:256        Owner:0x17e2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6f53       Size:256        Owner:0x17e4\r
+\e[0m\e[0mSeg:6f52       Size:256        Owner:0x17e4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7053       Size:256        Owner:0x17e6\r
+\e[0m\e[0mSeg:7052       Size:256        Owner:0x17e6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7153       Size:256        Owner:0x17e8\r
+\e[0m\e[0mSeg:7152       Size:256        Owner:0x17e8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7253       Size:256        Owner:0x17ea\r
+\e[0m\e[0mSeg:7252       Size:256        Owner:0x17ea\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7353       Size:256        Owner:0x17ec\r
+\e[0m\e[0mSeg:7352       Size:256        Owner:0x17ec\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7453       Size:256        Owner:0x17ee\r
+\e[0m\e[0mSeg:7452       Size:256        Owner:0x17ee\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7553       Size:256        Owner:0x17f0\r
+\e[0m\e[0mSeg:7552       Size:256        Owner:0x17f0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7653       Size:256        Owner:0x17f2\r
+\e[0m\e[0mSeg:7652       Size:256        Owner:0x17f2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7753       Size:256        Owner:0x17f4\r
+\e[0m\e[0mSeg:7752       Size:256        Owner:0x17f4\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7853       Size:256        Owner:0x17f6\r
+\e[0m\e[0mSeg:7852       Size:256        Owner:0x17f6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7953       Size:256        Owner:0x17f8\r
+\e[0m\e[0mSeg:7952       Size:256        Owner:0x17f8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7a53       Size:256        Owner:0x17fa\r
+\e[0m\e[0mSeg:7a52       Size:256        Owner:0x17fa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7b53       Size:256        Owner:0x17fc\r
+\e[0m\e[0mSeg:7b52       Size:256        Owner:0x17fc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7c53       Size:256        Owner:0x17fe\r
+\e[0m\e[0mSeg:7c52       Size:256        Owner:0x17fe\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7d53       Size:256        Owner:0x1800\r
+\e[0m\e[0mSeg:7d52       Size:256        Owner:0x1800\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7e53       Size:256        Owner:0x1802\r
+\e[0m\e[0mSeg:7e52       Size:256        Owner:0x1802\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7f53       Size:256        Owner:0x1804\r
+\e[0m\e[0mSeg:7f52       Size:256        Owner:0x1804\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8053       Size:256        Owner:0x1806\r
+\e[0m\e[0mSeg:8052       Size:256        Owner:0x1806\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8153       Size:256        Owner:0x1808\r
+\e[0m\e[0mSeg:8152       Size:256        Owner:0x1808\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8253       Size:256        Owner:0x180a\r
+\e[0m\e[0mSeg:8252       Size:256        Owner:0x180a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8353       Size:256        Owner:0x180c\r
+\e[0m\e[0mSeg:8352       Size:256        Owner:0x180c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8453       Size:256        Owner:0x180e\r
+\e[0m\e[0mSeg:8452       Size:256        Owner:0x180e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8553       Size:256        Owner:0x1810\r
+\e[0m\e[0mSeg:8552       Size:256        Owner:0x1810\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8653       Size:256        Owner:0x1812\r
+\e[0m\e[0mSeg:8652       Size:256        Owner:0x1812\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8753       Size:256        Owner:0x1814\r
+\e[0m\e[0mSeg:8752       Size:256        Owner:0x1814\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8853       Size:256        Owner:0x1816\r
+\e[0m\e[0mSeg:8852       Size:256        Owner:0x1816\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8953       Size:256        Owner:0x1818\r
+\e[0m\e[0mSeg:8952       Size:256        Owner:0x1818\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8a53       Size:256        Owner:0x181a\r
+\e[0m\e[0mSeg:8a52       Size:256        Owner:0x181a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8b53       Size:256        Owner:0x181c\r
+\e[0m\e[0mSeg:8b52       Size:256        Owner:0x181c\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8c53       Size:401        Owner:0xef32\r
+\e[0m\e[0mSeg:8c52       Size:401        Owner:0xef32\r
 \e[44;34m++++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:b753       Size:18604      Owner:0x0\r
+\e[0m\e[0mSeg:b752       Size:18605      Owner:0x0\r
 \e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
index 32ccf16fce6aec090893a01261c642ca75e6a58a..456f1a6238b60a6f16ca4e7a99ee22a37d93f6ef 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,57 +1,57 @@
 \r
        == default ==\r
 \r
-  USED block at 27490016 of size 136\r
-  FREE block at 2749009e of size 68\r
-  USED block at 274900e2 of size 50\r
-  USED block at 27490114 of size 50\r
-  USED block at 27490146 of size 50\r
-  USED block at 27490178 of size 50\r
-  USED block at 274901aa of size 50\r
-  USED block at 274901dc of size 50\r
-  USED block at 2749020e of size 50\r
-  USED block at 27490240 of size 50\r
-  USED block at 27490272 of size 50\r
-  USED block at 274902a4 of size 50\r
-  USED block at 274902d6 of size 50\r
-  USED block at 27490308 of size 50\r
-  FREE block at 2749033a of size 14\r
-  USED block at 27490348 of size 20\r
-  FREE block at 2749035c of size 7328\r
+  USED block at 27480016 of size 136\r
+  FREE block at 2748009e of size 68\r
+  USED block at 274800e2 of size 50\r
+  USED block at 27480114 of size 50\r
+  USED block at 27480146 of size 50\r
+  USED block at 27480178 of size 50\r
+  USED block at 274801aa of size 50\r
+  USED block at 274801dc of size 50\r
+  USED block at 2748020e of size 50\r
+  USED block at 27480240 of size 50\r
+  USED block at 27480272 of size 50\r
+  USED block at 274802a4 of size 50\r
+  USED block at 274802d6 of size 50\r
+  USED block at 27480308 of size 50\r
+  FREE block at 2748033a of size 14\r
+  USED block at 27480348 of size 20\r
+  FREE block at 2748035c of size 7328\r
 OK - end of heap\r
 \r
        == near ==\r
 \r
-  USED block at 1748ef76 of size 12\r
-  USED block at 1748ef82 of size 330\r
-  USED block at 1748f0cc of size 52\r
-  USED block at 1748f100 of size 20\r
-  USED block at 1748f114 of size 20\r
-  USED block at 1748f128 of size 20\r
-  USED block at 1748f13c of size 20\r
-  USED block at 1748f150 of size 20\r
-  USED block at 1748f164 of size 3736\r
+  USED block at 1747ef76 of size 12\r
+  USED block at 1747ef82 of size 330\r
+  USED block at 1747f0cc of size 52\r
+  USED block at 1747f100 of size 20\r
+  USED block at 1747f114 of size 20\r
+  USED block at 1747f128 of size 20\r
+  USED block at 1747f13c of size 20\r
+  USED block at 1747f150 of size 20\r
+  USED block at 1747f164 of size 3736\r
 OK - end of heap\r
 \r
        == far ==\r
 \r
-  USED block at 27490016 of size 136\r
-  USED block at 2749009e of size 68\r
-  USED block at 274900e2 of size 50\r
-  USED block at 27490114 of size 50\r
-  USED block at 27490146 of size 50\r
-  USED block at 27490178 of size 50\r
-  USED block at 274901aa of size 50\r
-  USED block at 274901dc of size 50\r
-  USED block at 2749020e of size 50\r
-  USED block at 27490240 of size 50\r
-  USED block at 27490272 of size 50\r
-  USED block at 274902a4 of size 50\r
-  USED block at 274902d6 of size 50\r
-  USED block at 27490308 of size 50\r
-  USED block at 2749033a of size 14\r
-  USED block at 27490348 of size 20\r
-  USED block at 2749035c of size 7328\r
+  USED block at 27480016 of size 136\r
+  USED block at 2748009e of size 68\r
+  USED block at 274800e2 of size 50\r
+  USED block at 27480114 of size 50\r
+  USED block at 27480146 of size 50\r
+  USED block at 27480178 of size 50\r
+  USED block at 274801aa of size 50\r
+  USED block at 274801dc of size 50\r
+  USED block at 2748020e of size 50\r
+  USED block at 27480240 of size 50\r
+  USED block at 27480272 of size 50\r
+  USED block at 274802a4 of size 50\r
+  USED block at 274802d6 of size 50\r
+  USED block at 27480308 of size 50\r
+  USED block at 2748033a of size 14\r
+  USED block at 27480348 of size 20\r
+  USED block at 2748035c of size 7328\r
 OK - end of heap\r
 \r
 Memory Type         Total      Used       Free\r
index 96cca1d9a1696eed8c6ad5a87ad1612930714d48..8d3b00cfafde601881133d69ad6630238c7dd2f3 100755 (executable)
Binary files a/MMDUMP.16W and b/MMDUMP.16W differ
index 2ca0a59a55b50cd6086f2a61db446ba5ba0982d7..e74b3907ef23383b640b19c8c259dcb510c7379c 100755 (executable)
@@ -152,8 +152,9 @@ void animate_spri(struct sprite *spri, global_game_variables_t *gv)
 */\r
 void animate_spri(struct sprite *spri, global_game_variables_t *gv)\r
 {\r
-#define VMEMPAGESIZE2  gv->video.page[0].pagesize+gv->video.page[1].pagesize\r
-#define VMEMPAGEDATA2  gv->video.page[2].data\r
+#define GVARVIDEO gv->video\r
+#define VMEMPAGESIZE2  GVARVIDEO.page[0].pagesize+GVARVIDEO.page[1].pagesize\r
+#define VMEMPAGEDATA2  GVARVIDEO.page[2].data\r
        unsigned int i,o,o2; int j;\r
        int x,y,rx,ry,w,h;\r
        int overdraw = 1;       // how many pixels to "overdraw" so that moving sprites with edge pixels don't leave streaks.\r
@@ -176,25 +177,25 @@ void animate_spri(struct sprite *spri, global_game_variables_t *gv)
 \r
        // render box bounds. y does not need modification, but x and width must be multiple of 4\r
        if (x >= overdraw) rx = (x - overdraw) & (~3);\r
-               else rx = -(gv->video.page[0].dx);\r
+               else rx = -(GVARVIDEO.page[0].dx);\r
        if (y >= overdraw) ry = (y - overdraw);\r
-               else ry = -(gv->video.page[0].dy);\r
+               else ry = -(GVARVIDEO.page[0].dy);\r
        h = spri->sprite_vrl_cont->vrl_header->height + overdraw + y - ry;\r
        w = (x + spri->sprite_vrl_cont->vrl_header->width + (overdraw*2) + 3 - rx) & (~3);//round up\r
-       if ((rx+w) > gv->video.page[0].width) w = gv->video.page[0].width-rx;\r
-       if ((ry+h) > gv->video.page[0].height) h = gv->video.page[0].height-ry;\r
+       if ((rx+w) > GVARVIDEO.page[0].width) w = GVARVIDEO.page[0].width-rx;\r
+       if ((ry+h) > GVARVIDEO.page[0].height) h = GVARVIDEO.page[0].height-ry;\r
 \r
        // block copy pattern to where we will draw the sprite\r
        vga_setup_wm1_block_copy();\r
        o2 = VMEMPAGESIZE2;\r
-       o = (0x10000UL - (uint16_t)VMEMPAGEDATA2) + (ry * gv->video.page[0].stridew) + (rx >> 2); // source offscreen\r
-       for (i=0;i < h;i++,o += gv->video.page[0].stridew,o2 += (w >> 2)) vga_wm1_mem_block_copy(o2,o,w >> 2);\r
+       o = (0x10000UL - (uint16_t)VMEMPAGEDATA2) + (ry * GVARVIDEO.page[0].stridew) + (rx >> 2); // source offscreen\r
+       for (i=0;i < h;i++,o += GVARVIDEO.page[0].stridew,o2 += (w >> 2)) vga_wm1_mem_block_copy(o2,o,w >> 2);\r
 \r
        // must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally\r
        vga_restore_rm0wm0();\r
 \r
        // replace VGA stride with our own and mem ptr. then sprite rendering at this stage is just (0,0)\r
-       vga_state.vga_draw_stride_limit = (gv->video.page[0].width + 3 - x) >> 2;//round up\r
+       vga_state.vga_draw_stride_limit = (GVARVIDEO.page[0].width + 3 - x) >> 2;//round up\r
        vga_state.vga_draw_stride = w >> 2;\r
        vga_state.vga_graphics_ram = omemptr + VMEMPAGESIZE2;\r
 \r
@@ -214,13 +215,13 @@ void animate_spri(struct sprite *spri, global_game_variables_t *gv)
        // block copy to visible RAM from offscreen\r
        vga_setup_wm1_block_copy();\r
        o = VMEMPAGESIZE2; // source offscreen\r
-       o2 = (ry * gv->video.page[0].stridew) + (rx >> 2); // dest visible (original stride)\r
-       for (i=0;i < h;i++,o += vga_state.vga_draw_stride,o2 += gv->video.page[0].stridew) vga_wm1_mem_block_copy(o2,o,w >> 2);\r
+       o2 = (ry * GVARVIDEO.page[0].stridew) + (rx >> 2); // dest visible (original stride)\r
+       for (i=0;i < h;i++,o += vga_state.vga_draw_stride,o2 += GVARVIDEO.page[0].stridew) vga_wm1_mem_block_copy(o2,o,w >> 2);\r
        // must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally\r
        vga_restore_rm0wm0();\r
 \r
        // restore stride\r
-       vga_state.vga_draw_stride_limit = vga_state.vga_draw_stride = gv->video.page[0].stridew;\r
+       vga_state.vga_draw_stride_limit = vga_state.vga_draw_stride = GVARVIDEO.page[0].stridew;\r
 \r
        // Depending on delay, update indices\r
        switch(spri->delay){\r
index 7dd71342986882da77e2d47db62931b7e588ac85..8a29dc79b69e776a612f6dcbaa4bb7945caee971 100755 (executable)
@@ -1196,9 +1196,11 @@ void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scroll
 }\r
 \r
 /*\r
+void animate_spri(struct sprite *spri, global_game_variables_t *gv)\r
 {\r
-#define VMEMPAGESIZE2  gv->video.page[0].pagesize+gv->video.page[1].pagesize\r
-#define VMEMPAGEDATA2  gv->video.page[2].data\r
+#define GVARVIDEO gv->video\r
+#define VMEMPAGESIZE2  GVARVIDEO.page[0].pagesize+GVARVIDEO.page[1].pagesize\r
+#define VMEMPAGEDATA2  GVARVIDEO.page[2].data\r
        unsigned int i,o,o2; int j;\r
        int x,y,rx,ry,w,h;\r
        int overdraw = 1;       // how many pixels to "overdraw" so that moving sprites with edge pixels don't leave streaks.\r
@@ -1221,25 +1223,25 @@ void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scroll
 \r
        // render box bounds. y does not need modification, but x and width must be multiple of 4\r
        if (x >= overdraw) rx = (x - overdraw) & (~3);\r
-               else rx = -(gv->video.page[0].dx);\r
+               else rx = -(GVARVIDEO.page[0].dx);\r
        if (y >= overdraw) ry = (y - overdraw);\r
-               else ry = -(gv->video.page[0].dy);\r
+               else ry = -(GVARVIDEO.page[0].dy);\r
        h = spri->sprite_vrl_cont->vrl_header->height + overdraw + y - ry;\r
        w = (x + spri->sprite_vrl_cont->vrl_header->width + (overdraw*2) + 3 - rx) & (~3);//round up\r
-       if ((rx+w) > gv->video.page[0].width) w = gv->video.page[0].width-rx;\r
-       if ((ry+h) > gv->video.page[0].height) h = gv->video.page[0].height-ry;\r
+       if ((rx+w) > GVARVIDEO.page[0].width) w = GVARVIDEO.page[0].width-rx;\r
+       if ((ry+h) > GVARVIDEO.page[0].height) h = GVARVIDEO.page[0].height-ry;\r
 \r
        // block copy pattern to where we will draw the sprite\r
        vga_setup_wm1_block_copy();\r
        o2 = VMEMPAGESIZE2;\r
-       o = (0x10000UL - (uint16_t)VMEMPAGEDATA2) + (ry * gv->video.page[0].stridew) + (rx >> 2); // source offscreen\r
-       for (i=0;i < h;i++,o += gv->video.page[0].stridew,o2 += (w >> 2)) vga_wm1_mem_block_copy(o2,o,w >> 2);\r
+       o = (0x10000UL - (uint16_t)VMEMPAGEDATA2) + (ry * GVARVIDEO.page[0].stridew) + (rx >> 2); // source offscreen\r
+       for (i=0;i < h;i++,o += GVARVIDEO.page[0].stridew,o2 += (w >> 2)) vga_wm1_mem_block_copy(o2,o,w >> 2);\r
 \r
        // must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally\r
        vga_restore_rm0wm0();\r
 \r
        // replace VGA stride with our own and mem ptr. then sprite rendering at this stage is just (0,0)\r
-       vga_state.vga_draw_stride_limit = (gv->video.page[0].width + 3 - x) >> 2;//round up\r
+       vga_state.vga_draw_stride_limit = (GVARVIDEO.page[0].width + 3 - x) >> 2;//round up\r
        vga_state.vga_draw_stride = w >> 2;\r
        vga_state.vga_graphics_ram = omemptr + VMEMPAGESIZE2;\r
 \r
@@ -1259,13 +1261,13 @@ void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scroll
        // block copy to visible RAM from offscreen\r
        vga_setup_wm1_block_copy();\r
        o = VMEMPAGESIZE2; // source offscreen\r
-       o2 = (ry * gv->video.page[0].stridew) + (rx >> 2); // dest visible (original stride)\r
-       for (i=0;i < h;i++,o += vga_state.vga_draw_stride,o2 += gv->video.page[0].stridew) vga_wm1_mem_block_copy(o2,o,w >> 2);\r
+       o2 = (ry * GVARVIDEO.page[0].stridew) + (rx >> 2); // dest visible (original stride)\r
+       for (i=0;i < h;i++,o += vga_state.vga_draw_stride,o2 += GVARVIDEO.page[0].stridew) vga_wm1_mem_block_copy(o2,o,w >> 2);\r
        // must restore Write Mode 0/Read Mode 0 for this code to continue drawing normally\r
        vga_restore_rm0wm0();\r
 \r
        // restore stride\r
-       vga_state.vga_draw_stride_limit = vga_state.vga_draw_stride = gv->video.page[0].stridew;\r
+       vga_state.vga_draw_stride_limit = vga_state.vga_draw_stride = GVARVIDEO.page[0].stridew;\r
 \r
        // Depending on delay, update indices\r
        switch(spri->delay){\r
@@ -1292,16 +1294,18 @@ void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scroll
 }\r
 */\r
 //void animate_spri(struct sprite *spri, global_game_variables_t *gv)\r
-void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch, global_game_variables_t *gv)\r
+void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch)\r
 {\r
+       struct sprite *spri = player[pn].ent->spri;\r
        sword x = player[pn].enti.x;\r
        sword y = player[pn].enti.y;\r
-       sword bx = x+16;        //buffer's x\r
-       sword by = y+16;        //buffer's y\r
        word dire=32; //direction\r
        sword qq; //scroll offset\r
        word ls = player[pn].enti.persist_aniframe;\r
 \r
+       spri->x=x;\r
+       spri->y=y;\r
+\r
        switch(scrollswitch)\r
        {\r
                case 0:\r
@@ -1319,13 +1323,11 @@ void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scr
                        //up\r
                        dire*=player[pn].enti.d;\r
                        y-=qq;\r
-                       by-=4;\r
                break;\r
                case 3:\r
                        // right\r
                        dire*=(player[pn].enti.d-2);\r
                        x+=qq;\r
-                       bx+=4;\r
                break;\r
                case 2:\r
                break;\r
@@ -1333,56 +1335,38 @@ void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scr
                        //down\r
                        dire*=(player[pn].enti.d-2);\r
                        y+=qq;\r
-                       by+=4;\r
                break;\r
                case 1:\r
                        //left\r
                        dire*=(player[pn].enti.d+2);\r
                        x-=qq;\r
-                       bx-=4;\r
                break;\r
        }\r
 \r
-       //if(!pageflipflop)\r
-       //      modexCopyPageRegion(pip[1].page, pip[0].page, x-4, y-4, x-4, y-4, 28, 36);\r
-       //else{\r
-               //copy old bg to page0\r
-               //modexCopyPageRegion(pip[3].page, pip[0].page, bx, by, 0, 0,   20, 36);\r
-               //update buffer\r
-               //modexCopyPageRegion(pip[0].page, pip[3].page, 0, 0,   x, y,   20, 36);\r
-       //}\r
-//modexCopyPageRegion(page_t *dest, page_t *src, word sx, word sy, word dx, word dy, word width, word height);\r
-       //modexCopyPageRegion(pip[3].page, pip[!(pip->video->p)].page, x-4, y-4, 0, 128, 28, 36);\r
-       /*modexCopyPageRegion(pip[pip->video->p].page,\r
- pip[!(pip->video->p)].page, x-4, y-4, x-4, y-4, 28, 36);*/\r
-//     else modexCopyPageRegion(pip[1].page, pip[0].page, x-4, y-4, x-4, y-4, 28, 40);\r
-\r
 //#define FRAME1 modexClearRegion(pip[/*!*/(pip->video->p)].page, x, y, 24, 32, 2+dire);\r
 //#define FRAME2 modexClearRegion(pip[/*!*/(pip->video->p)].page, x, y, 24, 32, 1+dire);\r
 //#define FRAME3 modexClearRegion(pip[/*!*/(pip->video->p)].page, x, y, 24, 32, dire);\r
 //#define FRAME4 modexClearRegion(pip[/*!*/(pip->video->p)].page, x, y, 24, 32, 1+dire);\r
+#define NFRAME1\r
+#define NFRAME2\r
+#define NFRAME3\r
+#define NFRAME4\r
 \r
        switch(ls)\r
        {\r
                case 1:\r
-                       FRAME1\r
+                       NFRAME1\r
                break;\r
                case 2:\r
-                       FRAME2\r
+                       NFRAME2\r
                break;\r
                case 3:\r
-                       FRAME3\r
+                       NFRAME3\r
                break;\r
                case 4:\r
-                       FRAME4\r
+                       NFRAME4\r
                break;\r
        }\r
-//     if(2>ls && ls>=1) { FRAME1 }else\r
-//     if(3>ls && ls>=2) { FRAME2 }else\r
-//     if(4>ls && ls>=3) { FRAME3 }else\r
-//     if(5>ls && ls>=4) { FRAME4 }\r
-       //modexCopyPageRegion(pip[0].page, pip[3].page, 0, 0, x, y, 24, 32);\r
-       //printf("x=%d  y=%d    bx=%d           by=%d\n", x, y, bx, by);\r
        pip->video->r=1;\r
 }\r
 \r
index 382b385750c55aa981a6a47d92b6208e23dc37c9..f514f416fdad892379a01109582ef9446e242051 100755 (executable)
@@ -163,7 +163,7 @@ void mapDrawWCol(map_view_t *mv, int tx, int ty, word x);
 //void qclean();\r
 void shinku(global_game_variables_t *gv);\r
 void near animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch);\r
-void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch, global_game_variables_t *gv);\r
+void near ZC_animatePlayer(map_view_t *pip, player_t *player, word pn, sword scrollswitch);\r
 \r
 // Move an entity around. Should actually be in 16_entity\r
 boolean ZC_walk2(entity_t *ent, map_view_t *map_v);\r