--- xmil/io/crtc.c 2004/08/14 12:16:17 1.13 +++ xmil/io/crtc.c 2004/08/17 09:35:09 1.15 @@ -92,6 +92,9 @@ static void crtc_timingupdate(void) { UINT32 fontclock; UINT yl; + // とりあえず…ね + crtc.e.rasterdisp8 = (crtc.e.rasterclock8 * 40) / 56; + fontclock = (crtc.s.reg[CRTCREG_CHRCY] & 0x1f) + 1; fontclock = (fontclock * crtc.e.rasterclock8) >> 8; @@ -123,12 +126,14 @@ static void crtc_bankupdate(void) { crtc.e.updatebit = UPDATE_VRAM0; } dispmode = (crtc.s.SCRN_BITS & SCRN_DISPVRAM)?SCRN_BANK1:SCRN_BANK0; - pal_bank = pal_disp = PAL_NORMAL; + pal_bank = PAL_NORMAL; + pal_disp = PAL_NORMAL; if ((!(crtc.s.EXTPALMODE & 0x80)) || (crtc.s.SCRN_BITS & SCRN_UNDERLINE)) { updatemask = 0x7ff; if ((crtc.s.SCRN_BITS & SCRN_24KHZ) && (!crtc.s.width40)) { - pal_bank = pal_disp = PAL_HIGHRESO; + pal_bank = PAL_HIGHRESO; + pal_disp = PAL_HIGHRESO; } if (crtc.s.SCRN_BITS & SCRN_TEXTYx2) { updatemask = 0x3ff; @@ -232,7 +237,6 @@ static void crtc_bankupdate(void) { } - // ---- CRTC void IOOUTCALL crtc_o(UINT port, REG8 value) {