Difference between revisions of "DSP:ReadPipeIfPossible"

From 3dbrew
Jump to navigation Jump to search
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| unk1
+
| chan (0 - 7 0:Debug from DSP 1:P-DMA 2:audio 3:binary 4-7: free ?)
 
|-
 
|-
 
| 2
 
| 2
| unk2
+
| direction? (0 = from DSP 1 = from ARM ??? )
 
|-
 
|-
 
| 3
 
| 3

Revision as of 21:55, 11 January 2015

Request

Index Word Description
0 Header code [0x001000c0]
1 chan (0 - 7 0:Debug from DSP 1:P-DMA 2:audio 3:binary 4-7: free ?)
2 direction? (0 = from DSP 1 = from ARM ??? )
3 ?size? (halfword)

0x100 byte after the Request header

Index Word Description
0 (size <<14) | 0x2
1 buffer

Response

Index Word Description
0 Header code
1 Resultcode
2 sizeread? (hword)