KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Registers

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_GET(REG)
 Retrieve a PVR register value.
 
#define PVR_SET(REG, VALUE)
 Set a PVR register value.
 

Detailed Description

Direct PVR register and memory access

Macro Definition Documentation

◆ PVR_GET

#define PVR_GET ( REG)
Value:
(* ( (vuint32*)( 0xa05f8000 + (REG) ) ) )
volatile uint32 vuint32
32-bit volatile unsigned type
Definition types.h:43

Retrieve a PVR register value.

Parameters
REGThe register to fetch. See Offsets.
Returns
The value of that register (32-bits)

◆ PVR_SET

#define PVR_SET ( REG,
VALUE )
Value:
PVR_GET(REG) = (VALUE)
#define PVR_GET(REG)
Retrieve a PVR register value.
Definition pvr.h:1183

Set a PVR register value.

Parameters
REGThe register to set. See Offsets.
VALUEThe value to set in the register (32-bits)

Referenced by pvr_set_pal_entry().