Registers

Addr Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
$9F20 ADDRx_L (x=ADDRSEL) VRAM Address (7:0)
$9F21 ADDRx_M (x=ADDRSEL) VRAM Address (15:8)
$9F22 ADDRx_H (x=ADDRSEL) Address Increment DECR - VRAM Address (16)
$9F23 DATA0 VRAM Data port 0
$9F24 DATA1 VRAM Data port 1
$9F25 CTRL Reset - DCSEL ADDRSEL
$9F26 IEN IRQ line (8) - AFLOW SPRCOL LINE VSYNC
$9F27 ISR Sprite collissions AFLOW SPRCOL LINE VSYNC
$9F28 IRQLINE_L IRQ line (7:0)
$9F29 DC_VIDEO (DCSEL=0) Current Field Sprites Enable Layer1 Enable Layer0 Enable - Chroma Disable Output Mode
$9F2A DC_HSCALE (DCSEL=0) Active Display H-Scale
$9F2B DC_VSCALE (DCSEL=0) Active Display V-Scale
$9F2C DC_BORDER (DCSEL=0) Border Color
$9F29 DC_HSTART (DCSEL=1) Active Display H-Start (9:2)
$9F2A DC_HSTOP (DCSEL=1) Active Display H-Stop (9:2)
$9F2B DC_VSTART (DCSEL=1) Active Display V-Start (8:1)
$9F2C DC_VSTOP (DCSEL=1) Active Display V-Stop (8:1)
$9F2D L0_CONFIG Map Height Map Width T256C Bitmap Mode Color Depth
$9F2E L0_MAPBASE Map Base Address (16:9)
$9F2F L0_TILEBASE Tile Base Address (16:11) Tile Height Tile Width
$9F30 L0_HSCROLL_L H-Scroll (7:0)
$9F31 L0_HSCROLL_H - H-Scroll (11:8)
$9F32 L0_VSCROLL_L V-Scroll (7:0)
$9F33 L0_VSCROLL_H - V-Scroll (11:8)
$9F34 L1_CONFIG Map Height Map Width T256C Bitmap Mode Color Depth
$9F35 L1_MAPBASE Map Base Address (16:9)
$9F36 L1_TILEBASE Tile Base Address (16:11) Tile Height Tile Width
$9F37 L1_HSCROLL_L H-Scroll (7:0)
$9F38 L1_HSCROLL_H - H-Scroll (11:8)
$9F39 L1_VSCROLL_L V-Scroll (7:0)
$9F3A L1_VSCROLL_H - V-Scroll (11:8)
$9F3B AUDIO_CTRL FIFO Full / FIFO Reset - 16-Bit Stereo PCM Volume
$9F3C AUDIO_RATE PCM Sample Rate
$9F3D AUDIO_DATA Audio FIFO data (write-only)
$9F3E SPI_DATA Data
$9F3F SPI_CTRL Busy - Slow clock Select