Work on fleshing out sections

This commit is contained in:
Kyle Cardoza 2024-03-24 02:36:22 -04:00
parent 56dff0f483
commit 123fbf56f5
1 changed files with 15 additions and 0 deletions

View File

@ -351,6 +351,21 @@ Sprites are controlled using 128 control entries, beginning at VERA address `0x1
</tr>
</table>
The bitmap address of a sprite is the top 12 bits of a 17-bit VERA memory address; the low order 5 bits are always `0`, which means that sprite data is always aligned to a 32-byte boundary.
The X and Y positions are 10-bit numbers representing the offset from the screen origin of the sprite's origin.
`FIXME: How does the collision mask work?`
The layer position value determines the drawing order of the sprite relative to the two tile/bitmap layers:
| Value | Description |
| :---: | :------------: |
| 0 | Disabled |
| 1 | Below layer 0 |
| 2 | Between layers |
| 3 | Above layer 1 |
## 16-Bit Reads/Writes
With appropriate configuration of registers, it is possible to perform sequential 16-bit reads and writes to VERA address space: