From: sparky4 Date: Mon, 20 Jun 2016 17:23:27 +0000 (-0500) Subject: readded OLD sprite drawing now for fixing the background stuff ww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=dec8fb4c2cfbe97da035e3e3c5eb1d62dcf26b48;p=16.git readded OLD sprite drawing now for fixing the background stuff ww --- diff --git a/src/lib/modex16.c b/src/lib/modex16.c index eeba90fc..85651bac 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -307,14 +307,14 @@ modexShowPage(page_t *page) { low_address = LOW_ADDRESS | (offset << 8); /* wait for appropriate timing and then program CRTC */ - //while ((inp(INPUT_STATUS_1) & DISPLAY_ENABLE)); + while ((inp(INPUT_STATUS_1) & DISPLAY_ENABLE)); outpw(CRTC_INDEX, high_address); outpw(CRTC_INDEX, low_address); outp(CRTC_INDEX, 0x13); outp(CRTC_DATA, crtcOffset); /* wait for one retrace */ - //while (!(inp(INPUT_STATUS_1) & VRETRACE)); + while (!(inp(INPUT_STATUS_1) & VRETRACE)); /* do PEL panning here */ outp(AC_INDEX, 0x33);