openMSX
V9990DisplayTiming.hh
Go to the documentation of this file.
1 #ifndef V9990DISPLAYTIMING_HH
2 #define V9990DISPLAYTIMING_HH
3 
4 namespace openmsx {
5 
12 {
13 public:
14  const int cycle;
15  const int blank;
16  const int border1;
17  const int display;
18  const int border2;
19 
20  V9990DisplayPeriod(int cycle, int blank,
21  int border1, int display, int border2);
22 };
23 
25 {
26 public:
35  static const int UC_TICKS_PER_SECOND = 3579545 * 12; // 42.9MHz
36 
40  static const int UC_TICKS_PER_LINE = 2736;
41 
46 
51 
56 
61 
66 
71 
76  static int getUCTicksPerFrame(bool palTiming);
77 };
78 
79 } // openmsx
80 
81 #endif
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.
A period, either horizontal or vertical, starts with a synchronisation pulse followed by a blank peri...
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
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.