fully clear display start on graphics mode switches (duke3d vesa exit)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2738
This commit is contained in:
parent
fbd74e52d3
commit
aad5eb3e23
1 changed files with 3 additions and 0 deletions
|
@ -681,6 +681,9 @@ bool INT10_SetVideoMode(Bitu mode) {
|
|||
/* This register actually has more bits but only use the extended offset ones */
|
||||
IO_Write(crtc_base,0x51);
|
||||
IO_Write(crtc_base + 1,(offset & 0x300) >> 4);
|
||||
/* Clear remaining bits of the display start */
|
||||
IO_Write(crtc_base,0x69);
|
||||
IO_Write(crtc_base + 1,0);
|
||||
/* Extended Vertical Overflow */
|
||||
IO_Write(crtc_base,0x5e);IO_Write(crtc_base+1,ver_overflow);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue