\r
/* setup camera and screen~ */\r
modexHiganbanaPageSetup(&gvar.video);\r
- gvar.video.page[1].dx=gvar.video.page[0].dx=16;\r
- gvar.video.page[1].dy=gvar.video.page[0].dy=16;\r
modexShowPage(&(gvar.video.page[0]));\r
\r
#define VMEMHEIGHT gvar.video.page[0].height+gvar.video.page[1].height\r
}\r
\r
/* starting coords. note: this technique is limited to x coordinates of multiple of 4 */\r
- x = 0;\r
- y = 0;\r
+ x = -(gvar.video.page[0].dx);\r
+ y = -(gvar.video.page[0].dy);\r
\r
/* do it */\r
omemptr = vga_state.vga_graphics_ram; // save original mem ptr\r
modexCalcVmemRemain(video);\r
video->p=0;\r
video->r=1;\r
+\r
+ //setup the buffersize\r
+ video->page[0].dy=video->page[0].dx=\r
+ video->page[1].dx=video->page[1].dy=16;\r
+ video->page[2].dx=video->page[2].dy=\r
+ video->page[3].dx=video->page[3].dy=0;\r
}\r
\r
void\r
modexHiganbanaPageSetup(&gvar.video);\r
\r
/* simulate scroll's zetup */\r
- gvar.video.page[0].dx = gvar.video.page[0].dy = 16;\r
modexShowPage(&gvar.video.page[0]);\r
\r
/* non sprite comparison */\r