X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fvgacamm.c;h=e9c1c0ba72305651089e39e4ca364dbe064d6224;hb=10bcfe6f57ef93862812377a8dc78dd45e9c0dd0;hp=39d9280375a97ddbb4bcb78ff64f6dc3b034fa36;hpb=44054b89cca68a614961b37f5263c91efea1e686;p=16.git diff --git a/src/vgacamm.c b/src/vgacamm.c index 39d92803..e9c1c0ba 100755 --- a/src/vgacamm.c +++ b/src/vgacamm.c @@ -27,9 +27,8 @@ void main() { global_game_variables_t gvar; - //mminfo_t mm; mminfotype mmi; __segment sega; - void __based(sega)* bigbuffer; + memptr bigbuffer; int i; word start; int plane; @@ -66,11 +65,8 @@ void main() { return; } - gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]); - VGAmodeX(1, 1, &gvar); - modexClearRegion(&gvar.video.page[0], 0, 0, gvar.video.page[0].sw, gvar.video.page[0].sh, 1); - //modexHiganbanaPageSetup(&gvar.video); + modexHiganbanaPageSetup(&gvar.video); /* non sprite comparison */ start = *clockw; @@ -96,13 +92,15 @@ void main() { VGAmodeX(0, 1, &gvar); MM_ShowMemory(&gvar, &gvar.mm); MM_DumpData(&gvar.mm); + // MM_FreePtr(&bigbuffer, &gvar.mm); + // CA_Shutdown(&gvar); MM_Shutdown(&gvar.mm); //printf("CPU to VGA: %f\n", t1); //printf("VGA to VGA: %f\n", t2); heapdump(&gvar); - printf("Project 16 emmtest.exe. This is just a test file!\n"); + printf("Project 16 vgacamm.exe. This is just a test file!\n"); printf("version %s\n", VERSION); printf("t1: %f\n", t1); printf("t2: %f\n", t2);