1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-30 11:34:54 +00:00

Move interrupt away from buggy position.

Since I don't know where it's supposed to go anyway.
This commit is contained in:
Thomas Harte 2023-05-08 09:50:05 -04:00
parent 3797968870
commit e94b9f695a

View File

@ -44,8 +44,11 @@ Base<personality>::Base() :
} }
if constexpr (is_yamaha_vdp(personality)) { if constexpr (is_yamaha_vdp(personality)) {
// TODO: start of sync, or end of sync? // TODO: start of sync, or end of sync? Or elsewhere.
mode_timing_.line_interrupt_position = 0;//Timing<personality>::StartOfSync; // Note that there's a bug elsewhere if the proper value of this is zero in the
// "if started before but reached this count" logic — that is boxed into considering
// a single line only so never sees starts before 0.
mode_timing_.line_interrupt_position = LineLayout<personality>::EndOfSync;
} }
// Establish that output is delayed after reading by `output_lag` cycles, // Establish that output is delayed after reading by `output_lag` cycles,