]> 4ch.mooo.com Git - 16.git/commitdiff
meh i should organize gvar and mv soon and use the memory manager and i cleaned the...
authorsparky4 <sparky4@cock.li>
Wed, 22 Jun 2016 16:19:19 +0000 (11:19 -0500)
committersparky4 <sparky4@cock.li>
Wed, 22 Jun 2016 16:19:19 +0000 (11:19 -0500)
src/lib/modex16.c
src/lib/scroll16.c

index ff9bf43a305615a7db9fb9d9ef01c09d99262d7b..429cbb0ef1000e70c8ad86b7cfaccba5b5616ed7 100755 (executable)
@@ -313,14 +313,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
index faf53fcbfb518fa485b7d260bc67f4db037b583e..571e1420235b2c5d262563fca09c682035412290 100755 (executable)
@@ -622,7 +622,7 @@ void mapGoTo(map_view_t *mv, int tx, int ty)
 //                                     vga_state.vga_graphics_ram[o] = (k^j)&15; // VRL samples put all colors in first 15!
 //             }
 //     }
-       modexCopyPageRegion(mv[3].page, mv[0].page, 0/**/, 0/**/, 0, 0, 16, 40);
+       modexCopyPageRegion(mv[3].page, mv[0].page, 0/**/, 0/**/, 0, 0, 16, 32);
 }
 
 void near