]> 4ch.mooo.com Git - 16.git/commitdiff
made palllist.exe as an experiment for me to make a palette system i want for p16...
authorsparky4 <sparky4@cock.li>
Fri, 13 Jan 2017 18:43:47 +0000 (12:43 -0600)
committersparky4 <sparky4@cock.li>
Fri, 13 Jan 2017 18:43:47 +0000 (12:43 -0600)
DEBUG.16W
HEAP.16W
MMDUMP.16W
src/lib/16_sprit.c
src/vrstest.c

index 2e59990fae8b9561bf98c85fc01649e0220aaa49..1a1bf2ccfa1ada23584cc06cc7aea5c18a98b654 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
-\e[0mSeg:0      Size:9965       Owner:0x0\r
+\e[0mSeg:0      Size:9969       Owner:0x0\r
 \e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0000\r
-\e[0m\e[0mSeg:27b5       Size:44 Owner:0x0\r
+\e[0m\e[0mSeg:27b9       Size:44 Owner:0x0\r
 \e[41;31m+\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:27e1       Size:256        Owner:0x1964\r
+\e[0m\e[0mSeg:27e5       Size:256        Owner:0x1964\r
 \e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:28e1       Size:256        Owner:0x1756\r
+\e[0m\e[0mSeg:28e5       Size:256        Owner:0x1756\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:29e1       Size:256        Owner:0x1758\r
+\e[0m\e[0mSeg:29e5       Size:256        Owner:0x1758\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2ae1       Size:256        Owner:0x175a\r
+\e[0m\e[0mSeg:2ae5       Size:256        Owner:0x175a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2be1       Size:256        Owner:0x175c\r
+\e[0m\e[0mSeg:2be5       Size:256        Owner:0x175c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2ce1       Size:256        Owner:0x175e\r
+\e[0m\e[0mSeg:2ce5       Size:256        Owner:0x175e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2de1       Size:256        Owner:0x1760\r
+\e[0m\e[0mSeg:2de5       Size:256        Owner:0x1760\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2ee1       Size:256        Owner:0x1762\r
+\e[0m\e[0mSeg:2ee5       Size:256        Owner:0x1762\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2fe1       Size:256        Owner:0x1764\r
+\e[0m\e[0mSeg:2fe5       Size:256        Owner:0x1764\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:30e1       Size:256        Owner:0x1766\r
+\e[0m\e[0mSeg:30e5       Size:256        Owner:0x1766\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:31e1       Size:256        Owner:0x1768\r
+\e[0m\e[0mSeg:31e5       Size:256        Owner:0x1768\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:32e1       Size:256        Owner:0x176a\r
+\e[0m\e[0mSeg:32e5       Size:256        Owner:0x176a\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:33e1       Size:256        Owner:0x176c\r
+\e[0m\e[0mSeg:33e5       Size:256        Owner:0x176c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:34e1       Size:256        Owner:0x176e\r
+\e[0m\e[0mSeg:34e5       Size:256        Owner:0x176e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:35e1       Size:256        Owner:0x1770\r
+\e[0m\e[0mSeg:35e5       Size:256        Owner:0x1770\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:36e1       Size:256        Owner:0x1772\r
+\e[0m\e[0mSeg:36e5       Size:256        Owner:0x1772\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:37e1       Size:256        Owner:0x1774\r
+\e[0m\e[0mSeg:37e5       Size:256        Owner:0x1774\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:38e1       Size:256        Owner:0x1776\r
+\e[0m\e[0mSeg:38e5       Size:256        Owner:0x1776\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:39e1       Size:256        Owner:0x1778\r
+\e[0m\e[0mSeg:39e5       Size:256        Owner:0x1778\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3ae1       Size:256        Owner:0x177a\r
+\e[0m\e[0mSeg:3ae5       Size:256        Owner:0x177a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3be1       Size:256        Owner:0x177c\r
+\e[0m\e[0mSeg:3be5       Size:256        Owner:0x177c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3ce1       Size:256        Owner:0x177e\r
+\e[0m\e[0mSeg:3ce5       Size:256        Owner:0x177e\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3de1       Size:256        Owner:0x1780\r
+\e[0m\e[0mSeg:3de5       Size:256        Owner:0x1780\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3ee1       Size:256        Owner:0x1782\r
+\e[0m\e[0mSeg:3ee5       Size:256        Owner:0x1782\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3fe1       Size:256        Owner:0x1784\r
+\e[0m\e[0mSeg:3fe5       Size:256        Owner:0x1784\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:40e1       Size:256        Owner:0x1786\r
+\e[0m\e[0mSeg:40e5       Size:256        Owner:0x1786\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:41e1       Size:256        Owner:0x1788\r
+\e[0m\e[0mSeg:41e5       Size:256        Owner:0x1788\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:42e1       Size:256        Owner:0x178a\r
+\e[0m\e[0mSeg:42e5       Size:256        Owner:0x178a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:43e1       Size:256        Owner:0x178c\r
+\e[0m\e[0mSeg:43e5       Size:256        Owner:0x178c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:44e1       Size:256        Owner:0x178e\r
+\e[0m\e[0mSeg:44e5       Size:256        Owner:0x178e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:45e1       Size:256        Owner:0x1790\r
+\e[0m\e[0mSeg:45e5       Size:256        Owner:0x1790\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:46e1       Size:256        Owner:0x1792\r
+\e[0m\e[0mSeg:46e5       Size:256        Owner:0x1792\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:47e1       Size:256        Owner:0x1794\r
+\e[0m\e[0mSeg:47e5       Size:256        Owner:0x1794\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:48e1       Size:256        Owner:0x1796\r
+\e[0m\e[0mSeg:48e5       Size:256        Owner:0x1796\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:49e1       Size:256        Owner:0x1798\r
+\e[0m\e[0mSeg:49e5       Size:256        Owner:0x1798\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4ae1       Size:256        Owner:0x179a\r
+\e[0m\e[0mSeg:4ae5       Size:256        Owner:0x179a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4be1       Size:256        Owner:0x179c\r
+\e[0m\e[0mSeg:4be5       Size:256        Owner:0x179c\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4ce1       Size:256        Owner:0x179e\r
+\e[0m\e[0mSeg:4ce5       Size:256        Owner:0x179e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4de1       Size:256        Owner:0x17a0\r
+\e[0m\e[0mSeg:4de5       Size:256        Owner:0x17a0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4ee1       Size:256        Owner:0x17a2\r
+\e[0m\e[0mSeg:4ee5       Size:256        Owner:0x17a2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4fe1       Size:256        Owner:0x17a4\r
+\e[0m\e[0mSeg:4fe5       Size:256        Owner:0x17a4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:50e1       Size:256        Owner:0x17a6\r
+\e[0m\e[0mSeg:50e5       Size:256        Owner:0x17a6\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:51e1       Size:256        Owner:0x17a8\r
+\e[0m\e[0mSeg:51e5       Size:256        Owner:0x17a8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:52e1       Size:256        Owner:0x17aa\r
+\e[0m\e[0mSeg:52e5       Size:256        Owner:0x17aa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:53e1       Size:256        Owner:0x17ac\r
+\e[0m\e[0mSeg:53e5       Size:256        Owner:0x17ac\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:54e1       Size:256        Owner:0x17ae\r
+\e[0m\e[0mSeg:54e5       Size:256        Owner:0x17ae\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:55e1       Size:256        Owner:0x17b0\r
+\e[0m\e[0mSeg:55e5       Size:256        Owner:0x17b0\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:56e1       Size:256        Owner:0x17b2\r
+\e[0m\e[0mSeg:56e5       Size:256        Owner:0x17b2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:57e1       Size:256        Owner:0x17b4\r
+\e[0m\e[0mSeg:57e5       Size:256        Owner:0x17b4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:58e1       Size:256        Owner:0x17b6\r
+\e[0m\e[0mSeg:58e5       Size:256        Owner:0x17b6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:59e1       Size:256        Owner:0x17b8\r
+\e[0m\e[0mSeg:59e5       Size:256        Owner:0x17b8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5ae1       Size:256        Owner:0x17ba\r
+\e[0m\e[0mSeg:5ae5       Size:256        Owner:0x17ba\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5be1       Size:256        Owner:0x17bc\r
+\e[0m\e[0mSeg:5be5       Size:256        Owner:0x17bc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5ce1       Size:256        Owner:0x17be\r
+\e[0m\e[0mSeg:5ce5       Size:256        Owner:0x17be\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5de1       Size:256        Owner:0x17c0\r
+\e[0m\e[0mSeg:5de5       Size:256        Owner:0x17c0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5ee1       Size:256        Owner:0x17c2\r
+\e[0m\e[0mSeg:5ee5       Size:256        Owner:0x17c2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5fe1       Size:256        Owner:0x17c4\r
+\e[0m\e[0mSeg:5fe5       Size:256        Owner:0x17c4\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:60e1       Size:256        Owner:0x17c6\r
+\e[0m\e[0mSeg:60e5       Size:256        Owner:0x17c6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:61e1       Size:256        Owner:0x17c8\r
+\e[0m\e[0mSeg:61e5       Size:256        Owner:0x17c8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:62e1       Size:256        Owner:0x17ca\r
+\e[0m\e[0mSeg:62e5       Size:256        Owner:0x17ca\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:63e1       Size:256        Owner:0x17cc\r
+\e[0m\e[0mSeg:63e5       Size:256        Owner:0x17cc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:64e1       Size:256        Owner:0x17ce\r
+\e[0m\e[0mSeg:64e5       Size:256        Owner:0x17ce\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:65e1       Size:256        Owner:0x17d0\r
+\e[0m\e[0mSeg:65e5       Size:256        Owner:0x17d0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:66e1       Size:256        Owner:0x17d2\r
+\e[0m\e[0mSeg:66e5       Size:256        Owner:0x17d2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:67e1       Size:256        Owner:0x17d4\r
+\e[0m\e[0mSeg:67e5       Size:256        Owner:0x17d4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:68e1       Size:256        Owner:0x17d6\r
+\e[0m\e[0mSeg:68e5       Size:256        Owner:0x17d6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:69e1       Size:256        Owner:0x17d8\r
+\e[0m\e[0mSeg:69e5       Size:256        Owner:0x17d8\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6ae1       Size:256        Owner:0x17da\r
+\e[0m\e[0mSeg:6ae5       Size:256        Owner:0x17da\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6be1       Size:256        Owner:0x17dc\r
+\e[0m\e[0mSeg:6be5       Size:256        Owner:0x17dc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6ce1       Size:256        Owner:0x17de\r
+\e[0m\e[0mSeg:6ce5       Size:256        Owner:0x17de\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6de1       Size:256        Owner:0x17e0\r
+\e[0m\e[0mSeg:6de5       Size:256        Owner:0x17e0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6ee1       Size:256        Owner:0x17e2\r
+\e[0m\e[0mSeg:6ee5       Size:256        Owner:0x17e2\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6fe1       Size:256        Owner:0x17e4\r
+\e[0m\e[0mSeg:6fe5       Size:256        Owner:0x17e4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:70e1       Size:256        Owner:0x17e6\r
+\e[0m\e[0mSeg:70e5       Size:256        Owner:0x17e6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:71e1       Size:256        Owner:0x17e8\r
+\e[0m\e[0mSeg:71e5       Size:256        Owner:0x17e8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:72e1       Size:256        Owner:0x17ea\r
+\e[0m\e[0mSeg:72e5       Size:256        Owner:0x17ea\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:73e1       Size:256        Owner:0x17ec\r
+\e[0m\e[0mSeg:73e5       Size:256        Owner:0x17ec\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:74e1       Size:256        Owner:0x17ee\r
+\e[0m\e[0mSeg:74e5       Size:256        Owner:0x17ee\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:75e1       Size:256        Owner:0x17f0\r
+\e[0m\e[0mSeg:75e5       Size:256        Owner:0x17f0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:76e1       Size:256        Owner:0x17f2\r
+\e[0m\e[0mSeg:76e5       Size:256        Owner:0x17f2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:77e1       Size:256        Owner:0x17f4\r
+\e[0m\e[0mSeg:77e5       Size:256        Owner:0x17f4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:78e1       Size:256        Owner:0x17f6\r
+\e[0m\e[0mSeg:78e5       Size:256        Owner:0x17f6\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:79e1       Size:256        Owner:0x17f8\r
+\e[0m\e[0mSeg:79e5       Size:256        Owner:0x17f8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7ae1       Size:256        Owner:0x17fa\r
+\e[0m\e[0mSeg:7ae5       Size:256        Owner:0x17fa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7be1       Size:256        Owner:0x17fc\r
+\e[0m\e[0mSeg:7be5       Size:256        Owner:0x17fc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7ce1       Size:256        Owner:0x17fe\r
+\e[0m\e[0mSeg:7ce5       Size:256        Owner:0x17fe\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7de1       Size:256        Owner:0x1800\r
+\e[0m\e[0mSeg:7de5       Size:256        Owner:0x1800\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7ee1       Size:256        Owner:0x1802\r
+\e[0m\e[0mSeg:7ee5       Size:256        Owner:0x1802\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7fe1       Size:256        Owner:0x1804\r
+\e[0m\e[0mSeg:7fe5       Size:256        Owner:0x1804\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:80e1       Size:256        Owner:0x1806\r
+\e[0m\e[0mSeg:80e5       Size:256        Owner:0x1806\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:81e1       Size:256        Owner:0x1808\r
+\e[0m\e[0mSeg:81e5       Size:256        Owner:0x1808\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:82e1       Size:256        Owner:0x180a\r
+\e[0m\e[0mSeg:82e5       Size:256        Owner:0x180a\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:83e1       Size:256        Owner:0x180c\r
+\e[0m\e[0mSeg:83e5       Size:256        Owner:0x180c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:84e1       Size:256        Owner:0x180e\r
+\e[0m\e[0mSeg:84e5       Size:256        Owner:0x180e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:85e1       Size:256        Owner:0x1810\r
+\e[0m\e[0mSeg:85e5       Size:256        Owner:0x1810\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:86e1       Size:256        Owner:0x1812\r
+\e[0m\e[0mSeg:86e5       Size:256        Owner:0x1812\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:87e1       Size:256        Owner:0x1814\r
+\e[0m\e[0mSeg:87e5       Size:256        Owner:0x1814\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:88e1       Size:256        Owner:0x1816\r
+\e[0m\e[0mSeg:88e5       Size:256        Owner:0x1816\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:89e1       Size:256        Owner:0x1818\r
+\e[0m\e[0mSeg:89e5       Size:256        Owner:0x1818\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8ae1       Size:256        Owner:0x181a\r
+\e[0m\e[0mSeg:8ae5       Size:256        Owner:0x181a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8be1       Size:256        Owner:0x181c\r
+\e[0m\e[0mSeg:8be5       Size:256        Owner:0x181c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8ce1       Size:401        Owner:0xef32\r
+\e[0m\e[0mSeg:8ce5       Size:401        Owner:0xef32\r
 \e[44;34m++++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:b7e1       Size:18462      Owner:0x0\r
+\e[0m\e[0mSeg:b7e5       Size:18458      Owner:0x0\r
 \e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
index 7de92de04daff097a08e307bab381dc0d31f01db..6e8d41a3d735274a85b11925669357c27bc3a3c6 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,57 +1,57 @@
 \r
        == default ==\r
 \r
-  USED block at 27d70016 of size 136\r
-  FREE block at 27d7009e of size 68\r
-  USED block at 27d700e2 of size 50\r
-  USED block at 27d70114 of size 50\r
-  USED block at 27d70146 of size 50\r
-  USED block at 27d70178 of size 50\r
-  USED block at 27d701aa of size 50\r
-  USED block at 27d701dc of size 50\r
-  USED block at 27d7020e of size 50\r
-  USED block at 27d70240 of size 50\r
-  USED block at 27d70272 of size 50\r
-  USED block at 27d702a4 of size 50\r
-  USED block at 27d702d6 of size 50\r
-  USED block at 27d70308 of size 50\r
-  FREE block at 27d7033a of size 14\r
-  USED block at 27d70348 of size 20\r
-  FREE block at 27d7035c of size 7328\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
 OK - end of heap\r
 \r
        == near ==\r
 \r
-  USED block at 17d6ef76 of size 12\r
-  USED block at 17d6ef82 of size 330\r
-  USED block at 17d6f0cc of size 52\r
-  USED block at 17d6f100 of size 20\r
-  USED block at 17d6f114 of size 20\r
-  USED block at 17d6f128 of size 20\r
-  USED block at 17d6f13c of size 20\r
-  USED block at 17d6f150 of size 20\r
-  USED block at 17d6f164 of size 3736\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
 OK - end of heap\r
 \r
        == far ==\r
 \r
-  USED block at 27d70016 of size 136\r
-  USED block at 27d7009e of size 68\r
-  USED block at 27d700e2 of size 50\r
-  USED block at 27d70114 of size 50\r
-  USED block at 27d70146 of size 50\r
-  USED block at 27d70178 of size 50\r
-  USED block at 27d701aa of size 50\r
-  USED block at 27d701dc of size 50\r
-  USED block at 27d7020e of size 50\r
-  USED block at 27d70240 of size 50\r
-  USED block at 27d70272 of size 50\r
-  USED block at 27d702a4 of size 50\r
-  USED block at 27d702d6 of size 50\r
-  USED block at 27d70308 of size 50\r
-  USED block at 27d7033a of size 14\r
-  USED block at 27d70348 of size 20\r
-  USED block at 27d7035c of size 7328\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
 OK - end of heap\r
 \r
 Memory Type         Total      Used       Free\r
index c09f9c3de1513d35c082d7521c34bb6f40d07268..35ca44efc59c19c3f367105ef5313185c9a15683 100755 (executable)
Binary files a/MMDUMP.16W and b/MMDUMP.16W differ
index 5aad189339d6b454c55df89c3a7905a9e0fc46ee..e498250aefff4467bf6f347a8b2fcc54b7ccacc3 100755 (executable)
@@ -103,26 +103,29 @@ void animate_spri(struct sprite *spri, global_game_variables_t *gv)
        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
        {\r
                Quit (gv, "Error retriving required sprite");\r
        }\r
-//     draw_vrl1_vgax_modex(x-rx,y-ry,vrl_header,vrl_lineoffs,buffer+sizeof(*vrl_header),bufsz-sizeof(*vrl_header));\r
+\r
        draw_vrl1_vgax_modex(\r
-               spri->x,// - spri->sprite_vrl_cont->vrl_header->width-28,\r
-               spri->y,// - spri->sprite_vrl_cont->vrl_header->height*2 -(gv->video.page[0].sh/2),\r
-               //vrl_header,\r
+               spri->x-gv->video.page[0].dx,\r
+               spri->y-gv->video.page[0].dy,\r
                spri->sprite_vrl_cont->vrl_header,\r
-               //vrl_lineoffs,\r
                spri->sprite_vrl_cont->line_offsets,\r
-               //buffer+sizeof(*vrl_header),\r
                spri->sprite_vrl_cont->buffer + sizeof(struct vrl1_vgax_header),\r
-               //bufsz-sizeof(*vrl_header));\r
                spri->sprite_vrl_cont->data_size\r
        );\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
        switch(spri->delay){\r
                // Delay = 0 means that sprite should loop. Nothing to change here\r
index 550678046bbd4e46f3178b5130eb063d4395a932..73f04f42b595344f0c83942e7ef7f2e377bf5535 100755 (executable)
@@ -97,8 +97,8 @@ void main()
        {\r
                return;\r
        }\r
-       spri.x = 16;\r
-       spri.y = 100;\r
+       spri.x = 160;\r
+       spri.y = 120;\r
 \r
 //     Uncomment to see broken sprites\r
 /*     sega = mm.bufferseg;\r
@@ -106,7 +106,7 @@ void main()
 \r
        VGAmodeX(1, 1, &gvar);\r
        modexHiganbanaPageSetup(&gvar.video);\r
-       VL_ShowPage(&gvar.video.page[0], 0, 1);\r
+       VL_ShowPage(&gvar.video.page[0], 0, 0);\r
 \r
        /* non sprite comparison */\r
        start = *clockw;\r
@@ -120,7 +120,7 @@ void main()
        /*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 += 20; /*sleep(1);*/ }\r
+       spri.delay = 1; animate_spri(&spri, &gvar); spri.x += 16; /*sleep(1);*/ }\r
        VL_LoadPalFile("data/spri/chikyuu.pal", &palette);\r
 \r
        while(!IN_KeyDown(sc_Escape))\r