From: sparky4 Date: Wed, 27 Apr 2016 19:37:57 +0000 (-0500) Subject: made major changes in code for the future of scroll ^^ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=726f47f73e27e6969af9f726db349883b751dcc2;hp=e553045660c23a10ae193562ec2b46a8a2b84ee6;p=16.git made major changes in code for the future of scroll ^^ --- diff --git a/SCROLL.16L b/SCROLL.16L new file mode 100755 index 00000000..a0bcf921 --- /dev/null +++ b/SCROLL.16L @@ -0,0 +1,35 @@ +starting timer ok +index=4096 +chkmap ok + + 1st vmem_remain=262144 + [0], video->page[i].pagesize=95744 + [0], vmem_remain=166400 + [1], video->page[i].pagesize=95744 + [1], vmem_remain=70656 + [2], video->page[i].pagesize=70400 + [2], vmem_remain=256 + [3], video->page[i].pagesize=256 + [3], vmem_remain=0 +Project 16 scroll.exe. This is just a test file! +version Apr 27 2016 13:47:19 +tx: 12 +ty: 1 +player[0].x: 160 player[0].y: 128 +player[0].tx: 22 player[0].ty: 9 +player[0].triggx: 23 player[0].triggy: 9 +player[0].hp: 4 player[0].q: 1 player[0].info.dir: 2 player[0].d: 2 +pdir=3 +tile data value at player trigger position: 1 +Virtual Screen: 352x272 +Screen: 320x240 +tile resolution: 15x15 middle tile position: 10x8 +video memory remaining: 0 + +page [0]=(a000:05b0) +[1]=(a000:6330) +[2]=(a000:bd5c) +[3]=(a000:ffb4) + + +detected CPU type: 386 or newer diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 5e9a866d..5b0cfd73 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -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)