1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-25 18:30:07 +00:00

Make reasonable guesses at colour burst placement.

This commit is contained in:
Thomas Harte 2023-04-22 23:11:01 -04:00
parent d587d80616
commit 12bcc2dee7

View File

@ -197,8 +197,8 @@ template <Personality personality, typename Enable = void> struct LineLayout;
template <Personality personality> struct LineLayout<personality, std::enable_if_t<personality == Personality::TMS9918A || (is_sega_vdp(personality) && personality != Personality::MDVDP)>> {
constexpr static int EndOfSync = 26;
// constexpr static int StartOfColourBurst = 30;
// constexpr static int EndOfColourBurst = 30;
constexpr static int StartOfColourBurst = 29;
constexpr static int EndOfColourBurst = 43;
constexpr static int EndOfLeftErase = 50;
constexpr static int EndOfLeftBorder = 63;
constexpr static int EndOfPixels = 319;
@ -207,8 +207,8 @@ template <Personality personality> struct LineLayout<personality, std::enable_if
template <Personality personality> struct LineLayout<personality, std::enable_if_t<is_yamaha_vdp(personality)>> {
constexpr static int EndOfSync = 100;
// constexpr static int StartOfColourBurst = 30;
// constexpr static int EndOfColourBurst = 30;
constexpr static int StartOfColourBurst = 113;
constexpr static int EndOfColourBurst = 167;
constexpr static int EndOfLeftErase = 202;
constexpr static int EndOfLeftBorder = 258;
constexpr static int EndOfPixels = 1282;