VirtualC64 v5.0 beta
Commodore 64 Emulator
Loading...
Searching...
No Matches
vc64::PAL Namespace Reference

PAL related constants. More...

Variables

static const long CLOCK_FREQUENCY = 985249
 Clock frequency in Hz.
 
static const long CYCLES_PER_SECOND = CLOCK_FREQUENCY
 CPU cycles per seconds.
 
static const double ASPECT_RATIO = 0.9365
 Pixel aspect ratio.
 
static const long HBLANK_CYCLES_LEFT = 13
 Left HBLANK width in cycles.
 
static const long BORDER_CYCLES_LEFT = 4
 Left border width in cycles.
 
static const long CANVAS_CYCLES = 40
 Main canvas width in cycles.
 
static const long BORDER_CYCLES_RIGHT = 4
 Right border width in cycles.
 
static const long HBLANK_CYCLES_RIGHT = 2
 Right HBLANK width in cycles.
 
static const long PAL_CYCLES_PER_LINE = 63
 13 + 4 + 40 + 4 + 2
 
static const long HBLANK_PIXELS_LEFT = 104
 Left HBLANK width in pixels.
 
static const long BORDER_PIXELS_LEFT = 32
 Left border width in pixels.
 
static const long CANVAS_PIXELS = 320
 Main canvas width in pixels.
 
static const long BORDER_PIXELS_RIGHT = 32
 Right border width in pixels.
 
static const long HBLANK_PIXELS_RIGHT = 16
 Right HBLANK width in pixels.
 
static const long FIRST_VISIBLE_PIXEL = 104
 104
 
static const long VISIBLE_PIXELS = 384
 32 + 320 + 32
 
static const long LAST_VISIBLE_PIXEL = 487
 104 + 32 + 320 + 31
 
static const long PIXELS_PER_LINE = 504
 104 + 32 + 320 + 32 + 16
 
static const long FIRST_VISIBLE_LINE = 16
 First line after VBLANK.
 

Detailed Description

PAL related constants.