From 9e4ec19da5e1df6d0f18978ceb567a9712185aab Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 22 Jun 2016 11:19:19 -0500 Subject: [PATCH] meh i should organize gvar and mv soon and use the memory manager and i cleaned the code up a bit --- src/lib/modex16.c | 4 ++-- src/lib/scroll16.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/modex16.c b/src/lib/modex16.c index ff9bf43a..429cbb0e 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -313,14 +313,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); diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index faf53fcb..571e1420 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -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 -- 2.39.5