Module vic2

Module vic2 

Source
Expand description

Registers for the MOS 6566/6567 (VIC-II) Chip

The VIC-II (Video Interface Chip II), specifically known as the MOS Technology 6567/8562/8564 (NTSC versions), 6569/8565/8566 (PAL), is the microchip tasked with generating Y/C video signals (combined to composite video in the RF modulator) and DRAM refresh signals in the Commodore 64 and C128 home computers.

Structs§

CharsetBank
All possible charset memory locations
ControlXFlags
X-Scroll Register Flags (0xD016)
ControlYFlags
Y-Scroll Register Mask (0xd011)
IRQEnableFlags
Flags to trigger IRQ request when VIC-II interrupt conditions are met (0xD01A)
InterruptFlags
Interrupt Register Flags (0xD019). Bits are set to 1 when an IRQ is detected.
MOSVideoInterfaceControllerII
Hardware registers for the MOS Technologies Video Interface Controller II
ScreenBank
All possible screen memory locations
Sprites
Bitmask for sprites 0 to 7.
XYcoordinate
X and Y positions for e.g. sprites

Constants§

BLACK
BLUE
BROWN
CYAN
GRAY1
GRAY2
GRAY3
GREEN
LIGHT_BLUE
LIGHT_GREEN
LIGHT_RED
ORANGE
PURPLE
RED
WHITE
YELLOW

Functions§

to_sprite_pointer
Calculate sprite pointer from pattern address