From: sparky4 Date: Fri, 19 Jun 2015 11:55:02 +0000 (-0500) Subject: video memory~ ^^ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=fa0663c35fd7421111d585a6de610331052baa68;p=16.git video memory~ ^^ modified: scroll.exe modified: src/scroll.c --- diff --git a/scroll.exe b/scroll.exe index a35f37ef..bdbd9dfb 100644 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/scroll.c b/src/scroll.c index 4905fecd..950c7efa 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -123,7 +123,7 @@ void main() { //---- initMap(&map); mv[0].map = ↦ mv[1].map = ↦ - //mv[2].map = ↦ + mv[2].map = ↦ /* draw the tiles */ ptr = map.data; @@ -196,11 +196,11 @@ void main() { /* setup camera and screen~ */ screen = modexDefaultPage(); screen.width += (TILEWH*2); - screen.height += (TILEWH*2)+QUADWH; + screen.height += (TILEWH*2);//+QUADWH; mv[0].page = &screen; screen2 = modexNextPage(mv[0].page); mv[1].page = &screen2; - screen3 = modexNextPage0(mv[1].page, 352, 200); //(352*176)+1024 is the remaining amount of memory left wwww + screen3 = modexNextPage0(mv[1].page, 320, 240); //(352*176)+1024 is the remaining amount of memory left wwww //screen3 = modexNextPage0(mv2.page, 320, 192); //(352*176)+1024 is the remaining amount of memory left wwww mv[2].page = &screen3;