Appearance
NTSC
NTSC related constants
Variables
| Return | Name | Description |
|---|---|---|
const long | CLOCK_FREQUENCY static | Clock frequency in Hz. |
const long | CYCLES_PER_SECOND static | CPU cycles per seconds. |
const double | ASPECT_RATIO static | Pixel aspect ratio. |
const long | HBLANK_CYCLES_LEFT static | Left HBLANK width in cycles. |
const long | BORDER_CYCLES_LEFT static | Left border width in cycles. |
const long | CANVAS_CYCLES static | Main canvas width in cycles. |
const long | BORDER_CYCLES_RIGHT static | Right border width in cycles. |
const long | HBLANK_CYCLES_RIGHT static | Right HBLANK width in cycles. |
const long | CYCLES_PER_LINE static | 13 + 4 + 40 + 4 + 4 |
const long | HBLANK_PIXELS_LEFT static | Left HBLANK width in pixels. |
const long | BORDER_PIXELS_LEFT static | Left border width in pixels. |
const long | CANVAS_PIXELS static | Main canvas width in pixels. |
const long | BORDER_PIXELS_RIGHT static | Right border width in pixels. |
const long | HBLANK_PIXELS_RIGHT static | Right HBLANK width in pixels. |
const long | FIRST_VISIBLE_PIXEL static | 104 |
const long | VISIBLE_PIXELS static | 32 + 320 + 32 |
const long | LAST_VISIBLE_PIXEL static | 104 + 32 + 320 + 31 |
const long | PIXELS_PER_LINE static | 104 + 32 + 320 + 32 + 32 |
const long | FIRST_VISIBLE_LINE static | First line after VBLANK. |
CLOCK_FREQUENCY
static
cpp
const long CLOCK_FREQUENCY = 1022727Defined in Infrastructure/Constants.h:64
Clock frequency in Hz.
CYCLES_PER_SECOND
static
cpp
const long CYCLES_PER_SECOND = CLOCK_FREQUENCYDefined in Infrastructure/Constants.h:65
CPU cycles per seconds.
ASPECT_RATIO
static
cpp
const double ASPECT_RATIO = 0.7500Defined in Infrastructure/Constants.h:68
Pixel aspect ratio.
HBLANK_CYCLES_LEFT
static
cpp
const long HBLANK_CYCLES_LEFT = 13Defined in Infrastructure/Constants.h:71
Left HBLANK width in cycles.
BORDER_CYCLES_LEFT
static
cpp
const long BORDER_CYCLES_LEFT = 4Defined in Infrastructure/Constants.h:72
Left border width in cycles.
CANVAS_CYCLES
static
cpp
const long CANVAS_CYCLES = 40Defined in Infrastructure/Constants.h:73
Main canvas width in cycles.
BORDER_CYCLES_RIGHT
static
cpp
const long BORDER_CYCLES_RIGHT = 4Defined in Infrastructure/Constants.h:74
Right border width in cycles.
HBLANK_CYCLES_RIGHT
static
cpp
const long HBLANK_CYCLES_RIGHT = 4Defined in Infrastructure/Constants.h:75
Right HBLANK width in cycles.
CYCLES_PER_LINE
static
cpp
const long CYCLES_PER_LINE = 65Defined in Infrastructure/Constants.h:78
13 + 4 + 40 + 4 + 4
HBLANK_PIXELS_LEFT
static
cpp
const long HBLANK_PIXELS_LEFT = 104Defined in Infrastructure/Constants.h:81
Left HBLANK width in pixels.
BORDER_PIXELS_LEFT
static
cpp
const long BORDER_PIXELS_LEFT = 32Defined in Infrastructure/Constants.h:82
Left border width in pixels.
CANVAS_PIXELS
static
cpp
const long CANVAS_PIXELS = 320Defined in Infrastructure/Constants.h:83
Main canvas width in pixels.
BORDER_PIXELS_RIGHT
static
cpp
const long BORDER_PIXELS_RIGHT = 32Defined in Infrastructure/Constants.h:84
Right border width in pixels.
HBLANK_PIXELS_RIGHT
static
cpp
const long HBLANK_PIXELS_RIGHT = 32Defined in Infrastructure/Constants.h:85
Right HBLANK width in pixels.
FIRST_VISIBLE_PIXEL
static
cpp
const long FIRST_VISIBLE_PIXEL = 104Defined in Infrastructure/Constants.h:88
104
VISIBLE_PIXELS
static
cpp
const long VISIBLE_PIXELS = 384Defined in Infrastructure/Constants.h:89
32 + 320 + 32
LAST_VISIBLE_PIXEL
static
cpp
const long LAST_VISIBLE_PIXEL = 487Defined in Infrastructure/Constants.h:90
104 + 32 + 320 + 31
PIXELS_PER_LINE
static
cpp
const long PIXELS_PER_LINE = 520Defined in Infrastructure/Constants.h:91
104 + 32 + 320 + 32 + 32
FIRST_VISIBLE_LINE
static
cpp
const long FIRST_VISIBLE_LINE = 16Defined in Infrastructure/Constants.h:94
First line after VBLANK.