From dec8fb4c2cfbe97da035e3e3c5eb1d62dcf26b48 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 20 Jun 2016 12:23:27 -0500 Subject: [PATCH] readded OLD sprite drawing now for fixing the background stuff ww --- src/lib/modex16.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5