|
PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>
Include dependency graph for gs_privileged.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | GS_REG_PMODE (volatile u64 *)0x12000000 |
| #define | GS_REG_SMODE1 (volatile u64 *)0x12000010 |
| #define | GS_REG_SMODE2 (volatile u64 *)0x12000020 |
| #define | GS_REG_SRFSH (volatile u64 *)0x12000030 |
| #define | GS_REG_SYNCH1 (volatile u64 *)0x12000040 |
| #define | GS_REG_SYNCH2 (volatile u64 *)0x12000050 |
| #define | GS_REG_SYNCHV (volatile u64 *)0x12000060 |
| #define | GS_REG_DISPFB1 (volatile u64 *)0x12000070 |
| #define | GS_REG_DISPLAY1 (volatile u64 *)0x12000080 |
| #define | GS_REG_DISPFB2 (volatile u64 *)0x12000090 |
| #define | GS_REG_DISPLAY2 (volatile u64 *)0x120000A0 |
| #define | GS_REG_EXTBUF (volatile u64 *)0x120000B0 |
| #define | GS_REG_EXTDATA (volatile u64 *)0x120000C0 |
| #define | GS_REG_EXTWRITE (volatile u64 *)0x120000D0 |
| #define | GS_REG_BGCOLOR (volatile u64 *)0x120000E0 |
| #define | GS_REG_CSR (volatile u64 *)0x12001000 |
| #define | GS_REG_IMR (volatile u64 *)0x12001010 |
| #define | GS_REG_BUSDIR (volatile u64 *)0x12001040 |
| #define | GS_REG_SIGLBLID (volatile u64 *)0x12001080 |
| #define | GS_SET_BGCOLOR(R, G, B) |
| #define | GS_SET_BUSDIR(DIR) |
| #define | GS_SET_CSR(SIGNAL, FINISH, HSINT, VSINT, EDWINT, FLUSH, RESET, NFIELD, FIELD, FIFO, REV, ID) |
| #define | GS_SET_DISPFB(FBP, FBW, PSM, DBX, DBY) |
| #define | GS_SET_DISPLAY(DX, DY, MAGH, MAGV, DW, DH) |
| #define | GS_SET_EXTBUF(EXBP, EXBW, FBIN, WFFMD, EMODA, EMODC, WDX, WDY) |
| #define | GS_SET_EXTDATA(SX, SY, SMPH, SMPV, WW, WH) |
| #define | GS_SET_EXTWRITE(WRITE) |
| #define | GS_SET_IMR(SIGMSK, FINMSK, HSMSK, VSMSK, EDWMSK) |
| #define | GS_SET_PMODE(EN1, EN2, MMOD, AMOD, SLBG, ALP) |
| #define | GS_SET_PMODE_EXT(EN1, EN2, MMOD, AMOD, SLBG, ALP, NFLD, EXVWINS, EXVWINE, EXSYNCMD) |
| #define | GS_SET_SIGLBLID(SIGID, LBLID) |
| #define | GS_SET_SMODE1(RC, LC, T1248, SLCK, CMOD, EX, PRST, SINT, XPCK, PCK2, SPML, GCONT, PHS, PVS, PEHS, PEVS, CLKSEL, NVCK, SLCK2, VCKSEL, VHP) |
| #define | GS_SET_SMODE2(INT, FFMD, DPMS) |
| #define | GS_SET_SRFSH(A) |
| #define | GS_SET_SYNCH1(HFP, HBP, HSEQ, HSVS, HS) |
| #define | GS_SET_SYNCH2(HF, HB) |
| #define | GS_SET_SYNCHV(VFP, VFPE, VBP, VBPE, VDP, VS) |
GS Privileged Registers
Definition in file gs_privileged.h.
| #define GS_REG_PMODE (volatile u64 *)0x12000000 |
| #define GS_REG_SMODE1 (volatile u64 *)0x12000010 |
VHP,VCKSEL,SLCK2,NVCK,CLKSEL,PEVS,PEHS,PVS,PHS,GCONT,SPML,PCK2,XPCK,SINT,PRST,EX,CMOD,SLCK,T1248,LC,RC
Definition at line 17 of file gs_privileged.h.
| #define GS_REG_SMODE2 (volatile u64 *)0x12000020 |
Setting For Modes Related to Video Synchronization
Definition at line 19 of file gs_privileged.h.
| #define GS_REG_SRFSH (volatile u64 *)0x12000030 |
DRAM Refresh Settings
Definition at line 21 of file gs_privileged.h.
| #define GS_REG_SYNCH1 (volatile u64 *)0x12000040 |
HS,HSVS,HSEQ,HBP,HFP
Definition at line 23 of file gs_privileged.h.
| #define GS_REG_SYNCH2 (volatile u64 *)0x12000050 |
HB,HF
Definition at line 25 of file gs_privileged.h.
| #define GS_REG_SYNCHV (volatile u64 *)0x12000060 |
VS,VDP,VBPE,VBP,VFPE,VFP
Definition at line 27 of file gs_privileged.h.
| #define GS_REG_DISPFB1 (volatile u64 *)0x12000070 |
Setting For Rectangular Area Read Output Circuit 1
Definition at line 29 of file gs_privileged.h.
Referenced by graph_set_framebuffer(), and graph_set_framebuffer_filtered().
| #define GS_REG_DISPLAY1 (volatile u64 *)0x12000080 |
Setting For Rectangular Area Read Output Circuit 1
Definition at line 31 of file gs_privileged.h.
Referenced by graph_set_screen().
| #define GS_REG_DISPFB2 (volatile u64 *)0x12000090 |
Setting For Rectangular Area Read Output Circuit 2
Definition at line 33 of file gs_privileged.h.
Referenced by graph_set_framebuffer(), and graph_set_framebuffer_filtered().
| #define GS_REG_DISPLAY2 (volatile u64 *)0x120000A0 |
Setting For Rectangular Area Read Output Circuit 2
Definition at line 35 of file gs_privileged.h.
Referenced by graph_set_screen().
| #define GS_REG_EXTBUF (volatile u64 *)0x120000B0 |
Setting For Feedback Buffer Write Buffer
Definition at line 37 of file gs_privileged.h.
| #define GS_REG_EXTDATA (volatile u64 *)0x120000C0 |
Feedback Write Setting
Definition at line 39 of file gs_privileged.h.
| #define GS_REG_EXTWRITE (volatile u64 *)0x120000D0 |
Feedback Write Function Control
Definition at line 41 of file gs_privileged.h.
| #define GS_REG_BGCOLOR (volatile u64 *)0x120000E0 |
Background Color Setting
Definition at line 43 of file gs_privileged.h.
Referenced by graph_set_bgcolor().
| #define GS_REG_CSR (volatile u64 *)0x12001000 |
System Status
Definition at line 45 of file gs_privileged.h.
Referenced by draw_wait_finish(), graph_check_vsync(), graph_set_mode(), graph_shutdown(), graph_start_vsync(), graph_wait_hsync(), and graph_wait_vsync().
| #define GS_REG_IMR (volatile u64 *)0x12001010 |
Interrupt Mask Control
Definition at line 47 of file gs_privileged.h.
| #define GS_REG_BUSDIR (volatile u64 *)0x12001040 |
Host I/F Bus Switching
Definition at line 49 of file gs_privileged.h.
| #define GS_REG_SIGLBLID (volatile u64 *)0x12001080 |
Signal ID Value Read
Definition at line 51 of file gs_privileged.h.
| #define GS_SET_BGCOLOR | ( | R, | |
| G, | |||
| B ) |
Definition at line 53 of file gs_privileged.h.
| #define GS_SET_BUSDIR | ( | DIR | ) |
Definition at line 57 of file gs_privileged.h.
| #define GS_SET_CSR | ( | SIGNAL, | |
| FINISH, | |||
| HSINT, | |||
| VSINT, | |||
| EDWINT, | |||
| FLUSH, | |||
| RESET, | |||
| NFIELD, | |||
| FIELD, | |||
| FIFO, | |||
| REV, | |||
| ID ) |
Definition at line 61 of file gs_privileged.h.
| #define GS_SET_DISPFB | ( | FBP, | |
| FBW, | |||
| PSM, | |||
| DBX, | |||
| DBY ) |
Definition at line 70 of file gs_privileged.h.
| #define GS_SET_DISPLAY | ( | DX, | |
| DY, | |||
| MAGH, | |||
| MAGV, | |||
| DW, | |||
| DH ) |
Definition at line 75 of file gs_privileged.h.
| #define GS_SET_EXTBUF | ( | EXBP, | |
| EXBW, | |||
| FBIN, | |||
| WFFMD, | |||
| EMODA, | |||
| EMODC, | |||
| WDX, | |||
| WDY ) |
Definition at line 80 of file gs_privileged.h.
| #define GS_SET_EXTDATA | ( | SX, | |
| SY, | |||
| SMPH, | |||
| SMPV, | |||
| WW, | |||
| WH ) |
Definition at line 86 of file gs_privileged.h.
| #define GS_SET_EXTWRITE | ( | WRITE | ) |
Definition at line 91 of file gs_privileged.h.
| #define GS_SET_IMR | ( | SIGMSK, | |
| FINMSK, | |||
| HSMSK, | |||
| VSMSK, | |||
| EDWMSK ) |
Definition at line 93 of file gs_privileged.h.
| #define GS_SET_PMODE | ( | EN1, | |
| EN2, | |||
| MMOD, | |||
| AMOD, | |||
| SLBG, | |||
| ALP ) |
Definition at line 100 of file gs_privileged.h.
| #define GS_SET_PMODE_EXT | ( | EN1, | |
| EN2, | |||
| MMOD, | |||
| AMOD, | |||
| SLBG, | |||
| ALP, | |||
| NFLD, | |||
| EXVWINS, | |||
| EXVWINE, | |||
| EXSYNCMD ) |
Definition at line 106 of file gs_privileged.h.
| #define GS_SET_SIGLBLID | ( | SIGID, | |
| LBLID ) |
Definition at line 114 of file gs_privileged.h.
| #define GS_SET_SMODE1 | ( | RC, | |
| LC, | |||
| T1248, | |||
| SLCK, | |||
| CMOD, | |||
| EX, | |||
| PRST, | |||
| SINT, | |||
| XPCK, | |||
| PCK2, | |||
| SPML, | |||
| GCONT, | |||
| PHS, | |||
| PVS, | |||
| PEHS, | |||
| PEVS, | |||
| CLKSEL, | |||
| NVCK, | |||
| SLCK2, | |||
| VCKSEL, | |||
| VHP ) |
Definition at line 117 of file gs_privileged.h.
| #define GS_SET_SMODE2 | ( | INT, | |
| FFMD, | |||
| DPMS ) |
Definition at line 132 of file gs_privileged.h.
| #define GS_SET_SRFSH | ( | A | ) |
Definition at line 136 of file gs_privileged.h.
| #define GS_SET_SYNCH1 | ( | HFP, | |
| HBP, | |||
| HSEQ, | |||
| HSVS, | |||
| HS ) |
Definition at line 138 of file gs_privileged.h.
| #define GS_SET_SYNCH2 | ( | HF, | |
| HB ) |
Definition at line 143 of file gs_privileged.h.
| #define GS_SET_SYNCHV | ( | VFP, | |
| VFPE, | |||
| VBP, | |||
| VBPE, | |||
| VDP, | |||
| VS ) |
Definition at line 146 of file gs_privileged.h.