PXIDEV:WriteCTRCARD Cmd41

From 3dbrew
Revision as of 09:21, 21 January 2016 by Steveice10 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000201C2] |- | 1 | Buffer Size |- | 2 | Sector Count |- | 3 | u8, Gamecard_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x000201C2]
1 Buffer Size
2 Sector Count
3 u8, SectorSize
4-7 Command
8 (Size << 8) | 0x6
9 Buffer Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Writes to CTRCARD. The command written to the CTRCARD_CMD register is the same as provided, except the highest byte is changed to 0x41.