|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
#include <tamtypes.h>Go to the source code of this file.
Macros | |
| #define | VIF_CMD_NOP 0x00 |
| #define | VIF_CMD_STCYCL 0x01 |
| #define | VIF_CMD_OFFSET 0x02 |
| #define | VIF_CMD_BASE 0x03 |
| #define | VIF_CMD_ITOP 0x04 |
| #define | VIF_CMD_STMOD 0x05 |
| #define | VIF_CMD_MSKPATH3 0x06 |
| #define | VIF_CMD_MARK 0x07 |
| #define | VIF_CMD_FLUSHE 0x10 |
| #define | VIF_CMD_FLUSH 0x11 |
| #define | VIF_CMD_FLUSHA 0x13 |
| #define | VIF_CMD_MSCAL 0x14 |
| #define | VIF_CMD_MSCNT 0x17 |
| #define | VIF_CMD_MSCALF 0x15 |
| #define | VIF_CMD_STMASK 0x20 |
| #define | VIF_CMD_STROW 0x30 |
| #define | VIF_CMD_STCOL 0x31 |
| #define | VIF_CMD_MPG 0x4A |
| #define | VIF_CMD_DIRECT 0x50 |
| #define | VIF_CMD_DIRECTHL 0x51 |
| #define | PACK_VIFTAG(Q, W0, W1, W2, W3) |
| #define | VIF_CMD_UNPACK(M, VN, VL) |
| #define | STCYCL_IMDT(CL, WL) |
| #define | OFFSET_IMDT(OFFSET) |
| #define | BASE_IMDT(BASE) |
| #define | ITOP_IMDT(ADDR) |
| #define | STMOD_IMDT(MODE) |
| #define | MSKPATH3_IMDT(MASK) |
| #define | MARK_IMDT(MARK) |
| #define | MSCAL_IMDT(EXECADDR) |
| #define | MSCALF_IMDT(EXECADDR) |
| #define | MPG_IMDT(LOADADDR) |
| #define | MPG_NUM(SIZE) |
| #define | DIRECT_IMDT(SIZE) |
| #define | DIRECTHL_IMDT(EXECADDR) |
| #define | UNPACK_IMDT(ADDR, USN, FLG) |
| #define | UNPACK_NUM(SIZE) |
| #define | VIF_CODE(IMDT, NUM, CMD, IRQ) |
VIF codes.
Definition in file vif_codes.h.
| #define BASE_IMDT | ( | BASE | ) |
Definition at line 71 of file vif_codes.h.
| #define DIRECT_IMDT | ( | SIZE | ) |
Definition at line 98 of file vif_codes.h.
| #define DIRECTHL_IMDT | ( | EXECADDR | ) |
Definition at line 101 of file vif_codes.h.
| #define ITOP_IMDT | ( | ADDR | ) |
Definition at line 74 of file vif_codes.h.
| #define MARK_IMDT | ( | MARK | ) |
Definition at line 83 of file vif_codes.h.
| #define MPG_IMDT | ( | LOADADDR | ) |
Definition at line 92 of file vif_codes.h.
| #define MPG_NUM | ( | SIZE | ) |
Definition at line 95 of file vif_codes.h.
| #define MSCAL_IMDT | ( | EXECADDR | ) |
Definition at line 86 of file vif_codes.h.
| #define MSCALF_IMDT | ( | EXECADDR | ) |
Definition at line 89 of file vif_codes.h.
| #define MSKPATH3_IMDT | ( | MASK | ) |
Definition at line 80 of file vif_codes.h.
| #define OFFSET_IMDT | ( | OFFSET | ) |
Definition at line 68 of file vif_codes.h.
| #define PACK_VIFTAG | ( | Q, | |
| W0, | |||
| W1, | |||
| W2, | |||
| W3 ) |
Definition at line 54 of file vif_codes.h.
| #define STCYCL_IMDT | ( | CL, | |
| WL ) |
Definition at line 65 of file vif_codes.h.
| #define STMOD_IMDT | ( | MODE | ) |
Definition at line 77 of file vif_codes.h.
| #define UNPACK_IMDT | ( | ADDR, | |
| USN, | |||
| FLG ) |
Definition at line 104 of file vif_codes.h.
| #define UNPACK_NUM | ( | SIZE | ) |
Definition at line 108 of file vif_codes.h.
| #define VIF_CMD_BASE 0x03 |
Sets BASE register (VIF1)
Definition at line 19 of file vif_codes.h.
| #define VIF_CMD_DIRECT 0x50 |
Transfer data to GIF (VIF1)
Definition at line 49 of file vif_codes.h.
| #define VIF_CMD_DIRECTHL 0x51 |
Transfer data to GIF but stall for Path 3 IMAGE mode (VIF1)
Definition at line 51 of file vif_codes.h.
| #define VIF_CMD_FLUSH 0x11 |
Wait for end of microprogram & Path 1/2 GIF xfer (VIF1)
Definition at line 31 of file vif_codes.h.
| #define VIF_CMD_FLUSHA 0x13 |
Wait for end of microprogram & all Path GIF xfer (VIF1)
Definition at line 33 of file vif_codes.h.
| #define VIF_CMD_FLUSHE 0x10 |
Wait for end of microprogram
Definition at line 29 of file vif_codes.h.
| #define VIF_CMD_ITOP 0x04 |
Sets ITOPS register
Definition at line 21 of file vif_codes.h.
| #define VIF_CMD_MARK 0x07 |
Sets Mark register
Definition at line 27 of file vif_codes.h.
| #define VIF_CMD_MPG 0x4A |
Load microprogram
Definition at line 47 of file vif_codes.h.
| #define VIF_CMD_MSCAL 0x14 |
Activate microprogram
Definition at line 35 of file vif_codes.h.
| #define VIF_CMD_MSCALF 0x15 |
Activate microprogram (VIF1)
Definition at line 39 of file vif_codes.h.
| #define VIF_CMD_MSCNT 0x17 |
Execute microrprogram continuously
Definition at line 37 of file vif_codes.h.
| #define VIF_CMD_MSKPATH3 0x06 |
Mask GIF transfer (VIF1)
Definition at line 25 of file vif_codes.h.
| #define VIF_CMD_NOP 0x00 |
No Operation
Definition at line 13 of file vif_codes.h.
| #define VIF_CMD_OFFSET 0x02 |
Sets OFFSET register (VIF1)
Definition at line 17 of file vif_codes.h.
| #define VIF_CMD_STCOL 0x31 |
Sets COL register
Definition at line 45 of file vif_codes.h.
| #define VIF_CMD_STCYCL 0x01 |
Sets CYCLE register
Definition at line 15 of file vif_codes.h.
| #define VIF_CMD_STMASK 0x20 |
Sets MASK register
Definition at line 41 of file vif_codes.h.
| #define VIF_CMD_STMOD 0x05 |
Sets MODE register
Definition at line 23 of file vif_codes.h.
| #define VIF_CMD_STROW 0x30 |
Sets ROW register
Definition at line 43 of file vif_codes.h.
| #define VIF_CMD_UNPACK | ( | M, | |
| VN, | |||
| VL ) |
Transfers data to the VU Mem
Definition at line 61 of file vif_codes.h.
| #define VIF_CODE | ( | IMDT, | |
| NUM, | |||
| CMD, | |||
| IRQ ) |
Definition at line 111 of file vif_codes.h.