tweak some vga bios functions to better stick to real implementations
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2995
This commit is contained in:
parent
208edab1ac
commit
d64648208a
7 changed files with 101 additions and 34 deletions
|
@ -139,7 +139,10 @@ static void write_p3cf(Bitu port,Bitu val,Bitu iolen) {
|
|||
*/
|
||||
break;
|
||||
case 6: /* Miscellaneous Register */
|
||||
gfx(miscellaneous)=val;
|
||||
if ((gfx(miscellaneous) ^ val) & 0x0c) {
|
||||
gfx(miscellaneous)=val;
|
||||
VGA_DetermineMode();
|
||||
} else gfx(miscellaneous)=val;
|
||||
VGA_SetupHandlers();
|
||||
/*
|
||||
0 Indicates Graphics Mode if set, Alphanumeric mode else.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue