1
0
Fork 0

Fix correct address of linear frame buffer.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1201
This commit is contained in:
Sjoerd van der Berg 2003-08-23 11:00:08 +00:00
parent a91af64d77
commit 42cf596c56

View file

@ -422,12 +422,12 @@ void write_p3d5(Bit32u port,Bit8u val) {
7 (928) RAS 6-MCLK. If set the random read/write cycle time is 6MCLKs,
if clear 7MCLKs
*/
case 0x59: /* Linear Address Window Position Low */
vga.s3.la_window=(vga.s3.la_window&0xff00) | val;
case 0x59: /* Linear Address Window Position High */
vga.s3.la_window=(vga.s3.la_window&0x00ff) | (val << 8);
VGA_StartUpdateLFB();
break;
case 0x5a: /* Linear Address Window Position High */
vga.s3.la_window=(vga.s3.la_window&0x00ff) | (val << 8);
case 0x5a: /* Linear Address Window Position Low */
vga.s3.la_window=(vga.s3.la_window&0xff00) | val;
VGA_StartUpdateLFB();
break;
case 0x5D: /* Extended Horizontal Overflow */