X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fvrstest.c;h=bd3e1da10e49f0b60a3943c5ab287c6b53094e15;hb=51b492de428068830f36b4ec57168f34c9477dab;hp=95f875770325ff8e84f029e68a6783c0b39a77b4;hpb=310f4da6ca5a87f9b69e8de7cbe4407703415f54;p=16.git diff --git a/src/vrstest.c b/src/vrstest.c index 95f87577..bd3e1da1 100755 --- a/src/vrstest.c +++ b/src/vrstest.c @@ -32,7 +32,8 @@ extern boolean dbg_notest; static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ -void main() { +void main() +{ static global_game_variables_t gvar; //__segment sega; memptr bigbuffer; @@ -52,7 +53,7 @@ void main() { byte *pal=0; int size=0; word w=0; - dbg_notest=1; + dbg_notest=0; Startup16(&gvar); @@ -108,9 +109,7 @@ void main() { VGAmodeX(1, 1, &gvar); modexHiganbanaPageSetup(&gvar.video); - - /* simulate scroll's zetup */ - modexShowPage(&gvar.video.page[0]); + VL_ShowPage(&gvar.video.page[0], 0, 1); /* non sprite comparison */ start = *clockw; @@ -137,6 +136,7 @@ void main() { w++; break; } +FUNCTIONKEYFUNCTIONS; } VGAmodeX(0, 1, &gvar); MM_ShowMemory(&gvar);