DSP:ReadPipeIfPossible

From 3dbrew
Revision as of 21:55, 11 January 2015 by Ichfly (talk | contribs)
Jump to navigation Jump to search

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)