]> 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 18:53:28 +0000 (12:53 -0600)
committersparky4 <sparky4@cock.li>
Tue, 17 Jan 2017 18:53:28 +0000 (12:53 -0600)
DEBUG.16W
HEAP.16W
MMDUMP.16W
src/lib/16_sprit.c
src/lib/doslib
src/vrstest.c
src/zcroll.c

index 1a1bf2ccfa1ada23584cc06cc7aea5c18a98b654..2ab6f8903a7e762ad1314d3387e78c54dcc95deb 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
-\e[0mSeg:0      Size:9969       Owner:0x0\r
-\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0000\r
-\e[0m\e[0mSeg:27b9       Size:44 Owner:0x0\r
+\e[0mSeg:0      Size:9823       Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0000\r
+\e[0m\e[0mSeg:2727       Size:44 Owner:0x0\r
 \e[41;31m+\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:27e5       Size:256        Owner:0x1964\r
-\e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:28e5       Size:256        Owner:0x1756\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:29e5       Size:256        Owner:0x1758\r
+\e[0m\e[0mSeg:2753       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[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2ae5       Size:256        Owner:0x175a\r
+\e[0m\e[0mSeg:2953       Size:256        Owner:0x1758\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2be5       Size:256        Owner:0x175c\r
+\e[0m\e[0mSeg:2a53       Size:256        Owner:0x175a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2ce5       Size:256        Owner:0x175e\r
+\e[0m\e[0mSeg:2b53       Size:256        Owner:0x175c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2de5       Size:256        Owner:0x1760\r
+\e[0m\e[0mSeg:2c53       Size:256        Owner:0x175e\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2ee5       Size:256        Owner:0x1762\r
+\e[0m\e[0mSeg:2d53       Size:256        Owner:0x1760\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2fe5       Size:256        Owner:0x1764\r
+\e[0m\e[0mSeg:2e53       Size:256        Owner:0x1762\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:30e5       Size:256        Owner:0x1766\r
+\e[0m\e[0mSeg:2f53       Size:256        Owner:0x1764\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:31e5       Size:256        Owner:0x1768\r
+\e[0m\e[0mSeg:3053       Size:256        Owner:0x1766\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:32e5       Size:256        Owner:0x176a\r
+\e[0m\e[0mSeg:3153       Size:256        Owner:0x1768\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:33e5       Size:256        Owner:0x176c\r
+\e[0m\e[0mSeg:3253       Size:256        Owner:0x176a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:34e5       Size:256        Owner:0x176e\r
+\e[0m\e[0mSeg:3353       Size:256        Owner:0x176c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:35e5       Size:256        Owner:0x1770\r
+\e[0m\e[0mSeg:3453       Size:256        Owner:0x176e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:36e5       Size:256        Owner:0x1772\r
+\e[0m\e[0mSeg:3553       Size:256        Owner:0x1770\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:37e5       Size:256        Owner:0x1774\r
+\e[0m\e[0mSeg:3653       Size:256        Owner:0x1772\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:38e5       Size:256        Owner:0x1776\r
+\e[0m\e[0mSeg:3753       Size:256        Owner:0x1774\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:39e5       Size:256        Owner:0x1778\r
+\e[0m\e[0mSeg:3853       Size:256        Owner:0x1776\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3ae5       Size:256        Owner:0x177a\r
+\e[0m\e[0mSeg:3953       Size:256        Owner:0x1778\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3be5       Size:256        Owner:0x177c\r
+\e[0m\e[0mSeg:3a53       Size:256        Owner:0x177a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3ce5       Size:256        Owner:0x177e\r
+\e[0m\e[0mSeg:3b53       Size:256        Owner:0x177c\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3de5       Size:256        Owner:0x1780\r
+\e[0m\e[0mSeg:3c53       Size:256        Owner:0x177e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3ee5       Size:256        Owner:0x1782\r
+\e[0m\e[0mSeg:3d53       Size:256        Owner:0x1780\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3fe5       Size:256        Owner:0x1784\r
+\e[0m\e[0mSeg:3e53       Size:256        Owner:0x1782\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:40e5       Size:256        Owner:0x1786\r
+\e[0m\e[0mSeg:3f53       Size:256        Owner:0x1784\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:41e5       Size:256        Owner:0x1788\r
+\e[0m\e[0mSeg:4053       Size:256        Owner:0x1786\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:42e5       Size:256        Owner:0x178a\r
+\e[0m\e[0mSeg:4153       Size:256        Owner:0x1788\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:43e5       Size:256        Owner:0x178c\r
+\e[0m\e[0mSeg:4253       Size:256        Owner:0x178a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:44e5       Size:256        Owner:0x178e\r
+\e[0m\e[0mSeg:4353       Size:256        Owner:0x178c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:45e5       Size:256        Owner:0x1790\r
+\e[0m\e[0mSeg:4453       Size:256        Owner:0x178e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:46e5       Size:256        Owner:0x1792\r
+\e[0m\e[0mSeg:4553       Size:256        Owner:0x1790\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:47e5       Size:256        Owner:0x1794\r
+\e[0m\e[0mSeg:4653       Size:256        Owner:0x1792\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:48e5       Size:256        Owner:0x1796\r
+\e[0m\e[0mSeg:4753       Size:256        Owner:0x1794\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:49e5       Size:256        Owner:0x1798\r
+\e[0m\e[0mSeg:4853       Size:256        Owner:0x1796\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4ae5       Size:256        Owner:0x179a\r
+\e[0m\e[0mSeg:4953       Size:256        Owner:0x1798\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4be5       Size:256        Owner:0x179c\r
+\e[0m\e[0mSeg:4a53       Size:256        Owner:0x179a\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4ce5       Size:256        Owner:0x179e\r
+\e[0m\e[0mSeg:4b53       Size:256        Owner:0x179c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4de5       Size:256        Owner:0x17a0\r
+\e[0m\e[0mSeg:4c53       Size:256        Owner:0x179e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4ee5       Size:256        Owner:0x17a2\r
+\e[0m\e[0mSeg:4d53       Size:256        Owner:0x17a0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4fe5       Size:256        Owner:0x17a4\r
+\e[0m\e[0mSeg:4e53       Size:256        Owner:0x17a2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:50e5       Size:256        Owner:0x17a6\r
+\e[0m\e[0mSeg:4f53       Size:256        Owner:0x17a4\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:51e5       Size:256        Owner:0x17a8\r
+\e[0m\e[0mSeg:5053       Size:256        Owner:0x17a6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:52e5       Size:256        Owner:0x17aa\r
+\e[0m\e[0mSeg:5153       Size:256        Owner:0x17a8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:53e5       Size:256        Owner:0x17ac\r
+\e[0m\e[0mSeg:5253       Size:256        Owner:0x17aa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:54e5       Size:256        Owner:0x17ae\r
+\e[0m\e[0mSeg:5353       Size:256        Owner:0x17ac\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:55e5       Size:256        Owner:0x17b0\r
+\e[0m\e[0mSeg:5453       Size:256        Owner:0x17ae\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:56e5       Size:256        Owner:0x17b2\r
+\e[0m\e[0mSeg:5553       Size:256        Owner:0x17b0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:57e5       Size:256        Owner:0x17b4\r
+\e[0m\e[0mSeg:5653       Size:256        Owner:0x17b2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:58e5       Size:256        Owner:0x17b6\r
+\e[0m\e[0mSeg:5753       Size:256        Owner:0x17b4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:59e5       Size:256        Owner:0x17b8\r
+\e[0m\e[0mSeg:5853       Size:256        Owner:0x17b6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5ae5       Size:256        Owner:0x17ba\r
+\e[0m\e[0mSeg:5953       Size:256        Owner:0x17b8\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5be5       Size:256        Owner:0x17bc\r
+\e[0m\e[0mSeg:5a53       Size:256        Owner:0x17ba\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5ce5       Size:256        Owner:0x17be\r
+\e[0m\e[0mSeg:5b53       Size:256        Owner:0x17bc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5de5       Size:256        Owner:0x17c0\r
+\e[0m\e[0mSeg:5c53       Size:256        Owner:0x17be\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5ee5       Size:256        Owner:0x17c2\r
+\e[0m\e[0mSeg:5d53       Size:256        Owner:0x17c0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5fe5       Size:256        Owner:0x17c4\r
+\e[0m\e[0mSeg:5e53       Size:256        Owner:0x17c2\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:60e5       Size:256        Owner:0x17c6\r
+\e[0m\e[0mSeg:5f53       Size:256        Owner:0x17c4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:61e5       Size:256        Owner:0x17c8\r
+\e[0m\e[0mSeg:6053       Size:256        Owner:0x17c6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:62e5       Size:256        Owner:0x17ca\r
+\e[0m\e[0mSeg:6153       Size:256        Owner:0x17c8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:63e5       Size:256        Owner:0x17cc\r
+\e[0m\e[0mSeg:6253       Size:256        Owner:0x17ca\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:64e5       Size:256        Owner:0x17ce\r
+\e[0m\e[0mSeg:6353       Size:256        Owner:0x17cc\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:65e5       Size:256        Owner:0x17d0\r
+\e[0m\e[0mSeg:6453       Size:256        Owner:0x17ce\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:66e5       Size:256        Owner:0x17d2\r
+\e[0m\e[0mSeg:6553       Size:256        Owner:0x17d0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:67e5       Size:256        Owner:0x17d4\r
+\e[0m\e[0mSeg:6653       Size:256        Owner:0x17d2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:68e5       Size:256        Owner:0x17d6\r
+\e[0m\e[0mSeg:6753       Size:256        Owner:0x17d4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:69e5       Size:256        Owner:0x17d8\r
+\e[0m\e[0mSeg:6853       Size:256        Owner:0x17d6\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6ae5       Size:256        Owner:0x17da\r
+\e[0m\e[0mSeg:6953       Size:256        Owner:0x17d8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6be5       Size:256        Owner:0x17dc\r
+\e[0m\e[0mSeg:6a53       Size:256        Owner:0x17da\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6ce5       Size:256        Owner:0x17de\r
+\e[0m\e[0mSeg:6b53       Size:256        Owner:0x17dc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6de5       Size:256        Owner:0x17e0\r
+\e[0m\e[0mSeg:6c53       Size:256        Owner:0x17de\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6ee5       Size:256        Owner:0x17e2\r
+\e[0m\e[0mSeg:6d53       Size:256        Owner:0x17e0\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6fe5       Size:256        Owner:0x17e4\r
+\e[0m\e[0mSeg:6e53       Size:256        Owner:0x17e2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:70e5       Size:256        Owner:0x17e6\r
+\e[0m\e[0mSeg:6f53       Size:256        Owner:0x17e4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:71e5       Size:256        Owner:0x17e8\r
+\e[0m\e[0mSeg:7053       Size:256        Owner:0x17e6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:72e5       Size:256        Owner:0x17ea\r
+\e[0m\e[0mSeg:7153       Size:256        Owner:0x17e8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:73e5       Size:256        Owner:0x17ec\r
+\e[0m\e[0mSeg:7253       Size:256        Owner:0x17ea\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:74e5       Size:256        Owner:0x17ee\r
+\e[0m\e[0mSeg:7353       Size:256        Owner:0x17ec\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:75e5       Size:256        Owner:0x17f0\r
+\e[0m\e[0mSeg:7453       Size:256        Owner:0x17ee\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:76e5       Size:256        Owner:0x17f2\r
+\e[0m\e[0mSeg:7553       Size:256        Owner:0x17f0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:77e5       Size:256        Owner:0x17f4\r
+\e[0m\e[0mSeg:7653       Size:256        Owner:0x17f2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:78e5       Size:256        Owner:0x17f6\r
+\e[0m\e[0mSeg:7753       Size:256        Owner:0x17f4\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:79e5       Size:256        Owner:0x17f8\r
+\e[0m\e[0mSeg:7853       Size:256        Owner:0x17f6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7ae5       Size:256        Owner:0x17fa\r
+\e[0m\e[0mSeg:7953       Size:256        Owner:0x17f8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7be5       Size:256        Owner:0x17fc\r
+\e[0m\e[0mSeg:7a53       Size:256        Owner:0x17fa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7ce5       Size:256        Owner:0x17fe\r
+\e[0m\e[0mSeg:7b53       Size:256        Owner:0x17fc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7de5       Size:256        Owner:0x1800\r
+\e[0m\e[0mSeg:7c53       Size:256        Owner:0x17fe\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7ee5       Size:256        Owner:0x1802\r
+\e[0m\e[0mSeg:7d53       Size:256        Owner:0x1800\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7fe5       Size:256        Owner:0x1804\r
+\e[0m\e[0mSeg:7e53       Size:256        Owner:0x1802\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:80e5       Size:256        Owner:0x1806\r
+\e[0m\e[0mSeg:7f53       Size:256        Owner:0x1804\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:81e5       Size:256        Owner:0x1808\r
+\e[0m\e[0mSeg:8053       Size:256        Owner:0x1806\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:82e5       Size:256        Owner:0x180a\r
+\e[0m\e[0mSeg:8153       Size:256        Owner:0x1808\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:83e5       Size:256        Owner:0x180c\r
+\e[0m\e[0mSeg:8253       Size:256        Owner:0x180a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:84e5       Size:256        Owner:0x180e\r
+\e[0m\e[0mSeg:8353       Size:256        Owner:0x180c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:85e5       Size:256        Owner:0x1810\r
+\e[0m\e[0mSeg:8453       Size:256        Owner:0x180e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:86e5       Size:256        Owner:0x1812\r
+\e[0m\e[0mSeg:8553       Size:256        Owner:0x1810\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:87e5       Size:256        Owner:0x1814\r
+\e[0m\e[0mSeg:8653       Size:256        Owner:0x1812\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:88e5       Size:256        Owner:0x1816\r
+\e[0m\e[0mSeg:8753       Size:256        Owner:0x1814\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:89e5       Size:256        Owner:0x1818\r
+\e[0m\e[0mSeg:8853       Size:256        Owner:0x1816\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8ae5       Size:256        Owner:0x181a\r
+\e[0m\e[0mSeg:8953       Size:256        Owner:0x1818\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8be5       Size:256        Owner:0x181c\r
+\e[0m\e[0mSeg:8a53       Size:256        Owner:0x181a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8ce5       Size:401        Owner:0xef32\r
+\e[0m\e[0mSeg:8b53       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[44;34m++++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:b7e5       Size:18458      Owner:0x0\r
-\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
+\e[0m\e[0mSeg:b753       Size:18604      Owner:0x0\r
+\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
index 6e8d41a3d735274a85b11925669357c27bc3a3c6..32ccf16fce6aec090893a01261c642ca75e6a58a 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,57 +1,57 @@
 \r
        == default ==\r
 \r
-  USED block at 27db0016 of size 136\r
-  FREE block at 27db009e of size 68\r
-  USED block at 27db00e2 of size 50\r
-  USED block at 27db0114 of size 50\r
-  USED block at 27db0146 of size 50\r
-  USED block at 27db0178 of size 50\r
-  USED block at 27db01aa of size 50\r
-  USED block at 27db01dc of size 50\r
-  USED block at 27db020e of size 50\r
-  USED block at 27db0240 of size 50\r
-  USED block at 27db0272 of size 50\r
-  USED block at 27db02a4 of size 50\r
-  USED block at 27db02d6 of size 50\r
-  USED block at 27db0308 of size 50\r
-  FREE block at 27db033a of size 14\r
-  USED block at 27db0348 of size 20\r
-  FREE block at 27db035c of size 7328\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
 OK - end of heap\r
 \r
        == near ==\r
 \r
-  USED block at 17daef76 of size 12\r
-  USED block at 17daef82 of size 330\r
-  USED block at 17daf0cc of size 52\r
-  USED block at 17daf100 of size 20\r
-  USED block at 17daf114 of size 20\r
-  USED block at 17daf128 of size 20\r
-  USED block at 17daf13c of size 20\r
-  USED block at 17daf150 of size 20\r
-  USED block at 17daf164 of size 3736\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
 OK - end of heap\r
 \r
        == far ==\r
 \r
-  USED block at 27db0016 of size 136\r
-  USED block at 27db009e of size 68\r
-  USED block at 27db00e2 of size 50\r
-  USED block at 27db0114 of size 50\r
-  USED block at 27db0146 of size 50\r
-  USED block at 27db0178 of size 50\r
-  USED block at 27db01aa of size 50\r
-  USED block at 27db01dc of size 50\r
-  USED block at 27db020e of size 50\r
-  USED block at 27db0240 of size 50\r
-  USED block at 27db0272 of size 50\r
-  USED block at 27db02a4 of size 50\r
-  USED block at 27db02d6 of size 50\r
-  USED block at 27db0308 of size 50\r
-  USED block at 27db033a of size 14\r
-  USED block at 27db0348 of size 20\r
-  USED block at 27db035c of size 7328\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
 OK - end of heap\r
 \r
 Memory Type         Total      Used       Free\r
index 35ca44efc59c19c3f367105ef5313185c9a15683..96cca1d9a1696eed8c6ad5a87ad1612930714d48 100755 (executable)
Binary files a/MMDUMP.16W and b/MMDUMP.16W differ
index e498250aefff4467bf6f347a8b2fcc54b7ccacc3..db5c3c1d257e7763705b86a7add5b0ccd014ec0f 100755 (executable)
@@ -97,16 +97,13 @@ void print_anim_ids(struct sprite *spri)
        }\r
 }\r
 \r
-\r
+/*\r
 void animate_spri(struct sprite *spri, global_game_variables_t *gv)\r
 {\r
        int i;\r
        // Events go here\r
 \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/*round up*/ - spri->x) >> 2;\r
-\r
        // Draw sprite\r
        i = get_vrl_by_id(spri->spritesheet, spri->curr_spri_id, spri->sprite_vrl_cont);\r
        if(i < 0)\r
@@ -114,6 +111,9 @@ void animate_spri(struct sprite *spri, global_game_variables_t *gv)
                Quit (gv, "Error retriving required sprite");\r
        }\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 - spri->x) >> 2;\r
+\r
        draw_vrl1_vgax_modex(\r
                spri->x-gv->video.page[0].dx,\r
                spri->y-gv->video.page[0].dy,\r
@@ -123,7 +123,102 @@ void animate_spri(struct sprite *spri, global_game_variables_t *gv)
                spri->sprite_vrl_cont->data_size\r
        );\r
 \r
-       /* restore stride */\r
+       // restore stride\r
+       vga_state.vga_draw_stride_limit = vga_state.vga_draw_stride = gv->video.page[0].stridew;\r
+\r
+       // Depending on delay, update indices\r
+       switch(spri->delay){\r
+               // Delay = 0 means that sprite should loop. Nothing to change here\r
+               case 0:\r
+                       break;\r
+\r
+               // Delay = 1 means that on next time unit sprite should be changed\r
+               case 1:\r
+                       spri->curr_anim_spri++;\r
+\r
+                       // If we hit the end of an animation sequence, restart it\r
+                       if(!(spri->curr_spri_id = spri->curr_anim_list[spri->curr_anim_spri].sprite_id)){\r
+                               spri->curr_anim_spri = 0;\r
+                               spri->curr_spri_id = spri->curr_anim_list[spri->curr_anim_spri].sprite_id;\r
+                       }\r
+                       spri->delay = spri->curr_anim_list[spri->curr_anim_spri].delay;\r
+\r
+               // Delay > 1 means that we should not change sprite yet. Decrease delay\r
+               default:\r
+                       spri->delay--;\r
+                       break;\r
+       }\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
+       unsigned int i,o,o2; int j;\r
+       int x,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
+                                               // if the sprite's edge pixels are clear anyway, you can set this to 0.\r
+       VGA_RAM_PTR omemptr;\r
+\r
+       // Events go here\r
+\r
+\r
+       omemptr = vga_state.vga_graphics_ram; // save original mem ptr\r
+       x=spri->x-4;\r
+\r
+       // Draw sprite\r
+       j = get_vrl_by_id(spri->spritesheet, spri->curr_spri_id, spri->sprite_vrl_cont);\r
+       if(j < 0)\r
+       {\r
+               Quit (gv, "Error retriving required sprite");\r
+       }\r
+\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
+       if (spri->y >= overdraw) ry = (spri->y - overdraw);\r
+               else ry = -(gv->video.page[0].dy);\r
+       h = spri->sprite_vrl_cont->vrl_header->height + overdraw + spri->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
+\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
+\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 = w >> 2;\r
+       vga_state.vga_graphics_ram = omemptr + VMEMPAGESIZE2;\r
+\r
+       // then the sprite. note modding ram ptr means we just draw to (x&3,0)\r
+       draw_vrl1_vgax_modex(\r
+               x-rx,\r
+               spri->y-ry,\r
+               spri->sprite_vrl_cont->vrl_header,\r
+               spri->sprite_vrl_cont->line_offsets,\r
+               spri->sprite_vrl_cont->buffer + sizeof(struct vrl1_vgax_header),\r
+               spri->sprite_vrl_cont->data_size\r
+       );\r
+\r
+       // restore ptr\r
+       vga_state.vga_graphics_ram = omemptr;\r
+\r
+       // 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
+       // 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
 \r
        // Depending on delay, update indices\r
index b68c362763ae81c36e275dc8b962558b28d46241..a4f5c4446c10647f26a89ffcba7acada1605e3c2 160000 (submodule)
@@ -1 +1 @@
-Subproject commit b68c362763ae81c36e275dc8b962558b28d46241
+Subproject commit a4f5c4446c10647f26a89ffcba7acada1605e3c2
index 73f04f42b595344f0c83942e7ef7f2e377bf5535..a7e48d1b4b53473513b16c5d458806df7b5ad3ef 100755 (executable)
@@ -97,8 +97,8 @@ void main()
        {\r
                return;\r
        }\r
-       spri.x = 160;\r
-       spri.y = 120;\r
+       spri.x = TILEWH;\r
+       spri.y = TILEWH;\r
 \r
 //     Uncomment to see broken sprites\r
 /*     sega = mm.bufferseg;\r
@@ -119,9 +119,11 @@ void main()
 \r
        /*modexLoadPalFile("data/spri/chikyuu.pal", &pal);\r
        modexPalUpdate1(pal);*/\r
-       for (i = 0; i < 5; i++){\r
-       spri.delay = 1; animate_spri(&spri, &gvar); spri.x += 16; /*sleep(1);*/ }\r
        VL_LoadPalFile("data/spri/chikyuu.pal", &palette);\r
+       for (i = 0; i < 5; i++){\r
+               spri.delay = 1; animate_spri(&spri, &gvar);// spri.x += 16;\r
+               sleep(1);\r
+       }\r
 \r
        while(!IN_KeyDown(sc_Escape))\r
        {\r
index 0adf27512498889c1dcff970e4853d4852e38960..92f54d09dc71db352c385db40e2e6e82a7297ef7 100755 (executable)
@@ -188,10 +188,10 @@ void main(int argc, char *argv[])
                        {\r
                                case 11:\r
                                        i=0;\r
-                                       player[0].ent->spri->x = 0;\r
+                                       player[0].ent->spri->x = TILEWH;\r
                                default:\r
                                        i++;\r
-                                       player[0].ent->spri->delay = 1; animate_spri((player[0].ent->spri), &gvar); player[0].ent->spri->x += 20;\r
+                                       player[0].ent->spri->delay = 1; animate_spri((player[0].ent->spri), &gvar);// player[0].ent->spri->x += 16;\r
                                break;\r
                        }\r
                }\r