IRU:StartRecvTransfer

From 3dbrew
Revision as of 02:17, 22 February 2014 by Yellows8 (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x000500C2]
1 Total shared memory size
2 Size of data to receive
3 u8 flag
4 Value zero
5 Shared memory handle

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This starts an IR data-receive transfer, this command is non-blocking. The received data(when the receive transfer-count is non-zero) is written to sharedmemaddr + 0. The newly received transfer-count can be obtained via IRU:WaitRecvTransfer. The input size must be <=0x800, otherwise error 0xE0E10FEC is returned.