|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Direct PVR register and memory access More...
Topics | |
| Addresses and Constants | |
| Miscellaneous Addresses and Constants | |
| Init/Start Values | |
| Values to be written to registers to conform or start operations. | |
| Offsets | |
| PowerVR register offsets | |
| PVR_SCALER_CFG Values | |
| Definitions for the fields of the PVR_SCALER_CFG register. | |
| PVR_TEXTURE_MODULO Values | |
| Definitions for the contents of the PVR_TEXTURE_MODULO register. | |
| Reset Values | |
| Values used to reset parts of the PVR | |
Files | |
| file | pvr_regs.h |
| PVR Driver Registers. | |
Macros | |
| #define | PVR_GET(REG) |
| Retrieve a PVR register value. | |
| #define | PVR_SET(REG, VALUE) |
| Set a PVR register value. | |
| #define | PVR2_ADDR_STRIDE 0x02000000 |
| Address stride from CLXA to CLXB (registers and VRAM windows). | |
| #define | PVR2_GET(REG) |
| Retrieve a register from the second PVR (CLXB). | |
| #define | PVR2_SET(REG, VALUE) |
| Set a register on the second PVR (CLXB). | |
| #define | PVR_BCAST_SET(REG, VALUE) |
| Write a PVR register to both chips (write-only broadcast). | |
Direct PVR register and memory access
| #define PVR2_ADDR_STRIDE 0x02000000 |
Address stride from CLXA to CLXB (registers and VRAM windows).
NAOMI 2 only. The second PVR is not mapped until pvr2_init().
| #define PVR2_GET | ( | REG | ) |
Retrieve a register from the second PVR (CLXB).
| #define PVR2_SET | ( | REG, | |
| VALUE ) |
| #define PVR_BCAST_SET | ( | REG, | |
| VALUE ) |
Write a PVR register to both chips (write-only broadcast).
| #define PVR_GET | ( | REG | ) |
Retrieve a PVR register value.
| REG | The register to fetch. See Offsets. |
Referenced by setup_pvr(), and setup_pvr().
| #define PVR_SET | ( | REG, | |
| VALUE ) |
Set a PVR register value.
| REG | The register to set. See Offsets. |
| VALUE | The value to set in the register (32-bits) |
Referenced by pvr_set_pal_entry(), setup_pvr(), and setup_pvr().