diff --git a/Audio & Video.md b/Audio & Video.md index 43642fe..103f921 100644 --- a/Audio & Video.md +++ b/Audio & Video.md @@ -52,252 +52,6 @@ The A/V port is a 24-pin female pin header, with a pin and row pitch of 2.54mm. VERA is configured and controlled using a series of 32 memory-mapped I/O registers, located in the address space from `0x00DF00` to `0x00DF1F`. -
Addr | -Name | -Bit 7 | -Bit 6 | -Bit 5 | -Bit 4 | -Bit 3 | -Bit 2 | -Bit 1 | -Bit 0 | -||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00DF00 |
- ADDRx_L (x=ADDRSEL) | -VRAM Address (7:0) | -|||||||||||
`0x00DF01` | -ADDRx_M (x=ADDRSEL) | -VRAM Address (15:8) | -|||||||||||
`0x00DF02` | -ADDRx_H (x=ADDRSEL) | -Address Increment | -DECR | -- | -VRAM Address (16) | -||||||||
`0x00DF03` | -DATA0 | -VRAM Data port 0 | -|||||||||||
$04 | -DATA1 | -VRAM Data port 1 | -|||||||||||
$05 | -CTRL | -Reset | -- | -DCSEL | -ADDRSEL | -||||||||
$06 | -IEN | -IRQ Line (8) | -Scan Line (8) | -- | -AFLOW | -SPRCOL | -LINE | -VSYNC | -|||||
$07 | -ISR | -Sprite collissions | -AFLOW | -SPRCOL | -LINE | -VSYNC | -|||||||
$08 | -IRQLINE_L (Write only) | -IRQ line (7:0) | -|||||||||||
$08 | -SCANLINE_L (Read only) | -Scan line (7:0) | -|||||||||||
$09 | -DC_VIDEO (DCSEL=0) | -Current Field | -Sprites Enable | -Layer1 Enable | -Layer0 Enable | -- | -Chroma Disable | -Output Mode | -|||||
$0A | -DC_HSCALE (DCSEL=0) | -Active Display H-Scale | -|||||||||||
$0B | -DC_VSCALE (DCSEL=0) | -Active Display V-Scale | -|||||||||||
$0C | -DC_BORDER (DCSEL=0) | -Border Color | -|||||||||||
$09 | -DC_HSTART (DCSEL=1) | -Active Display H-Start (9:2) | -|||||||||||
$0A | -DC_HSTOP (DCSEL=1) | -Active Display H-Stop (9:2) | -|||||||||||
$0B | -DC_VSTART (DCSEL=1) | -Active Display V-Start (8:1) | -|||||||||||
$0C | -DC_VSTOP (DCSEL=1) | -Active Display V-Stop (8:1) | -|||||||||||
$0D | -L0_CONFIG | -Map Height | -Map Width | -T256C | -Bitmap Mode | -Color Depth | -|||||||
$0E | -L0_MAPBASE | -Map Base Address (16:9) | -|||||||||||
$0F | -L0_TILEBASE | -Tile Base Address (16:11) | -Tile Height | -Tile Width | -|||||||||
$10 | -L0_HSCROLL_L | -H-Scroll (7:0) | -|||||||||||
$11 | -L0_HSCROLL_H | -- | -H-Scroll (11:8) | -||||||||||
$12 | -L0_VSCROLL_L | -V-Scroll (7:0) | -|||||||||||
$13 | -L0_VSCROLL_H | -- | -V-Scroll (11:8) | -||||||||||
$14 | -L1_CONFIG | -Map Height | -Map Width | -T256C | -Bitmap Mode | -Color Depth | -|||||||
$15 | -L1_MAPBASE | -Map Base Address (16:9) | -|||||||||||
$16 | -L1_TILEBASE | -Tile Base Address (16:11) | -Tile Height | -Tile Width | -|||||||||
$17 | -L1_HSCROLL_L | -H-Scroll (7:0) | -|||||||||||
$18 | -L1_HSCROLL_H | -- | -H-Scroll (11:8) | -||||||||||
$19 | -L1_VSCROLL_L | -V-Scroll (7:0) | -|||||||||||
$1A | -L1_VSCROLL_H | -- | -V-Scroll (11:8) | -||||||||||
$1B | -AUDIO_CTRL | -FIFO Full / FIFO Reset | -FIFO Empty | -16-Bit | -Stereo | -PCM Volume | -|||||||
$1C | -AUDIO_RATE | -PCM Sample Rate | -|||||||||||
$1D | -AUDIO_DATA | -Audio FIFO data (write-only) | -|||||||||||
$1E | -SPI_DATA | -Data | -|||||||||||
$1F | -SPI_CTRL | -Busy | -- | -Auto-tx | -Slow clock | -Select | -