| 
    PS2SDK
    
   PS2 Homebrew Libraries 
   | 
 
#include <tamtypes.h>
 Include dependency graph for dma_tags.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | DMA_TAG_CNTS 0x00 | 
| #define | DMA_TAG_REFE 0x00 | 
| #define | DMA_TAG_CNT 0x01 | 
| #define | DMA_TAG_NEXT 0x02 | 
| #define | DMA_TAG_REF 0x03 | 
| #define | DMA_TAG_REFS 0x04 | 
| #define | DMA_TAG_CALL 0x05 | 
| #define | DMA_TAG_RET 0x06 | 
| #define | DMA_TAG_END 0x07 | 
| #define | DMATAG(QWC, PCE, ID, IRQ, ADDR, SPR) | 
| #define | PACK_DMATAG(Q, D0, W2, W3) | 
| #define | DMATAG_CNT(Q, QWC, SPR, W2, W3) | 
| #define | DMATAG_CNTS(Q, QWC, SPR, W2, W3) | 
| #define | DMATAG_NEXT(Q, QWC, ADDR, SPR, W2, W3) | 
| #define | DMATAG_END(Q, QWC, SPR, W2, W3) | 
| #define | DMATAG_CALL(Q, QWC, ADDR, SPR, W2, W3) | 
| #define | DMATAG_RET(Q, QWC, SPR, W2, W3) | 
| #define | DMATAG_REF(Q, QWC, ADDR, SPR, W2, W3) | 
| #define | DMATAG_REFS(Q, QWC, ADDR, SPR, W2, W3) | 
| #define | DMATAG_REFE(Q, QWC, ADDR, SPR, W2, W3) | 
DMA tags
Definition in file dma_tags.h.
| #define DMA_TAG_CNTS 0x00 | 
T = location of qwords D = next dmatag to be read QWC = quadword count for dmatag T=QWC D=QWC+1 MADR => STADR
Definition at line 28 of file dma_tags.h.
| #define DMA_TAG_REFE 0x00 | 
T=ADDR then END
Definition at line 30 of file dma_tags.h.
| #define DMA_TAG_CNT 0x01 | 
T=QWC D=QWC+1
Definition at line 32 of file dma_tags.h.
| #define DMA_TAG_NEXT 0x02 | 
T=QWC D=ADDR
Definition at line 34 of file dma_tags.h.
| #define DMA_TAG_REF 0x03 | 
D=D+1 T=ADDR
Definition at line 36 of file dma_tags.h.
| #define DMA_TAG_REFS 0x04 | 
.. + stall ctrl
Definition at line 38 of file dma_tags.h.
| #define DMA_TAG_CALL 0x05 | 
T=QWC D=ADDR QWC+1 => ASR0
Definition at line 40 of file dma_tags.h.
| #define DMA_TAG_RET 0x06 | 
T=QWC (ASR0 => D) if !ASR0 then END
Definition at line 42 of file dma_tags.h.
| #define DMA_TAG_END 0x07 | 
T=QWC then END
Definition at line 44 of file dma_tags.h.
| #define DMATAG | ( | QWC, | |
| PCE, | |||
| ID, | |||
| IRQ, | |||
| ADDR, | |||
| SPR ) | 
Definition at line 46 of file dma_tags.h.
| #define PACK_DMATAG | ( | Q, | |
| D0, | |||
| W2, | |||
| W3 ) | 
Definition at line 51 of file dma_tags.h.
| #define DMATAG_CNT | ( | Q, | |
| QWC, | |||
| SPR, | |||
| W2, | |||
| W3 ) | 
Insert before qword block, and add dmatag after qword block to continue
Definition at line 57 of file dma_tags.h.
Referenced by draw_texture_transfer().
| #define DMATAG_CNTS | ( | Q, | |
| QWC, | |||
| SPR, | |||
| W2, | |||
| W3 ) | 
Insert before qword block, and add dmatag after qword block to continue
Definition at line 63 of file dma_tags.h.
| #define DMATAG_NEXT | ( | Q, | |
| QWC, | |||
| ADDR, | |||
| SPR, | |||
| W2, | |||
| W3 ) | 
Insert before qword block, and add dmatag at addr to continue
Definition at line 69 of file dma_tags.h.
| #define DMATAG_END | ( | Q, | |
| QWC, | |||
| SPR, | |||
| W2, | |||
| W3 ) | 
Insert before final qword block, or by itself to end transfer
Definition at line 75 of file dma_tags.h.
Referenced by draw_texture_flush().
| #define DMATAG_CALL | ( | Q, | |
| QWC, | |||
| ADDR, | |||
| SPR, | |||
| W2, | |||
| W3 ) | 
Insert before qword block, and add dmatag at qword after qwc to be saved (up to 2)
Definition at line 81 of file dma_tags.h.
| #define DMATAG_RET | ( | Q, | |
| QWC, | |||
| SPR, | |||
| W2, | |||
| W3 ) | 
Insert before qword block, and continues with saved dmatag
Definition at line 87 of file dma_tags.h.
| #define DMATAG_REF | ( | Q, | |
| QWC, | |||
| ADDR, | |||
| SPR, | |||
| W2, | |||
| W3 ) | 
Insert anywhere, qwc at addr is sent, reads next qword to continue
Definition at line 93 of file dma_tags.h.
Referenced by draw_texture_transfer().
| #define DMATAG_REFS | ( | Q, | |
| QWC, | |||
| ADDR, | |||
| SPR, | |||
| W2, | |||
| W3 ) | 
Insert anywhere, qwc at addr is sent, reads next qword to continue
Definition at line 99 of file dma_tags.h.
| #define DMATAG_REFE | ( | Q, | |
| QWC, | |||
| ADDR, | |||
| SPR, | |||
| W2, | |||
| W3 ) | 
Insert anywhere, qwc at addr is sent, then ends transfer
Definition at line 105 of file dma_tags.h.