Home Web Design Computing Music

CBM 5/6/700 - 500 Video Memory

The following table shows the memory locations for the CBM-500's VIC chip registers (bank 15):

HexDecDescription
$D80055296Sprite 0 X position
$D80155297Sprite 0 Y position
$D80255298Sprite 1 X position
$D80355299Sprite 1 Y position
$D80455300Sprite 2 X position
$D80555301Sprite 2 Y position
$D80655302Sprite 3 X position
$D80755303Sprite 3 Y position
$D80855304Sprite 4 X position
$D80955305Sprite 4 Y position
$D80A55306Sprite 5 X position
$D80B55307Sprite 5 Y position
$D80C55308Sprite 6 X position
$D80D55309Sprite 6 Y position
$D80E55310Sprite 7 X position
$D80F55311Sprite 7 Y position
$D81055312Sprites 7-0 X position MSB
$D81155313Bit 7 Raster compare bit 8
Bit 6 1 = Extended colour bit on
Bit 5 1 = Bit map mode on
Bit 4 0 = Blank screen
Bit 3 1 = 25 rows/0 = 24 rows
Bit 2-0 Smooth scroll Y position
$D81255314Read/Write raster bits 7-0
$D81355315Light pen latch X pos
$D81455316Light pen latch Y pos
$D81555317Sprite display enable (1=on)
$D81655318Bit 7-6 Unused
Bit 5 Set to zero (reset bit)
Bit 4 1 = Multicolour mode on
Bit 3 1 = 40 columns/0 = 38 cols
Bit 2-0 Smooth scroll X position
$D81755319Sprite expand vertical
$D81855320Bit 7-4 Address of text screen
Bit 3 (Hi-res) Address of hi-res (0 = uses lower 8K block)
Bit 3-1 (Lo-res) Address of chr set (Bit 1 determines lower/graphics set)
Bit 0 Not used
$D81955321IRQ Register
$D81A55322IRQ Mask Register
$D81B55323Sprite to background priority (0 = Sprite in front)
$D81C55324Sprite multicolour (1 = on)
$D81D55325Sprite expand horizontally
$D81E55326Sprite collision detect
$D81F55327Sprite/background collision
$D82055328Border colour
$D82155329Background colour 0
$D82255330Background colour 1
$D82355331Background colour 2
$D82455332Background colour 3
$D82555333Sprite multicolour Reg 1
$D82655334Sprite multicolour Reg 2
$D82755335Sprite 0 colour
$D82855336Sprite 1 colour
$D82955337Sprite 2 colour
$D82A55338Sprite 3 colour
$D82B55339Sprite 4 colour
$D82C55340Sprite 5 colour
$D82D55341Sprite 6 colour
$D82E55342Sprite 7 colour