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 | |
Reset Values | |
Values used to reset parts of the PVR | |
Macros | |
#define | PVR_REGISTERS_BASE 0xa05f8000 |
PVR Register Base. | |
#define | PVR_GET(REG) (* ( (vuint32*)( PVR_REGISTERS_BASE + (REG) ) ) ) |
Retrieve a PVR register value. | |
#define | PVR_SET(REG, VALUE) PVR_GET(REG) = (VALUE) |
Set a PVR register value. | |
Direct PVR register and memory access
#define PVR_GET | ( | REG | ) | (* ( (vuint32*)( PVR_REGISTERS_BASE + (REG) ) ) ) |
Retrieve a PVR register value.
REG | The register to fetch. See Offsets. |
#define PVR_REGISTERS_BASE 0xa05f8000 |
PVR Register Base.
#define PVR_SET | ( | REG, | |
VALUE ) PVR_GET(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().