Enabled write to CRTC R7 bit 4 when protection is enabled - fixes scrolling on DOS/V 6.2.
This commit is contained in:
parent
e00e489d5a
commit
6a72839c59
13 changed files with 51 additions and 14 deletions
|
|
@ -277,8 +277,10 @@ static void s3_virge_out(uint16_t addr, uint8_t val, void *p)
|
|||
return;
|
||||
case 0x3d5:
|
||||
//pclog("Write CRTC R%02X %02X %04x(%08x):%08x\n", svga->crtcreg, val, CS, cs, pc);
|
||||
if (svga->crtcreg <= 7 && svga->crtc[0x11] & 0x80)
|
||||
if ((svga->crtcreg < 7) && (svga->crtc[0x11] & 0x80))
|
||||
return;
|
||||
if ((svga->crtcreg == 7) && (svga->crtc[0x11] & 0x80))
|
||||
val = (svga->crtc[7] & ~0x10) | (val & 0x10);
|
||||
if (svga->crtcreg >= 0x20 && svga->crtcreg != 0x38 && (svga->crtc[0x38] & 0xcc) != 0x48)
|
||||
return;
|
||||
if (svga->crtcreg >= 0x80)
|
||||
|
|
|
|||
Loading…
Reference in a new issue