sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
vif_code_t Struct Reference

#include <packet2_types.h>

Public Attributes

u32 immediate: 16
u32 num: 8
u32 cmd: 8

Detailed Description

VIFCode structure.

Definition at line 278 of file packet2_types.h.

Member Data Documentation

◆ cmd

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.

◆ immediate

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.

◆ num

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.


The documentation for this struct was generated from the following file: