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:
parent
07c2d06ae5
commit
3a2b3c6d57
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue