1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Honour monochrome flag.

This commit is contained in:
Thomas Harte 2023-12-06 13:15:17 -05:00
parent 0bb74f405f
commit 987a5dbfbf

View File

@ -151,7 +151,9 @@ class CGA {
} else if(!state.display_enable || !(control_&0x08)) {
new_state = OutputState::Border;
if(cycles_since_hsync <= 4) {
// TODO: I'm pretty sure this isn't correct for colour burst positioning, though
// it happens to fool the particular CRT I've implemented.
if(!(control_&4) && cycles_since_hsync <= 4) {
new_state = OutputState::ColourBurst;
}
} else {