forked from Sentinel65X/Sentinel65X-Handbook
Work on fleshing out sections
This commit is contained in:
parent
4446fa4b08
commit
4373f8712e
|
@ -279,6 +279,15 @@ The `SPI_CTRL` register at `0x00DF1F` is used to control the SPI subsystem:
|
|||
- Bit 2 controls the "auto-transmit" function, which begins reading a new byte from SPI (sending the value `0xFF`) automatically when the `SPI_DATA` register is read. This can be used to simplify and speed up SPI reads.
|
||||
- Bit 7 will read as a `1` value as long as a byte is being transferred over SPI.
|
||||
|
||||
## Colour Palette
|
||||
|
||||
VERA supports a single, shared palette of 256 colours, each of which is freely chosen from among the 4,096 possible colours the hardware can generate.
|
||||
|
||||
The palette is stored in VERA memory beginning at VERA address `0x1FA00`, and consists of 256 entries with the following format:
|
||||
|
||||
| Byte | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|
||||
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
||||
|
||||
## 16-Bit Reads/Writes
|
||||
|
||||
With appropriate configuration of registers, it is possible to perform sequential 16-bit reads and writes to VERA address space:
|
||||
|
|
Loading…
Reference in New Issue