1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Tie snow avoidance to avoiding DEN.

This commit is contained in:
Thomas Harte 2023-12-08 11:02:41 -05:00
parent 664890cead
commit e703721271

View File

@ -67,7 +67,7 @@ class CGA {
// b1: 1 => positive edge from light pen has set trigger;
// b0: 1 => safe to write to VRAM now without causing snow.
(crtc_.get_bus_state().vsync ? 0b1001 : 0b0000) |
(crtc_.get_bus_state().hsync ? 0b0001 : 0b0000) |
(crtc_.get_bus_state().display_enable ? 0b0000 : 0b0001) |
0b0100;
default: return 0xff;