Better toggle all relevant bits in VGA crt register.
This commit is contained in:
parent
15a0f0e78e
commit
73f0bfb838
|
@ -830,7 +830,7 @@ BYTE VGA_ioport_in( WORD port )
|
||||||
case 0x3da:
|
case 0x3da:
|
||||||
/* since we don't (yet?) serve DOS VM requests while VGA_Poll is running,
|
/* since we don't (yet?) serve DOS VM requests while VGA_Poll is running,
|
||||||
we need to fake the occurrence of the vertical refresh */
|
we need to fake the occurrence of the vertical refresh */
|
||||||
ret=vga_refresh?0x00:0x08;
|
ret=vga_refresh?0x00:0x0b; /* toggle video RAM and lightpen and VGA refresh bits ! */
|
||||||
if (vga_mode_initialized)
|
if (vga_mode_initialized)
|
||||||
vga_refresh=0;
|
vga_refresh=0;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue