FS:CardNorDirectReadWithAddress

From 3dbrew
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Request

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

Index Word Description
0 Header code
1 Result code

Description

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.