From 253ecc161398a657d7393476d374f8304365af3c Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 22 Apr 2016 10:43:07 -0500 Subject: [PATCH] repo sync ^^ --- src/.scroll.c.kate-swp | Bin 149 -> 0 bytes src/lib/modex16.c | 5 +++-- src/scroll.c | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) delete mode 100755 src/.scroll.c.kate-swp diff --git a/src/.scroll.c.kate-swp b/src/.scroll.c.kate-swp deleted file mode 100755 index d25cd712ebfc5957edd16dc721cb9ea9a4f401a9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 149 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?VnxT|u>b#2j_TqFL}ZCj-DZG*!Z7#NoU uWg1page[0]) = modexDefaultPage(&(video->page[0])); video->num_of_pages++; video->page[0].width += (TILEWH*2); video->page[0].height += (TILEWH*2); (video->page[1]) = modexNextPage(&(video->page[0])); video->num_of_pages++; + (video->page[2]) = modexNextPage(&(video->page[1])); video->num_of_pages++; + //(352*176)+1024 is the remaining amount of memory left wwww modexCalcVmemRemain(video); - (video->page[2]) = modexNextPageFlexibleSize(&(video->page[1]), video->page[0].sw, video->page[0].sh); //(352*176)+1024 is the remaining amount of memory left wwww - video->num_of_pages++; + (video->page[3]) = modexNextPageFlexibleSize(&(video->page[2]), video->page[0].sw, 92); video->num_of_pages++; modexCalcVmemRemain(video); //gvar.video.page[2] = modexNextPage0(mv2.page, 320, 192); //(352*176)+1024 is the remaining amount of memory left wwww } diff --git a/src/scroll.c b/src/scroll.c index f58490f9..81f7da05 100755 --- a/src/scroll.c +++ b/src/scroll.c @@ -337,6 +337,7 @@ void main(int argc, char *argv[]) if(IN_KeyDown(2)){ modexShowPage(mv[0].page); panpagenum=0; } if(IN_KeyDown(3)){ modexShowPage(mv[1].page); panpagenum=1; } if(IN_KeyDown(4)){ modexShowPage(mv[2].page); panpagenum=2; } + if(IN_KeyDown(5)){ modexShowPage(&(gvar.video.page[3])); panpagenum=3; } if(IN_KeyDown(25)){ modexpdump(mv[0].page); modexpdump(mv[1].page); } //p #ifdef MODEX #ifdef FADE @@ -421,6 +422,7 @@ void main(int argc, char *argv[]) printf("Screen: %dx", gvar.video.page[0].sw); printf("%d\n", gvar.video.page[0].sh); printf("tile resolution: %dx", gvar.video.page[0].tilesh); printf("%d\n", gvar.video.page[0].tilesh); printf("middle tile position: %dx", gvar.video.page[0].tilemidposscreenx); printf("%d\n", gvar.video.page[0].tilemidposscreeny); + printf("video memory remaining: %d\n", gvar.video.vmem_remain); // printf("Screen2: %dx", gvar.video.page[1].width); printf("%d\n", gvar.video.page[1].height); // printf("map: %dx%d\n", map.width, map.height); // printf("\n"); @@ -428,6 +430,7 @@ void main(int argc, char *argv[]) // printf("player[0].info.tx: %d", player[0].info.x); printf(" player[0].info.ty: %d\n", player[0].info.y); //printf("map.width=%d map.height=%d map.data[0]=%d\n", mv[0].map->width, mv[0].map->height, mv[0].map->data[0]); + printf("\n"); switch(detectcpu()) { case 0: cpus = "8086/8088 or 186/88"; break; -- 2.39.5