ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <packet2_types.h>
Data Fields | |
u32 | immediate: 16 |
u32 | num: 8 |
u32 | cmd: 8 |
VIFCode structure.
Definition at line 278 of file packet2_types.h.
u32 vif_code_t::cmd |
The CMD field directs the operation of the VIF, that is, the decompression method of the following data.
Definition at line 293 of file packet2_types.h.
Referenced by packet2_vif_close_unpack_auto(), and packet2_vif_close_unpack_manual().
u32 vif_code_t::immediate |
The contents of the IMMEDIATE field vary according to the CMD field.
Definition at line 281 of file packet2_types.h.
Referenced by packet2_vif_close_direct_manual().
u32 vif_code_t::num |
The NUM field shows the amount of data written to the VU Mem or MicroMem (Data is in 128-bit units and microinstruction code is in 64-bit units). When NUM=0, it is considered to be 256. Note that it is not the amount of data in the VIF packet. NUM pieces of data can be written even when the amount of data in the packet is 0 depending on the CYCLE register setting.
Definition at line 288 of file packet2_types.h.
Referenced by packet2_vif_close_unpack_manual().