MIPS Interface: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
Line 97: Line 97:
{{#invoke:Register table|definitions
{{#invoke:Register table|definitions
| 31-6 | Undefined | Initialized to <code>0</code>
| 31-6 | Undefined | Initialized to <code>0</code>
| 5 | DP | Interrupt flag - Set when a full sync completes
| 5 | DP | Interrupt flag - Set when the RDP finishes a full sync (requested explicitly via a SYNC_FULL command)
| 4 | PI | Interrupt flag - Set when a PI DMA finishes
| 4 | PI | Interrupt flag - Set when a PI DMA transfer finishes
| 3 | VI | Interrupt flag - Set when <code>VI_V_CURRENT {{=}}{{=}} VI_V_INTR</code>
| 3 | VI | Interrupt flag - Set when the VI starts processing a specific half-line of the screen (<code>VI_V_CURRENT {{=}}{{=}} VI_V_INTR</code>). Usually, this is configured with `VI_V_CURRENT = 2` so that it behaves as a VBlank interrupt.
| 2 | AI | Interrupt flag - Set when no more samples remain in an audio stream
| 2 | AI | Interrupt flag - Set when the AI begins playing back a new audio buffer (to notify that the next one should be enqueued as soon as possible, to avoid crackings)
| 1 | SI | Interrupt flag - Set when a SI DMA to/from PIF RAM finishes
| 1 | SI | Interrupt flag - Set when a SI DMA to/from PIF RAM finishes
| 0 | SP | Interrupt flag - Set when the RSP executes a BREAK opcode while SP_STATUS has been configured with the INTERRUPT_ON_BRAK bit; alternatively, it can also be set by explicitly writing the `INTERRUPT` flag in the SP_STATUS register (by either the CPU or the RSP itself).
| 0 | SP | Interrupt flag
}}
}}

==== <span style="display:none;">0x0430 000C - MI_MASK</code> ====
==== <span style="display:none;">0x0430 000C - MI_MASK</code> ====
----
----