Difference between revisions of "DSP:WriteProcessPipe"
Jump to navigation
Jump to search
m |
(Add channel enum) |
||
Line 37: | Line 37: | ||
One should call [[DSP:SetSemaphore]] with an argument of `0x4000`, then wait on the related [[DSP:RegisterInterruptEvents|interrupt event]]. | One should call [[DSP:SetSemaphore]] with an argument of `0x4000`, then wait on the related [[DSP:RegisterInterruptEvents|interrupt event]]. | ||
+ | |||
+ | ==enum Channel== | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Channel | ||
+ | ! Id | ||
+ | |- | ||
+ | | DEBUG | ||
+ | | 0 | ||
+ | |- | ||
+ | | DMA | ||
+ | | 1 | ||
+ | |- | ||
+ | | AUDIO | ||
+ | | 2 | ||
+ | |- | ||
+ | | BINARY | ||
+ | | 2 | ||
+ | |} |
Revision as of 16:36, 2 July 2023
Request
Index Word | Description |
---|---|
0 | Header code [0x000D0082] |
1 | Channel |
2 | Size |
3 | (Size << 14) | 0x402 |
4 | Buffer |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Usage Notes
One should call DSP:SetSemaphore with an argument of `0x4000`, then wait on the related interrupt event.
enum Channel
Channel | Id |
---|---|
DEBUG | 0 |
DMA | 1 |
AUDIO | 2 |
BINARY | 2 |