1
0
Fork 0

Prepare the PCJR video palette chip before writing data. Thanks ripsaw.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3788
This commit is contained in:
Ralf Grillenberger 2012-07-29 17:46:51 +00:00
parent 5caa85d19e
commit be2b9c2db7

View file

@ -343,6 +343,7 @@ void INT10_SetColorSelect(Bit8u val) {
if (machine == MCH_CGA || machine==MCH_TANDY)
IO_Write(0x3d9,temp);
else if (machine == MCH_PCJR) {
IO_Read(VGAREG_TDY_RESET); // reset the flipflop
switch(vga.mode) {
case M_TANDY2:
IO_Write(VGAREG_TDY_ADDRESS, 0x11);