|
PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>
Include dependency graph for vif_codes.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 VIF_CMD_NOP 0x00 |
No Operation
Definition at line 12 of file vif_codes.h.
| #define VIF_CMD_STCYCL 0x01 |
Sets CYCLE register
Definition at line 14 of file vif_codes.h.
| #define VIF_CMD_OFFSET 0x02 |
Sets OFFSET register (VIF1)
Definition at line 16 of file vif_codes.h.
| #define VIF_CMD_BASE 0x03 |
Sets BASE register (VIF1)
Definition at line 18 of file vif_codes.h.
| #define VIF_CMD_ITOP 0x04 |
Sets ITOPS register
Definition at line 20 of file vif_codes.h.
| #define VIF_CMD_STMOD 0x05 |
Sets MODE register
Definition at line 22 of file vif_codes.h.
| #define VIF_CMD_MSKPATH3 0x06 |
Mask GIF transfer (VIF1)
Definition at line 24 of file vif_codes.h.
| #define VIF_CMD_MARK 0x07 |
Sets Mark register
Definition at line 26 of file vif_codes.h.
| #define VIF_CMD_FLUSHE 0x10 |
Wait for end of microprogram
Definition at line 28 of file vif_codes.h.
| #define VIF_CMD_FLUSH 0x11 |
Wait for end of microprogram & Path 1/2 GIF xfer (VIF1)
Definition at line 30 of file vif_codes.h.
| #define VIF_CMD_FLUSHA 0x13 |
Wait for end of microprogram & all Path GIF xfer (VIF1)
Definition at line 32 of file vif_codes.h.
| #define VIF_CMD_MSCAL 0x14 |
Activate microprogram
Definition at line 34 of file vif_codes.h.
| #define VIF_CMD_MSCNT 0x17 |
Execute microrprogram continuously
Definition at line 36 of file vif_codes.h.
| #define VIF_CMD_MSCALF 0x15 |
Activate microprogram (VIF1)
Definition at line 38 of file vif_codes.h.
| #define VIF_CMD_STMASK 0x20 |
Sets MASK register
Definition at line 40 of file vif_codes.h.
| #define VIF_CMD_STROW 0x30 |
Sets ROW register
Definition at line 42 of file vif_codes.h.
| #define VIF_CMD_STCOL 0x31 |
Sets COL register
Definition at line 44 of file vif_codes.h.
| #define VIF_CMD_MPG 0x4A |
Load microprogram
Definition at line 46 of file vif_codes.h.
| #define VIF_CMD_DIRECT 0x50 |
Transfer data to GIF (VIF1)
Definition at line 48 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 50 of file vif_codes.h.
| #define PACK_VIFTAG | ( | Q, | |
| W0, | |||
| W1, | |||
| W2, | |||
| W3 ) |
Definition at line 53 of file vif_codes.h.
| #define VIF_CMD_UNPACK | ( | M, | |
| VN, | |||
| VL ) |
Transfers data to the VU Mem
Definition at line 60 of file vif_codes.h.
| #define STCYCL_IMDT | ( | CL, | |
| WL ) |
Definition at line 64 of file vif_codes.h.
| #define OFFSET_IMDT | ( | OFFSET | ) |
Definition at line 67 of file vif_codes.h.
| #define BASE_IMDT | ( | BASE | ) |
Definition at line 70 of file vif_codes.h.
| #define ITOP_IMDT | ( | ADDR | ) |
Definition at line 73 of file vif_codes.h.
| #define STMOD_IMDT | ( | MODE | ) |
Definition at line 76 of file vif_codes.h.
| #define MSKPATH3_IMDT | ( | MASK | ) |
Definition at line 79 of file vif_codes.h.
| #define MARK_IMDT | ( | MARK | ) |
Definition at line 82 of file vif_codes.h.
| #define MSCAL_IMDT | ( | EXECADDR | ) |
Definition at line 85 of file vif_codes.h.
| #define MSCALF_IMDT | ( | EXECADDR | ) |
Definition at line 88 of file vif_codes.h.
| #define MPG_IMDT | ( | LOADADDR | ) |
Definition at line 91 of file vif_codes.h.
| #define MPG_NUM | ( | SIZE | ) |
Definition at line 94 of file vif_codes.h.
| #define DIRECT_IMDT | ( | SIZE | ) |
Definition at line 97 of file vif_codes.h.
| #define DIRECTHL_IMDT | ( | EXECADDR | ) |
Definition at line 100 of file vif_codes.h.
| #define UNPACK_IMDT | ( | ADDR, | |
| USN, | |||
| FLG ) |
Definition at line 103 of file vif_codes.h.
| #define UNPACK_NUM | ( | SIZE | ) |
Definition at line 107 of file vif_codes.h.
| #define VIF_CODE | ( | IMDT, | |
| NUM, | |||
| CMD, | |||
| IRQ ) |
Definition at line 110 of file vif_codes.h.