FSPXI:CardNorDirectRead

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x002C0082]
1 u8 commandID
2 u32 Size
3 (Size<<8) | 4
4 Output buffer ptr

Response[edit]

Index Word Description
0 Header code
1 Resultcode

Description[edit]

This is about the same as FSPXI:CardNorDirectCommand(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.