ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
Data Fields | |
void * | pktbuf |
void * | unused |
void * | iopbuf |
SifCmdHandlerData_t * | sys_cmd_handlers |
u32 | nr_sys_handlers |
SifCmdHandlerData_t * | usr_cmd_handlers |
u32 | nr_usr_handlers |
int * | sregs |
Even though I'm reluctant to do this, I've made this structure binary compatible with the SCE libs and ps2lib. In all implementations, a pointer to this data is stored in SIF register 0x80000001. Each routine that relies on this data can then use the data referenced from that register, so that even if a SIF library is initialized after this one, we should still work exactly as expected.
void* cmd_data::iopbuf |
SifCmdHandlerData_t* cmd_data::sys_cmd_handlers |
SifCmdHandlerData_t* cmd_data::usr_cmd_handlers |