]> 4ch.mooo.com Git - 16.git/commitdiff
made major changes in code for the future of scroll ^^
authorsparky4 <sparky4@cock.li>
Wed, 27 Apr 2016 19:37:57 +0000 (14:37 -0500)
committersparky4 <sparky4@cock.li>
Wed, 27 Apr 2016 19:37:57 +0000 (14:37 -0500)
SCROLL.16L [new file with mode: 0755]
src/lib/scroll16.c

diff --git a/SCROLL.16L b/SCROLL.16L
new file mode 100755 (executable)
index 0000000..a0bcf92
--- /dev/null
@@ -0,0 +1,35 @@
+starting timer ok\r
+index=4096\r
+chkmap ok      \r
+\r
+       1st vmem_remain=262144\r
+               [0], video->page[i].pagesize=95744\r
+               [0], vmem_remain=166400\r
+               [1], video->page[i].pagesize=95744\r
+               [1], vmem_remain=70656\r
+               [2], video->page[i].pagesize=70400\r
+               [2], vmem_remain=256\r
+               [3], video->page[i].pagesize=256\r
+               [3], vmem_remain=0\r
+Project 16 scroll.exe. This is just a test file!\r
+version Apr 27 2016 13:47:19\r
+tx: 12\r
+ty: 1\r
+player[0].x: 160               player[0].y: 128\r
+player[0].tx: 22               player[0].ty: 9\r
+player[0].triggx: 23   player[0].triggy: 9\r
+player[0].hp: 4        player[0].q: 1  player[0].info.dir: 2   player[0].d: 2\r
+pdir=3\r
+tile data value at player trigger position: 1\r
+Virtual Screen: 352x272\r
+Screen: 320x240\r
+tile resolution: 15x15 middle tile position: 10x8\r
+video memory remaining: 0\r
+\r
+page [0]=(a000:05b0)\r
+[1]=(a000:6330)\r
+[2]=(a000:bd5c)\r
+[3]=(a000:ffb4)\r
+\r
+\r
+detected CPU type: 386 or newer\r
index 5e9a866d6027a47b8ed27a0bf71faac84faf02ec..5b0cfd73694977978381c8d59ebe2ed06df196f5 100755 (executable)
@@ -459,6 +459,9 @@ void near ScrollDown(map_view_t *mv, player_t *player, word id, word plid)
                mv[0].video->page[id].data += 4;
                mv[0].video->page[id].dy = mv[0].map->tiles->tileWidth;
        }
+//     modexClearRegion(&(mv[0].video->page[id]), 0, 0,
+//                      mv[0].video->page[id].width-1,
+//               mv[0].video->page[id].height-1, [id]*2);
 }
 
 sword chkmap(map_t *map, word q)