From: sparky4 Date: Wed, 4 May 2016 19:31:52 +0000 (-0500) Subject: joncambell321 please help test.exe creates garbage if the 2nd rendering page is written X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=01fc52289708369426db55576b9a3c7e72f9aa07;p=16.git joncambell321 please help test.exe creates garbage if the 2nd rendering page is written --- diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 8776d0aa..e7085e63 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -170,7 +170,9 @@ modexDefaultPage(page_t *p) page_t page; /* default page values */ - page.data = vga_state.vga_graphics_ram;//VGA; + //page.data = VGA; + //page.data = (byte far *)(vga_state.vga_graphics_ram); + page.data = (vga_state.vga_graphics_ram); page.dx = 0; page.dy = 0; page.sw = p->sw;