1
0
Fork 0

Reset the CPU Window on mode set

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1193
This commit is contained in:
Sjoerd van der Berg 2003-08-22 08:09:39 +00:00
parent 9d063495e7
commit 8f655ccc0d

View file

@ -434,8 +434,11 @@ dac_text16:
IO_Write(0x3df,0x80); //Enter 32k mode and banks on 0
break;
}
/* Setup the CPU Window */
IO_Write(0x3d4,0x6a);
IO_Write(0x3d5,0);
/* Setup some remaining S3 registers */
IO_Write(0x3d4,0x31);IO_Write(0x3d5,0x9); //Enable banked memory and 256k+ access
IO_Write(0x3d4,0x58);IO_Write(0x3d5,0x3); //Enable 8 mb of linear addressing
IO_Write(0x3d4,0x38);IO_Write(0x3d5,0x48); //Register lock 1