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

The implication seems to be of a fixed phase swing.

I'm enquiring further.
This commit is contained in:
Thomas Harte 2021-03-20 23:46:13 -04:00
parent 986c4006a6
commit 42bfabbe8c

View File

@ -122,7 +122,7 @@ template <VideoTiming timing> class Video {
if(offset >= burst_position && offset < burst_position+burst_length && end_offset > offset) { if(offset >= burst_position && offset < burst_position+burst_length && end_offset > offset) {
const int burst_duration = std::min(burst_position + burst_length, end_offset) - offset; const int burst_duration = std::min(burst_position + burst_length, end_offset) - offset;
crt_.output_colour_burst(burst_duration, 0); crt_.output_colour_burst(burst_duration, (line&1) * 128);
offset += burst_duration; offset += burst_duration;
} }
@ -199,7 +199,7 @@ template <VideoTiming timing> class Video {
if(offset >= burst_position && offset < burst_position+burst_length && end_offset > offset) { if(offset >= burst_position && offset < burst_position+burst_length && end_offset > offset) {
const int burst_duration = std::min(burst_position + burst_length, end_offset) - offset; const int burst_duration = std::min(burst_position + burst_length, end_offset) - offset;
crt_.output_colour_burst(burst_duration, 0); crt_.output_colour_burst(burst_duration, (line&1) * 128);
offset += burst_duration; offset += burst_duration;
} }