13 V9990DisplayPeriod(262, 15, 14, 212, 14);
15 V9990DisplayPeriod(262, 15, 0, 240, 0);
17 V9990DisplayPeriod(313, 15, 41, 212, 37);
19 V9990DisplayPeriod(313, 15, 0, 290, 0);
23 int cycle_,
int blank_,
int border1_,
int display_,
int border2_)
24 : cycle(cycle_), blank(blank_), border1(border1_)
25 , display(display_), border2(border2_)
31 return palTiming ? (displayPAL_MCLK.cycle * UC_TICKS_PER_LINE)
32 : (displayNTSC_MCLK.cycle * UC_TICKS_PER_LINE);
static const V9990DisplayPeriod lineMCLK
Horizontal (line) timing when using MCLK: 'Normal' display modes.
static const V9990DisplayPeriod displayPAL_XTAL
PAL display timing, when using XTAL: Overscan mode without borders.
static const V9990DisplayPeriod displayPAL_MCLK
PAL display timing, when using MCLK: Normal display mode with borders.
static const V9990DisplayPeriod displayNTSC_XTAL
NTSC display timing, when using XTAL: Overscan mode without borders.
static const V9990DisplayPeriod lineXTAL
Horizontal (line) timing when using XTAL: 'Overscan' modes without border.
static const int UC_TICKS_PER_LINE
The number of clockticks per line is independent of the crystal used or the display mode (NTSC/PAL) ...
Thanks to enen for testing this on a real cartridge:
V9990DisplayPeriod(int cycle, int blank, int border1, int display, int border2)
static const V9990DisplayPeriod displayNTSC_MCLK
NTSC display timing, when using MCLK: Normal display mode with borders.
static int getUCTicksPerFrame(bool palTiming)
Get the number of UC ticks in 1 frame.