FS:CardNorDirectReadWithAddress

From 3dbrew
Revision as of 05:11, 16 October 2015 by Steveice10 (talk | contribs) (CardNorDirectReadWithAddress)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x082800C2]
1 u8 commandID
2 u32 address
3 u32 Size
4 (Size<<6) | 0xC
5 Output buffer ptr

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This is about the same as FS:CardNorDirectCommandWithAddress(one of the values used with this code is loaded from Process9 state instead of using value 0), except this also writes the specified amount of data from SPICARD-FIFO to the output buffer.