1
0
Fork 0

Reset write ops after drawing text in EGA graphics modes, consistent with EGA/VGA BIOS. Fixes Fun School 3.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4169
This commit is contained in:
ripsaw8080 2018-11-12 16:39:49 +00:00
parent 07c2d06ae5
commit 3a2b3c6d57

View file

@ -625,6 +625,11 @@ void INT10_WriteChar(Bit8u chr,Bit8u attr,Bit8u page,Bit16u count,bool showattr)
cur_row++;
}
}
if (CurMode->type==M_EGA) {
// Reset write ops for EGA graphics modes
IO_Write(0x3ce,0x3);IO_Write(0x3cf,0x0);
}
}
static void INT10_TeletypeOutputAttr(Bit8u chr,Bit8u attr,bool useattr,Bit8u page) {