Address:bit(s) | Name | Width [bits] | Description |
$D031 | CONTROL | 8 | Main control register. Also used to activate BeamRacer after boot or Run/Stop-Restore by writing values “B” ($42, 66 dec) followed by “R” ($52, 82 dec). |
$D031:210 | RAMBANK | 3 | Number of a memory bank (0 to 7) accessible through ports. If written simultaneously with bit 3 DLIST_ON cleared (displaylist processing turned OFF), also memory bank, in which displaylists are executed is changed. |
$D031:3 | DLIST_ON | 1 | When set to “1”, display list execution will start at the beginning of the next frame.
When set to “0”, display list execution stops immediately and memory bank for displaylist execution is set in accordance with RAMBANK bits value. |
$D031:4 | PORT_READ_ENABLE | 1 | When “1” data can be read from both memory ports. |
$D031:5 | GRAYDOT_KILL | 1 | “1” disables HMOS VIC-II grey dots visible on CPU writes to currently active color register.
“0” - dots are visible as usual. |
$D031:76 | CTRL_PORT_MODE | 2 | 00 - Regular port operation
01 - PORT0 copies to PORT1
10 & 11 - RESERVED |
$D032 | DLISTL | 8 | Lo-byte of address from which execution of Display List will start at the beginning of the next frame or after a write to DLSTROBE ($D03E). |
$D033 | DLISTH | 8 | Hi-byte of address from which execution of Display List will start at the beginning of the next frame or after a write to DLSTROBE ($D03E). |
$D034 | ADR0L | 8 | Lo-byte of address in VASYL memory to read from or write to using PORT0 |
$D035 | ADR0H | 8 | Hi-byte of address in VASYL memory to read from or write to using PORT0 |
$D036 | STEP0 | 8 | Value in range [-128, 127] added to ADR0(LH) after each access to PORT0 |
$D037 | PORT0 | 8 | Writing stores a byte at location ADR0(LH) in currently active bank of VASYL memory.
Reading returns a byte from that location (provided PORT_READ_ENABLE bit in CTRL1 ($D031) is set to “1”). |
$D038 | ADR1L | 8 | Lo-byte of address in VASYL memory to read from or write to using PORT1 |
$D039 | ADR1H | 8 | Hi-byte of address in VASYL memory to read from or write to using PORT1 |
$D03A | STEP1 | 8 | Value in range [-128, 127] added to ADR1(LH) after each access to PORT1 |
$D03B | PORT1 | 8 | Writing stores a byte at location ADR1(LH) in currently active bank of VASYL memory.
Reading returns a byte from that location (provided PORT_READ_ENABLE bit in CTRL1 ($D031) is set to “1”). |
$D03C | REP0 | 8 | Repeats latest write to PORT0 given number of times. “0” repeats 256 times. |
$D03D | REP1 | 8 | Repeats latest write to PORT1 given number of times. “0” repeats 256 times. |
$D03E | DLSTROBE | 8 | Writing to this register will start execution of Display List pointed to by DLIST(LH) from the next cycle.
On reads returns VASYL version in bits 3-7 and VIC-II autoconfiguration data in bits 0-2:
000 - NTSC (6567R8 or 8562)
110 - PAL (6569 or 8565)
100 - PAL-N (6572)
011 - NTSC (6567R56A) |