]> 4ch.mooo.com Git - 16.git/commitdiff
readded OLD sprite drawing now for fixing the background stuff ww
authorsparky4 <sparky4@cock.li>
Mon, 20 Jun 2016 17:23:27 +0000 (12:23 -0500)
committersparky4 <sparky4@cock.li>
Mon, 20 Jun 2016 17:23:27 +0000 (12:23 -0500)
src/lib/modex16.c

index eeba90fcfdd295bcc56d73993b3d2563400e9f65..85651baca17a59f73e387b4e38d71a2a7b103d92 100755 (executable)
@@ -307,14 +307,14 @@ modexShowPage(page_t *page) {
     low_address  = LOW_ADDRESS  | (offset << 8);\r
 \r
     /* wait for appropriate timing and then program CRTC */\r
-    //while ((inp(INPUT_STATUS_1) & DISPLAY_ENABLE));\r
+    while ((inp(INPUT_STATUS_1) & DISPLAY_ENABLE));\r
     outpw(CRTC_INDEX, high_address);\r
     outpw(CRTC_INDEX, low_address);\r
     outp(CRTC_INDEX, 0x13);\r
     outp(CRTC_DATA, crtcOffset);\r
 \r
     /*  wait for one retrace */\r
-    //while (!(inp(INPUT_STATUS_1) & VRETRACE));\r
+    while (!(inp(INPUT_STATUS_1) & VRETRACE));\r
 \r
     /* do PEL panning here */\r
     outp(AC_INDEX, 0x33);\r