]> 4ch.mooo.com Git - 16.git/commitdiff
makefile polished!! it seems everything works reletively ok and i added f6 and f7...
authorsparky4 <sparky4@cock.li>
Fri, 6 Jan 2017 19:47:57 +0000 (13:47 -0600)
committersparky4 <sparky4@cock.li>
Fri, 6 Jan 2017 19:47:57 +0000 (13:47 -0600)
DEBUG.16W
HEAP.16W
MMDUMP.16W
src/lib/16_tail.h
src/lib/16_vl.c
src/lib/16_vl.h
src/scroll.c
src/vgmtest.c
src/vrstest.c
src/zcroll.c

index b916628de1140c7cde8bf4382be341050f196833..dbad1a442ff5615efc363ee6f93cad6f1803719a 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
-\e[0mSeg:0      Size:9685       Owner:0x0\r
+\e[0mSeg:0      Size:9696       Owner:0x0\r
 \e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0000\r
-\e[0m\e[0mSeg:26ce       Size:44 Owner:0x0\r
+\e[0m\e[0mSeg:26d9       Size:44 Owner:0x0\r
 \e[41;31m+\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:26fa       Size:256        Owner:0x1660\r
-\e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:27fa       Size:256        Owner:0x1452\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:28fa       Size:256        Owner:0x1454\r
+\e[0m\e[0mSeg:2705       Size:256        Owner:0x1660\r
+\e[44;34m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2805       Size:256        Owner:0x1452\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:29fa       Size:256        Owner:0x1456\r
+\e[0m\e[0mSeg:2905       Size:256        Owner:0x1454\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2afa       Size:256        Owner:0x1458\r
+\e[0m\e[0mSeg:2a05       Size:256        Owner:0x1456\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2bfa       Size:256        Owner:0x145a\r
+\e[0m\e[0mSeg:2b05       Size:256        Owner:0x1458\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2cfa       Size:256        Owner:0x145c\r
+\e[0m\e[0mSeg:2c05       Size:256        Owner:0x145a\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2dfa       Size:256        Owner:0x145e\r
+\e[0m\e[0mSeg:2d05       Size:256        Owner:0x145c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2efa       Size:256        Owner:0x1460\r
+\e[0m\e[0mSeg:2e05       Size:256        Owner:0x145e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2ffa       Size:256        Owner:0x1462\r
+\e[0m\e[0mSeg:2f05       Size:256        Owner:0x1460\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:30fa       Size:256        Owner:0x1464\r
+\e[0m\e[0mSeg:3005       Size:256        Owner:0x1462\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:31fa       Size:256        Owner:0x1466\r
+\e[0m\e[0mSeg:3105       Size:256        Owner:0x1464\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:32fa       Size:256        Owner:0x1468\r
+\e[0m\e[0mSeg:3205       Size:256        Owner:0x1466\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:33fa       Size:256        Owner:0x146a\r
+\e[0m\e[0mSeg:3305       Size:256        Owner:0x1468\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:34fa       Size:256        Owner:0x146c\r
+\e[0m\e[0mSeg:3405       Size:256        Owner:0x146a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:35fa       Size:256        Owner:0x146e\r
+\e[0m\e[0mSeg:3505       Size:256        Owner:0x146c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:36fa       Size:256        Owner:0x1470\r
+\e[0m\e[0mSeg:3605       Size:256        Owner:0x146e\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:37fa       Size:256        Owner:0x1472\r
+\e[0m\e[0mSeg:3705       Size:256        Owner:0x1470\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:38fa       Size:256        Owner:0x1474\r
+\e[0m\e[0mSeg:3805       Size:256        Owner:0x1472\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:39fa       Size:256        Owner:0x1476\r
+\e[0m\e[0mSeg:3905       Size:256        Owner:0x1474\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3afa       Size:256        Owner:0x1478\r
+\e[0m\e[0mSeg:3a05       Size:256        Owner:0x1476\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3bfa       Size:256        Owner:0x147a\r
+\e[0m\e[0mSeg:3b05       Size:256        Owner:0x1478\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3cfa       Size:256        Owner:0x147c\r
+\e[0m\e[0mSeg:3c05       Size:256        Owner:0x147a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3dfa       Size:256        Owner:0x147e\r
+\e[0m\e[0mSeg:3d05       Size:256        Owner:0x147c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3efa       Size:256        Owner:0x1480\r
+\e[0m\e[0mSeg:3e05       Size:256        Owner:0x147e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3ffa       Size:256        Owner:0x1482\r
+\e[0m\e[0mSeg:3f05       Size:256        Owner:0x1480\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:40fa       Size:256        Owner:0x1484\r
+\e[0m\e[0mSeg:4005       Size:256        Owner:0x1482\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:41fa       Size:256        Owner:0x1486\r
+\e[0m\e[0mSeg:4105       Size:256        Owner:0x1484\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:42fa       Size:256        Owner:0x1488\r
+\e[0m\e[0mSeg:4205       Size:256        Owner:0x1486\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:43fa       Size:256        Owner:0x148a\r
+\e[0m\e[0mSeg:4305       Size:256        Owner:0x1488\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:44fa       Size:256        Owner:0x148c\r
+\e[0m\e[0mSeg:4405       Size:256        Owner:0x148a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:45fa       Size:256        Owner:0x148e\r
+\e[0m\e[0mSeg:4505       Size:256        Owner:0x148c\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:46fa       Size:256        Owner:0x1490\r
+\e[0m\e[0mSeg:4605       Size:256        Owner:0x148e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:47fa       Size:256        Owner:0x1492\r
+\e[0m\e[0mSeg:4705       Size:256        Owner:0x1490\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:48fa       Size:256        Owner:0x1494\r
+\e[0m\e[0mSeg:4805       Size:256        Owner:0x1492\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:49fa       Size:256        Owner:0x1496\r
+\e[0m\e[0mSeg:4905       Size:256        Owner:0x1494\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4afa       Size:256        Owner:0x1498\r
+\e[0m\e[0mSeg:4a05       Size:256        Owner:0x1496\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4bfa       Size:256        Owner:0x149a\r
+\e[0m\e[0mSeg:4b05       Size:256        Owner:0x1498\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4cfa       Size:256        Owner:0x149c\r
+\e[0m\e[0mSeg:4c05       Size:256        Owner:0x149a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4dfa       Size:256        Owner:0x149e\r
+\e[0m\e[0mSeg:4d05       Size:256        Owner:0x149c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4efa       Size:256        Owner:0x14a0\r
+\e[0m\e[0mSeg:4e05       Size:256        Owner:0x149e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4ffa       Size:256        Owner:0x14a2\r
+\e[0m\e[0mSeg:4f05       Size:256        Owner:0x14a0\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:50fa       Size:256        Owner:0x14a4\r
+\e[0m\e[0mSeg:5005       Size:256        Owner:0x14a2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:51fa       Size:256        Owner:0x14a6\r
+\e[0m\e[0mSeg:5105       Size:256        Owner:0x14a4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:52fa       Size:256        Owner:0x14a8\r
+\e[0m\e[0mSeg:5205       Size:256        Owner:0x14a6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:53fa       Size:256        Owner:0x14aa\r
+\e[0m\e[0mSeg:5305       Size:256        Owner:0x14a8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:54fa       Size:256        Owner:0x14ac\r
+\e[0m\e[0mSeg:5405       Size:256        Owner:0x14aa\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:55fa       Size:256        Owner:0x14ae\r
+\e[0m\e[0mSeg:5505       Size:256        Owner:0x14ac\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:56fa       Size:256        Owner:0x14b0\r
+\e[0m\e[0mSeg:5605       Size:256        Owner:0x14ae\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:57fa       Size:256        Owner:0x14b2\r
+\e[0m\e[0mSeg:5705       Size:256        Owner:0x14b0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:58fa       Size:256        Owner:0x14b4\r
+\e[0m\e[0mSeg:5805       Size:256        Owner:0x14b2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:59fa       Size:256        Owner:0x14b6\r
+\e[0m\e[0mSeg:5905       Size:256        Owner:0x14b4\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5afa       Size:256        Owner:0x14b8\r
+\e[0m\e[0mSeg:5a05       Size:256        Owner:0x14b6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5bfa       Size:256        Owner:0x14ba\r
+\e[0m\e[0mSeg:5b05       Size:256        Owner:0x14b8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5cfa       Size:256        Owner:0x14bc\r
+\e[0m\e[0mSeg:5c05       Size:256        Owner:0x14ba\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5dfa       Size:256        Owner:0x14be\r
+\e[0m\e[0mSeg:5d05       Size:256        Owner:0x14bc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5efa       Size:256        Owner:0x14c0\r
+\e[0m\e[0mSeg:5e05       Size:256        Owner:0x14be\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5ffa       Size:256        Owner:0x14c2\r
+\e[0m\e[0mSeg:5f05       Size:256        Owner:0x14c0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:60fa       Size:256        Owner:0x14c4\r
+\e[0m\e[0mSeg:6005       Size:256        Owner:0x14c2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:61fa       Size:256        Owner:0x14c6\r
+\e[0m\e[0mSeg:6105       Size:256        Owner:0x14c4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:62fa       Size:256        Owner:0x14c8\r
+\e[0m\e[0mSeg:6205       Size:256        Owner:0x14c6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:63fa       Size:256        Owner:0x14ca\r
+\e[0m\e[0mSeg:6305       Size:256        Owner:0x14c8\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:64fa       Size:256        Owner:0x14cc\r
+\e[0m\e[0mSeg:6405       Size:256        Owner:0x14ca\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:65fa       Size:256        Owner:0x14ce\r
+\e[0m\e[0mSeg:6505       Size:256        Owner:0x14cc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:66fa       Size:256        Owner:0x14d0\r
+\e[0m\e[0mSeg:6605       Size:256        Owner:0x14ce\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:67fa       Size:256        Owner:0x14d2\r
+\e[0m\e[0mSeg:6705       Size:256        Owner:0x14d0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:68fa       Size:256        Owner:0x14d4\r
+\e[0m\e[0mSeg:6805       Size:256        Owner:0x14d2\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:69fa       Size:256        Owner:0x14d6\r
+\e[0m\e[0mSeg:6905       Size:256        Owner:0x14d4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6afa       Size:256        Owner:0x14d8\r
+\e[0m\e[0mSeg:6a05       Size:256        Owner:0x14d6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6bfa       Size:256        Owner:0x14da\r
+\e[0m\e[0mSeg:6b05       Size:256        Owner:0x14d8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6cfa       Size:256        Owner:0x14dc\r
+\e[0m\e[0mSeg:6c05       Size:256        Owner:0x14da\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6dfa       Size:256        Owner:0x14de\r
+\e[0m\e[0mSeg:6d05       Size:256        Owner:0x14dc\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6efa       Size:256        Owner:0x14e0\r
+\e[0m\e[0mSeg:6e05       Size:256        Owner:0x14de\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6ffa       Size:256        Owner:0x14e2\r
+\e[0m\e[0mSeg:6f05       Size:256        Owner:0x14e0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:70fa       Size:256        Owner:0x14e4\r
+\e[0m\e[0mSeg:7005       Size:256        Owner:0x14e2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:71fa       Size:256        Owner:0x14e6\r
+\e[0m\e[0mSeg:7105       Size:256        Owner:0x14e4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:72fa       Size:256        Owner:0x14e8\r
+\e[0m\e[0mSeg:7205       Size:256        Owner:0x14e6\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:73fa       Size:256        Owner:0x14ea\r
+\e[0m\e[0mSeg:7305       Size:256        Owner:0x14e8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:74fa       Size:256        Owner:0x14ec\r
+\e[0m\e[0mSeg:7405       Size:256        Owner:0x14ea\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:75fa       Size:256        Owner:0x14ee\r
+\e[0m\e[0mSeg:7505       Size:256        Owner:0x14ec\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:76fa       Size:256        Owner:0x14f0\r
+\e[0m\e[0mSeg:7605       Size:256        Owner:0x14ee\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:77fa       Size:256        Owner:0x14f2\r
+\e[0m\e[0mSeg:7705       Size:256        Owner:0x14f0\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:78fa       Size:256        Owner:0x14f4\r
+\e[0m\e[0mSeg:7805       Size:256        Owner:0x14f2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:79fa       Size:256        Owner:0x14f6\r
+\e[0m\e[0mSeg:7905       Size:256        Owner:0x14f4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7afa       Size:256        Owner:0x14f8\r
+\e[0m\e[0mSeg:7a05       Size:256        Owner:0x14f6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7bfa       Size:256        Owner:0x14fa\r
+\e[0m\e[0mSeg:7b05       Size:256        Owner:0x14f8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7cfa       Size:256        Owner:0x14fc\r
+\e[0m\e[0mSeg:7c05       Size:256        Owner:0x14fa\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7dfa       Size:256        Owner:0x14fe\r
+\e[0m\e[0mSeg:7d05       Size:256        Owner:0x14fc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7efa       Size:256        Owner:0x1500\r
+\e[0m\e[0mSeg:7e05       Size:256        Owner:0x14fe\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7ffa       Size:256        Owner:0x1502\r
+\e[0m\e[0mSeg:7f05       Size:256        Owner:0x1500\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:80fa       Size:256        Owner:0x1504\r
+\e[0m\e[0mSeg:8005       Size:256        Owner:0x1502\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:81fa       Size:256        Owner:0x1506\r
+\e[0m\e[0mSeg:8105       Size:256        Owner:0x1504\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:82fa       Size:256        Owner:0x1508\r
+\e[0m\e[0mSeg:8205       Size:256        Owner:0x1506\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:83fa       Size:256        Owner:0x150a\r
+\e[0m\e[0mSeg:8305       Size:256        Owner:0x1508\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:84fa       Size:256        Owner:0x150c\r
+\e[0m\e[0mSeg:8405       Size:256        Owner:0x150a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:85fa       Size:256        Owner:0x150e\r
+\e[0m\e[0mSeg:8505       Size:256        Owner:0x150c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:86fa       Size:256        Owner:0x1510\r
+\e[0m\e[0mSeg:8605       Size:256        Owner:0x150e\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:87fa       Size:256        Owner:0x1512\r
+\e[0m\e[0mSeg:8705       Size:256        Owner:0x1510\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:88fa       Size:256        Owner:0x1514\r
+\e[0m\e[0mSeg:8805       Size:256        Owner:0x1512\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:89fa       Size:256        Owner:0x1516\r
+\e[0m\e[0mSeg:8905       Size:256        Owner:0x1514\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8afa       Size:256        Owner:0x1518\r
+\e[0m\e[0mSeg:8a05       Size:256        Owner:0x1516\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8bfa       Size:401        Owner:0xec1c\r
+\e[0m\e[0mSeg:8b05       Size:256        Owner:0x1518\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8c05       Size:401        Owner:0xec1c\r
 \e[44;34m++++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:b6fa       Size:18693      Owner:0x0\r
+\e[0m\e[0mSeg:b705       Size:18682      Owner:0x0\r
 \e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
index 37db2a7f7841a3fe1fab17311a9c052e331093a0..193b9b2deabb4ea8d8c757d343402ae8e0befbd3 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,57 +1,57 @@
 \r
        == default ==\r
 \r
-  USED block at 26f00016 of size 136\r
-  FREE block at 26f0009e of size 68\r
-  USED block at 26f000e2 of size 50\r
-  USED block at 26f00114 of size 50\r
-  USED block at 26f00146 of size 50\r
-  USED block at 26f00178 of size 50\r
-  USED block at 26f001aa of size 50\r
-  USED block at 26f001dc of size 50\r
-  USED block at 26f0020e of size 50\r
-  USED block at 26f00240 of size 50\r
-  USED block at 26f00272 of size 50\r
-  USED block at 26f002a4 of size 50\r
-  USED block at 26f002d6 of size 50\r
-  USED block at 26f00308 of size 50\r
-  FREE block at 26f0033a of size 14\r
-  USED block at 26f00348 of size 20\r
-  FREE block at 26f0035c of size 7328\r
+  USED block at 26fb0016 of size 136\r
+  FREE block at 26fb009e of size 68\r
+  USED block at 26fb00e2 of size 50\r
+  USED block at 26fb0114 of size 50\r
+  USED block at 26fb0146 of size 50\r
+  USED block at 26fb0178 of size 50\r
+  USED block at 26fb01aa of size 50\r
+  USED block at 26fb01dc of size 50\r
+  USED block at 26fb020e of size 50\r
+  USED block at 26fb0240 of size 50\r
+  USED block at 26fb0272 of size 50\r
+  USED block at 26fb02a4 of size 50\r
+  USED block at 26fb02d6 of size 50\r
+  USED block at 26fb0308 of size 50\r
+  FREE block at 26fb033a of size 14\r
+  USED block at 26fb0348 of size 20\r
+  FREE block at 26fb035c of size 7328\r
 OK - end of heap\r
 \r
        == near ==\r
 \r
-  USED block at 16efec66 of size 12\r
-  USED block at 16efec72 of size 330\r
-  USED block at 16efedbc of size 52\r
-  USED block at 16efedf0 of size 20\r
-  USED block at 16efee04 of size 20\r
-  USED block at 16efee18 of size 20\r
-  USED block at 16efee2c of size 20\r
-  USED block at 16efee40 of size 20\r
-  USED block at 16efee54 of size 4520\r
+  USED block at 16faec66 of size 12\r
+  USED block at 16faec72 of size 330\r
+  USED block at 16faedbc of size 52\r
+  USED block at 16faedf0 of size 20\r
+  USED block at 16faee04 of size 20\r
+  USED block at 16faee18 of size 20\r
+  USED block at 16faee2c of size 20\r
+  USED block at 16faee40 of size 20\r
+  USED block at 16faee54 of size 4520\r
 OK - end of heap\r
 \r
        == far ==\r
 \r
-  USED block at 26f00016 of size 136\r
-  USED block at 26f0009e of size 68\r
-  USED block at 26f000e2 of size 50\r
-  USED block at 26f00114 of size 50\r
-  USED block at 26f00146 of size 50\r
-  USED block at 26f00178 of size 50\r
-  USED block at 26f001aa of size 50\r
-  USED block at 26f001dc of size 50\r
-  USED block at 26f0020e of size 50\r
-  USED block at 26f00240 of size 50\r
-  USED block at 26f00272 of size 50\r
-  USED block at 26f002a4 of size 50\r
-  USED block at 26f002d6 of size 50\r
-  USED block at 26f00308 of size 50\r
-  USED block at 26f0033a of size 14\r
-  USED block at 26f00348 of size 20\r
-  USED block at 26f0035c of size 7328\r
+  USED block at 26fb0016 of size 136\r
+  USED block at 26fb009e of size 68\r
+  USED block at 26fb00e2 of size 50\r
+  USED block at 26fb0114 of size 50\r
+  USED block at 26fb0146 of size 50\r
+  USED block at 26fb0178 of size 50\r
+  USED block at 26fb01aa of size 50\r
+  USED block at 26fb01dc of size 50\r
+  USED block at 26fb020e of size 50\r
+  USED block at 26fb0240 of size 50\r
+  USED block at 26fb0272 of size 50\r
+  USED block at 26fb02a4 of size 50\r
+  USED block at 26fb02d6 of size 50\r
+  USED block at 26fb0308 of size 50\r
+  USED block at 26fb033a of size 14\r
+  USED block at 26fb0348 of size 20\r
+  USED block at 26fb035c of size 7328\r
 OK - end of heap\r
 \r
 Memory Type         Total      Used       Free\r
index fba9a1a128937b998673590043d90a90036156f0..e5f1a36f6d36ce76b7b36c570332f11e85895e7f 100755 (executable)
Binary files a/MMDUMP.16W and b/MMDUMP.16W differ
index f268469bdf02cfe66694243fa7a883a3bb4d0c36..5206da5a816702c90d69eef420d2f3ce3b36b7a2 100755 (executable)
 #include "src/lib/16_ca.h"\r
 #include "src/lib/16_in.h"\r
 \r
+#define FUNCTIONKEYFUNCTIONS \\r
+       if(IN_KeyDown(sc_F6)){ modexShowPage(&gvar.video.page[0]); IN_UserInput(1,1); } \\r
+       if(IN_KeyDown(sc_F7)){ modexShowPage_(&gvar.video.page[0]); IN_UserInput(1,1); }\r
+\r
 void DebugMemory_(global_game_variables_t *gvar, boolean q);\r
 void Shutdown16(global_game_variables_t *gvar);\r
 void Startup16(global_game_variables_t *gvar);\r
index 15f8931e3b017224def11378640bbab50026dfd8..9369ce49ab7b2c2e88c086962684dae117fd00c0 100755 (executable)
@@ -306,7 +306,7 @@ void modexHiganbanaPageSetup(video_t *video)
 void\r
 modexShowPage(page_t *page) {\r
        word high_address, low_address, offset;\r
-//     byte crtcOffset;\r
+       byte crtcOffset;\r
 \r
        /* calculate offset */\r
        offset = (word) page->data;\r
@@ -314,7 +314,7 @@ modexShowPage(page_t *page) {
        offset += page->dx >> 2;\r
 \r
        /* calculate crtcOffset according to virtual width */\r
-//     crtcOffset = page->width >> 3;\r
+       crtcOffset = page->width >> 3;\r
 \r
        high_address = HIGH_ADDRESS | (offset & 0xff00);\r
        low_address  = LOW_ADDRESS  | (offset << 8);\r
@@ -323,8 +323,43 @@ modexShowPage(page_t *page) {
 //+=+=                                                                         while ((inp(INPUT_STATUS_1) & DISPLAY_ENABLE));\r
        outpw(CRTC_INDEX, high_address);\r
        outpw(CRTC_INDEX, low_address);\r
-//     outp(CRTC_INDEX, 0x13);\r
-//     outp(CRTC_DATA, crtcOffset);\r
+       outp(CRTC_INDEX, 0x13);\r
+       outp(CRTC_DATA, crtcOffset);\r
+\r
+       /* wait for one retrace */\r
+//+=+=                                                                         while (!(inp(INPUT_STATUS_1) & VRETRACE));\r
+\r
+       /* do PEL panning here */\r
+       outp(AC_INDEX, 0x33);\r
+       outp(AC_INDEX, (page->dx & 0x03) << 1);\r
+}\r
+\r
+//\r
+// testing version of void modexShowPage()\r
+//\r
+void\r
+modexShowPage_(page_t *page)\r
+{\r
+       word high_address, low_address, offset;\r
+       byte crtcOffset;\r
+\r
+       /* calculate offset */\r
+       offset = (word) page->data;\r
+       offset += page->dy * (page->width >> 2 );\r
+       offset += page->dx >> 2;\r
+\r
+       /* calculate crtcOffset according to virtual width */\r
+       crtcOffset = page->sw >> 3;\r
+\r
+       high_address = HIGH_ADDRESS | (offset & 0xff00);\r
+       low_address  = LOW_ADDRESS  | (offset << 8);\r
+\r
+       /* wait for appropriate timing and then program CRTC */\r
+//+=+=                                                                         while ((inp(INPUT_STATUS_1) & DISPLAY_ENABLE));\r
+       outpw(CRTC_INDEX, high_address);\r
+       outpw(CRTC_INDEX, low_address);\r
+       outp(CRTC_INDEX, 0x13);\r
+       outp(CRTC_DATA, crtcOffset);\r
 \r
        /* wait for one retrace */\r
 //+=+=                                                                         while (!(inp(INPUT_STATUS_1) & VRETRACE));\r
index d0af774f43f1e8edb90403f9e7b32d9d31a1e4d7..2562f2111facead5095ee377611a47a4fe80c30c 100755 (executable)
@@ -104,6 +104,7 @@ page_t modexNextPageFlexibleSize(page_t *p, word x, word y);
 void modexCalcVmemRemain(video_t *video);\r
 void modexHiganbanaPageSetup(video_t *video);\r
 void modexShowPage(page_t *page);\r
+void modexShowPage_(page_t *page);\r
 void modexPanPage(page_t *page, int dx, int dy);\r
 void modexSelectPlane(byte plane);\r
 void modexClearRegion(page_t *page, int x, int y, int w, int h, byte color);\r
index 22dde47a8a07720455fd08777e66161a3feda1a3..18df0c768f997436afa8fdb63bacc53fd34d577e 100755 (executable)
@@ -257,7 +257,8 @@ void main(int argc, char *argv[])
 //             modexDrawSprite(mv[0].page, 16, 16, &p);\r
                modexDrawSprite(mv[0].page, 32+72, 16, (player[0].data));\r
        }\r
-       //TODO fmemtest into page\r
+       FUNCTIONKEYFUNCTIONS;\r
+       // fmemtest into page\r
        /*if(IN_KeyDown(4+1))   //4\r
        {\r
                pg=1;\r
index 6ca69aa171500740207d82ab8d016364a5ab5884..b86eaa7bffb9ef495b4387e33c5a48739539ee1f 100755 (executable)
@@ -57,18 +57,17 @@ main(int argc, char *argv[])
        if(argv[1]) bakapee = argv[1];\r
        else bakapee = "data/adlib.vgm";\r
        printf("%x\n", OpenVGMFile(bakapee, &pee[0]));\r
-       IN_Startup();\r
-       IN_Default(0,&player,ctrl_Joystick);\r
+       //IN_Startup(); IN_Default(0,&player,ctrl_Keyboard1);\r
        InitEngine();\r
        PlayMusic(&pee[0]);\r
-       while(!IN_KeyDown(sc_Escape))\r
-       //while(!kbhit())\r
+       //while(!IN_KeyDown(sc_Escape))\r
+       while(!kbhit())\r
        {\r
                IN_ReadControl(0,&player);\r
                UpdateSoundEngine();\r
        }\r
        StopMusic();\r
        FreeVGMFile(&pee[0]);\r
-       IN_Shutdown();\r
        DeinitEngine();\r
+       //IN_Shutdown();\r
 }\r
index 95f875770325ff8e84f029e68a6783c0b39a77b4..2a09e64c8cd9d6d5e3f6d2587301e6c3e9b716ff 100755 (executable)
@@ -52,7 +52,7 @@ void main() {
        byte *pal=0;\r
        int size=0;\r
        word w=0;\r
-       dbg_notest=1;\r
+       dbg_notest=0;\r
 \r
        Startup16(&gvar);\r
 \r
@@ -108,9 +108,7 @@ void main() {
 \r
        VGAmodeX(1, 1, &gvar);\r
        modexHiganbanaPageSetup(&gvar.video);\r
-\r
-       /* simulate scroll's zetup */\r
-       modexShowPage(&gvar.video.page[0]);\r
+       modexShowPage_(&gvar.video.page[0]);\r
 \r
        /* non sprite comparison */\r
        start = *clockw;\r
@@ -137,6 +135,7 @@ void main() {
                                w++;\r
                        break;\r
                }\r
+FUNCTIONKEYFUNCTIONS;\r
        }\r
        VGAmodeX(0, 1, &gvar);\r
        MM_ShowMemory(&gvar);\r
index e1b3c55799e3582fec76ef784b3dbf6d2189c6cb..0dc84d860f88dc728b431a1d21f731beaeefe5fa 100755 (executable)
@@ -214,7 +214,8 @@ void main(int argc, char *argv[])
                                break;\r
                        }\r
                }\r
-               //TODO fmemtest into page\r
+               FUNCTIONKEYFUNCTIONS;\r
+               // fmemtest into page\r
                /*if(IN_KeyDown(4+1))   //4\r
                {\r
                        pg=1;\r