]> 4ch.mooo.com Git - 16.git/commitdiff
added stuff to help me study 0.exe it is a complex program wwww what is getting to...
authorsparky4 <sparky4@cock.li>
Mon, 9 Jan 2017 18:33:21 +0000 (12:33 -0600)
committersparky4 <sparky4@cock.li>
Mon, 9 Jan 2017 18:33:21 +0000 (12:33 -0600)
DEBUG.16W [new file with mode: 0755]
HEAP.16W [new file with mode: 0755]
MMDUMP.16W [new file with mode: 0755]
src/0.c
src/lib/scroll16.c
src/test.c
src/tesuto.h
test.exe [deleted file]

diff --git a/DEBUG.16W b/DEBUG.16W
new file mode 100755 (executable)
index 0000000..d75bc1a
--- /dev/null
+++ b/DEBUG.16W
@@ -0,0 +1,210 @@
+\e[0mSeg:0      Size:9707       Owner:0x0\r
+\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0000\r
+\e[0m\e[0mSeg:26e4       Size:44 Owner:0x0\r
+\e[41;31m+\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2710       Size:256        Owner:0x1660\r
+\e[44;34m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2810       Size:256        Owner:0x1452\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2910       Size:256        Owner:0x1454\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2a10       Size:256        Owner:0x1456\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2b10       Size:256        Owner:0x1458\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2c10       Size:256        Owner:0x145a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2d10       Size:256        Owner:0x145c\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2e10       Size:256        Owner:0x145e\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2f10       Size:256        Owner:0x1460\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3010       Size:256        Owner:0x1462\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3110       Size:256        Owner:0x1464\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3210       Size:256        Owner:0x1466\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3310       Size:256        Owner:0x1468\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3410       Size:256        Owner:0x146a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3510       Size:256        Owner:0x146c\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3610       Size:256        Owner:0x146e\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3710       Size:256        Owner:0x1470\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3810       Size:256        Owner:0x1472\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3910       Size:256        Owner:0x1474\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3a10       Size:256        Owner:0x1476\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3b10       Size:256        Owner:0x1478\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3c10       Size:256        Owner:0x147a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3d10       Size:256        Owner:0x147c\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3e10       Size:256        Owner:0x147e\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3f10       Size:256        Owner:0x1480\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4010       Size:256        Owner:0x1482\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4110       Size:256        Owner:0x1484\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4210       Size:256        Owner:0x1486\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4310       Size:256        Owner:0x1488\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4410       Size:256        Owner:0x148a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4510       Size:256        Owner:0x148c\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4610       Size:256        Owner:0x148e\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4710       Size:256        Owner:0x1490\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4810       Size:256        Owner:0x1492\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4910       Size:256        Owner:0x1494\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4a10       Size:256        Owner:0x1496\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4b10       Size:256        Owner:0x1498\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4c10       Size:256        Owner:0x149a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4d10       Size:256        Owner:0x149c\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4e10       Size:256        Owner:0x149e\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4f10       Size:256        Owner:0x14a0\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5010       Size:256        Owner:0x14a2\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5110       Size:256        Owner:0x14a4\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5210       Size:256        Owner:0x14a6\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5310       Size:256        Owner:0x14a8\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5410       Size:256        Owner:0x14aa\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5510       Size:256        Owner:0x14ac\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5610       Size:256        Owner:0x14ae\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5710       Size:256        Owner:0x14b0\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5810       Size:256        Owner:0x14b2\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5910       Size:256        Owner:0x14b4\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5a10       Size:256        Owner:0x14b6\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5b10       Size:256        Owner:0x14b8\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5c10       Size:256        Owner:0x14ba\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5d10       Size:256        Owner:0x14bc\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5e10       Size:256        Owner:0x14be\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5f10       Size:256        Owner:0x14c0\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6010       Size:256        Owner:0x14c2\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6110       Size:256        Owner:0x14c4\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6210       Size:256        Owner:0x14c6\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6310       Size:256        Owner:0x14c8\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6410       Size:256        Owner:0x14ca\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6510       Size:256        Owner:0x14cc\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6610       Size:256        Owner:0x14ce\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6710       Size:256        Owner:0x14d0\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6810       Size:256        Owner:0x14d2\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6910       Size:256        Owner:0x14d4\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6a10       Size:256        Owner:0x14d6\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6b10       Size:256        Owner:0x14d8\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6c10       Size:256        Owner:0x14da\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6d10       Size:256        Owner:0x14dc\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6e10       Size:256        Owner:0x14de\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6f10       Size:256        Owner:0x14e0\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7010       Size:256        Owner:0x14e2\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7110       Size:256        Owner:0x14e4\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7210       Size:256        Owner:0x14e6\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7310       Size:256        Owner:0x14e8\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7410       Size:256        Owner:0x14ea\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7510       Size:256        Owner:0x14ec\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7610       Size:256        Owner:0x14ee\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7710       Size:256        Owner:0x14f0\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7810       Size:256        Owner:0x14f2\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7910       Size:256        Owner:0x14f4\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7a10       Size:256        Owner:0x14f6\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7b10       Size:256        Owner:0x14f8\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7c10       Size:256        Owner:0x14fa\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7d10       Size:256        Owner:0x14fc\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7e10       Size:256        Owner:0x14fe\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7f10       Size:256        Owner:0x1500\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8010       Size:256        Owner:0x1502\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8110       Size:256        Owner:0x1504\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8210       Size:256        Owner:0x1506\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8310       Size:256        Owner:0x1508\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8410       Size:256        Owner:0x150a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8510       Size:256        Owner:0x150c\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8610       Size:256        Owner:0x150e\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8710       Size:256        Owner:0x1510\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8810       Size:256        Owner:0x1512\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8910       Size:256        Owner:0x1514\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8a10       Size:256        Owner:0x1516\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8b10       Size:256        Owner:0x1518\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8c10       Size:401        Owner:0xec1c\r
+\e[44;34m++++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:b710       Size:18671      Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
diff --git a/HEAP.16W b/HEAP.16W
new file mode 100755 (executable)
index 0000000..809c76d
--- /dev/null
+++ b/HEAP.16W
@@ -0,0 +1,69 @@
+\r
+       == default ==\r
+\r
+  USED block at 27060016 of size 136\r
+  FREE block at 2706009e of size 68\r
+  USED block at 270600e2 of size 50\r
+  USED block at 27060114 of size 50\r
+  USED block at 27060146 of size 50\r
+  USED block at 27060178 of size 50\r
+  USED block at 270601aa of size 50\r
+  USED block at 270601dc of size 50\r
+  USED block at 2706020e of size 50\r
+  USED block at 27060240 of size 50\r
+  USED block at 27060272 of size 50\r
+  USED block at 270602a4 of size 50\r
+  USED block at 270602d6 of size 50\r
+  USED block at 27060308 of size 50\r
+  FREE block at 2706033a of size 14\r
+  USED block at 27060348 of size 20\r
+  FREE block at 2706035c of size 7328\r
+OK - end of heap\r
+\r
+       == near ==\r
+\r
+  USED block at 1705ec66 of size 12\r
+  USED block at 1705ec72 of size 330\r
+  USED block at 1705edbc of size 52\r
+  USED block at 1705edf0 of size 20\r
+  USED block at 1705ee04 of size 20\r
+  USED block at 1705ee18 of size 20\r
+  USED block at 1705ee2c of size 20\r
+  USED block at 1705ee40 of size 20\r
+  USED block at 1705ee54 of size 4520\r
+OK - end of heap\r
+\r
+       == far ==\r
+\r
+  USED block at 27060016 of size 136\r
+  USED block at 2706009e of size 68\r
+  USED block at 270600e2 of size 50\r
+  USED block at 27060114 of size 50\r
+  USED block at 27060146 of size 50\r
+  USED block at 27060178 of size 50\r
+  USED block at 270601aa of size 50\r
+  USED block at 270601dc of size 50\r
+  USED block at 2706020e of size 50\r
+  USED block at 27060240 of size 50\r
+  USED block at 27060272 of size 50\r
+  USED block at 270602a4 of size 50\r
+  USED block at 270602d6 of size 50\r
+  USED block at 27060308 of size 50\r
+  USED block at 2706033a of size 14\r
+  USED block at 27060348 of size 20\r
+  USED block at 2706035c of size 7328\r
+OK - end of heap\r
+\r
+Memory Type         Total      Used       Free\r
+----------------  --------   --------   --------\r
+Default                   8166         756       7410\r
+Near              5014         494       4520\r
+Far               8166         756       7410\r
+----------------  --------   --------   --------\r
+coreleft = 4518\r
+farcoreleft = 36334\r
+GetFreeSize = 31836\r
+GetNearFreeSize = 4520\r
+GetFarFreeSize = 31836\r
+memavl = 4518\r
+stackavail = 31539\r
diff --git a/MMDUMP.16W b/MMDUMP.16W
new file mode 100755 (executable)
index 0000000..9811f98
Binary files /dev/null and b/MMDUMP.16W differ
diff --git a/src/0.c b/src/0.c
index 635a4f3eb1a3c34bc01ecb452268055e21abc2f9..4a315f19c341ed4231bb04aa350722423c3b9cf4 100755 (executable)
--- a/src/0.c
+++ b/src/0.c
@@ -75,6 +75,8 @@ int main(int argc,char **argv)
        }\r
        VGAmodeX(1, 1, &gvar);\r
 \r
+       modexPalUpdate0(palette);\r
+\r
        /* load color palette */\r
        fd = open(bakapee2,O_RDONLY|O_BINARY);\r
        if (fd >= 0) {\r
@@ -128,7 +130,7 @@ int main(int argc,char **argv)
        TESTBG;\r
 #endif\r
 \r
-       DRAWCORNERBOXES;\r
+       //DRAWCORNERBOXES;\r
 \r
        /* make distinctive pattern offscreen, render sprite, copy onscreen.\r
         * this time, we render the distinctive pattern to another offscreen location and just copy.\r
@@ -153,7 +155,7 @@ int main(int argc,char **argv)
 #else\r
        TESTBG;\r
 #endif\r
-               DRAWCORNERBOXES;\r
+               //DRAWCORNERBOXES;\r
 \r
                /* starting coords. note: this technique is limited to x coordinates of multiple of 4 */\r
                x = -(gvar.video.page[0].dx);\r
@@ -180,7 +182,7 @@ int main(int argc,char **argv)
                                player[0].q = 1; player[0].d = 2;\r
                                x=y=0;\r
                                xdir=ydir=1;\r
-                               TESTBG;\r
+                               //TESTBG;\r
                                DRAWCORNERBOXES;\r
                        } //R\r
                        FUNCTIONKEYFUNCTIONS0EXE;\r
index c30c8ac5c077ad2831825890db52213bf21f9925..112610c98d324923af851f6d1e76d1f395367070 100755 (executable)
@@ -306,7 +306,7 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn)
 \r
                //down movement\r
                case 4:\r
-                       if(pip[pip[0].pan->pn].ty >= 0 && pip[pip[0].pan->pn].ty+pip[pip[0].pan->pn].page->th < pip[pip[0].pan->pn].page->tilesh+pip[pip[1].pan->pn].page->tilesh+pip[pip[2].pan->pn].page->tilesh+pip[pip[3].pan->pn].page->tilesh)\r
+                       if(pip[pip[0].pan->pn].ty >= 0 && pip[pip[0].pan->pn].ty+pip[pip[0].pan->pn].page->th < pip[pip[0].pan->pn].page->tilesh+pip[pip[1].pan->pn].page->tilesh)//+pip[pip[2].pan->pn].page->tilesh+pip[pip[3].pan->pn].page->tilesh)\r
                        {\r
                                if(player[pn].q<=player[pn].spt)\r
                                {\r
@@ -319,7 +319,7 @@ void panVmemManual(map_view_t *pip, player_t *player, word pn)
 \r
                //up movement\r
                case 0:\r
-                       if(pip[pip[0].pan->pn].ty > 0 && pip[pip[0].pan->pn].ty+pip[pip[0].pan->pn].page->th <= pip[pip[0].pan->pn].page->tilesh+pip[pip[1].pan->pn].page->tilesh+pip[pip[2].pan->pn].page->tilesh+pip[pip[3].pan->pn].page->tilesh)\r
+                       if(pip[pip[0].pan->pn].ty > 0 && pip[pip[0].pan->pn].ty+pip[pip[0].pan->pn].page->th <= pip[pip[0].pan->pn].page->tilesh+pip[pip[1].pan->pn].page->tilesh)//+pip[pip[2].pan->pn].page->tilesh+pip[pip[3].pan->pn].page->tilesh)\r
                        {\r
                                if(player[pn].q<=player[pn].spt)\r
                                {\r
index 363047f2fbca5c1d79e150d1c1db8adb4ff976d6..332f211acc3af55474e3c5a6c6afc2c61ac7ddb0 100755 (executable)
 \r
 static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
 player_t player[MaxPlayers];\r
-map_view_t mv[4];\r
 pan_t pan;\r
 \r
 void main(int argc, char *argv[])\r
 {\r
        static global_game_variables_t gvar;\r
+       map_view_t mv[4];\r
        int i, j;\r
        word startclk, endclk;\r
        word k;\r
@@ -125,18 +125,18 @@ void main(int argc, char *argv[])
        modexClearRegion(&gvar.video.page[0], 32, 32, gvar.video.page[0].sw-32, gvar.video.page[0].sh-32, 42);\r
        modexClearRegion(&gvar.video.page[0], 48, 48, gvar.video.page[0].sw-64, gvar.video.page[0].sh-64, 128);\r
        modexCopyPageRegion(&gvar.video.page[1], &gvar.video.page[0], 0, 0, 0, 0, gvar.video.page[0].width, gvar.video.page[0].height);\r
-       modexClearRegion(&gvar.video.page[2], 0, 0, gvar.video.page[2].sw, gvar.video.page[2].sh, 47);\r
-       modexClearRegion(&gvar.video.page[3], 0, 0, gvar.video.page[3].sw, gvar.video.page[3].sh, 45);\r
+       //modexClearRegion(&gvar.video.page[2], 0, 0, gvar.video.page[2].sw, gvar.video.page[2].sh, 47);\r
+       //modexClearRegion(&gvar.video.page[3], 0, 0, gvar.video.page[3].sw, gvar.video.page[3].sh, 45);\r
 \r
        /* fade in */\r
        modexFadeOn(1, pal2);\r
 \r
-       i=0,k=0,j=0,pan.pn=1;\r
+       i=0,k=0,j=0,pan.pn=0;\r
        startclk = *clockw;\r
        while(!IN_KeyDown(sc_Escape))\r
        {\r
                IN_ReadControl(0,&player);\r
-               panpagemanual(mv, player, 0);\r
+               panPageManual(mv, player, 0);\r
 \r
                /*if(i<5){\r
                switch (k)\r
index 09aca18b07e77cc6d4e6f0fe1c4e506a1d24db78..8aa2119e64a78750c908a83b19a7ccb34d909c26 100755 (executable)
 \r
 #define DRAWOTHERCORNERBOX_TOPLEFT \\r
 DCBO,  0,      0,      16, 16, 0); \\r
-DCBO,  16,     16,     16, 16, 2); \\r
-DCBI,          0,      0,      16, 16, 0); \\r
-DCBI,          16,     16,     16, 16, 2);\r
+DCBO,  16,     16,     16, 16, 1); \\r
+DCBI,          0,      0,      16, 16, 8); \\r
+DCBI,          16,     16,     16, 16, 9);\r
 \r
 #define DRAWOTHERCORNERBOX_TOPRIGHT \\r
-DCBO,  OW,     0,      16, 16, 0); \\r
-DCBO,  OE,     16,     16, 16, 2); \\r
-DCBI,          IW,     0,      16, 16, 0); \\r
-DCBI,          IE,     16,     16, 16, 2);\r
+DCBO,  OW,     0,      16, 16, 2); \\r
+DCBO,  OE,     16,     16, 16, 3); \\r
+DCBI,          IW,     0,      16, 16, 10); \\r
+DCBI,          IE,     16,     16, 16, 11);\r
 \r
 #define DRAWOTHERCORNERBOX_BOTTOMLEFT \\r
-DCBO,  0,      OH,     16, 16, 0); \\r
-DCBO,  16,     OJ,     16, 16, 2); \\r
-DCBI,          0,      IH,     16, 16, 0); \\r
-DCBI,          16,     IJ,     16, 16, 2);\r
+DCBO,  0,      OH,     16, 16, 4); \\r
+DCBO,  16,     OJ,     16, 16, 5); \\r
+DCBI,          0,      IH,     16, 16, 12); \\r
+DCBI,          16,     IJ,     16, 16, 13);\r
 \r
 #define DRAWOTHERCORNERBOX_BOTTOMRIGHT \\r
-DCBO,  OE,     OJ,     16, 16, 2); \\r
-DCBO,  OW,     OH,     16, 16, 0); \\r
-DCBI,          IE,     IJ,     16, 16, 2);\\r
-DCBI,          IW,     IH,     16, 16, 0);\r
+DCBO,  OE,     OJ,     16, 16, 6); \\r
+DCBO,  OW,     OH,     16, 16, 7); \\r
+DCBI,          IE,     IJ,     16, 16, 14);\\r
+DCBI,          IW,     IH,     16, 16, 15);\r
 \r
 #define DRAWCORNERBOXES \\r
 DRAWOTHERCORNERBOX_TOPLEFT; \\r
diff --git a/test.exe b/test.exe
deleted file mode 100755 (executable)
index 559da1a..0000000
Binary files a/test.exe and /dev/null differ