VIF opcodes.
Enumerator |
---|
P2_VIF_NOP | No operation. No operation is performed. NOP is used to adjust the data alignment in the VIF packet.
|
P2_VIF_STCYCL | Sets write recycle. STCYCL writes the value of the IMMEDIATE field to the VIFn_CYCLE register.
|
P2_VIF_OFFSET | Sets the double buffer offset. OFFSET writes the lower 10 bits of the IMMEDIATE field to the VIF1_OFST register. At the same time, the DBF flag of the VIF1_STAT register is cleared to 0, and the VIF1_BASE register value is set to the VIF1_TOPS. That is, the pointer for the double buffer points to the BASE.
|
P2_VIF_BASE | Sets the base address of the double buffer. BASE writes the lower 10 bits of the IMMEDIATE field to the VIF1_BASE register. These bits become the base address of the double buffers.
|
P2_VIF_ITOP | Sets the data pointer. ITOP writes the lower 10 bits of the IMMEDIATE field to the VIFn_ITOPS register. This value is read from the VU by the XITOP instruction.
|
P2_VIF_STMOD | Sets the addition decompression mode. STMOD writes the lower 2 bits of the IMMEDIATE field to the VIFn_MODE register. This becomes the addition decompression mode setting.
|
P2_VIF_MSKPATH3 | Sets the PATH3 mask. MSKPATH3 enables/disables transfer processing via the GIF PATH3. The setting of this register applies to the next data block or later.
|
P2_VIF_MARK | Sets the MARK value. MARK writes the value of the IMMEDIATE field to the VIFn_MARK register. By properly setting the MARK value, it becomes possible to use this value for synchronization with the EE Core and debugging.
|
P2_VIF_FLUSHE | Waits for end of the microprogram. FLUSHE waits for the state in which the microprogram in VU0/VU1 has been ended.
|
P2_VIF_FLUSH | Waits for end of the microprogram. FLUSH waits for the state in which transfers to the GIF from PATH1 and PATH2 have been ended after end of microprogram in VU1. FLUSH does not wait for the end of the transfer via PATH1 by the XGKICK instruction with the E bit.
|
P2_VIF_FLUSHA | Waits for end of the microprogram. FLUSHA waits for the state in which there is no transfer request from PATH3 after the end of micro program in VU1 and end of transfer to the GIF from PATH1 and PATH2.
|
P2_VIF_MSCAL | Activates the microprogram. MSCAL waits for the end of the microprogram under execution and activates the micro program with the value of the IMMEDIATE field as the starting address.
|
P2_VIF_MSCNT | Activates the microprogram. MSCNT waits for the end of the microprogram under execution and executes the next microprogram from the address following the most recently ended one in the PC (program counter).
|
P2_VIF_MSCALF | Activates the microprogram. MSCALF waits for the end of both the microprogram and the GIF(PATH1/PATH2) transfer and executes the microprogram with the value of the IMMEDIATE field as the starting address.
|
P2_VIF_STMASK | Sets the data mask pattern. STMASK stores the next 1 word of data in the VIFn_MASK register. This data becomes the mask pattern of the write data.
|
P2_VIF_STROW | Sets the filling data. STROW stores the following 4 words of data in the VIFn_R0 - VIFn_R3 registers. These are used as filling data when decompressed by the VIFcode UNPACK.
|
P2_VIF_STCOL | Sets the filling data. STCOL stores the following 4 words of data in the VIFn_C0 - VIFn_C3 registers. These are used as filling data when decompressed by the VIFcode UNPACK.
|
P2_VIF_MPG | Transfers the microprogram. MPG waits for the end of the microprogram and transfers the following NUM pieces of 64-bit data. (microinstruction code) to the MicroMem address shown by the IMMEDIATE field.
|
P2_VIF_DIRECT | Transfers data to the GIF(GS). DIRECT transfers the following IMMEDIATE pieces of 128-bit data to the GS via GIF PATH2. It is necessary to put the appropriate GIFtag to the data.
|
P2_VIF_DIRECTHL | Transfers data to the GIF(GS). DIRECTHL transfers the following IMMEDIATE pieces of 128-bit data to the GS via GIF PATH2. The appropriate GIFtag must be attached to the data. Interruption of PATH3 IMAGE mode data does not occur during the data transfer via PATH2 by DIRECTHL. Moreover, when the IMAGE mode data is being transferred via PATH3, DIRECTHL stalls until the end of the transfer.
|