PXIDEV:WriteCTRCARD Cmd44

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

Request[edit]

Index Word Description
0 Header code [0x00030102]
1 Buffer Size
2 Sector Offset
3 Sector Count
4 u8, SectorSize
5 (Size << 8) | 0x6
6 Buffer Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Writes to CTRCARD at an offset. The 32-bit words of the command written to the CTRCARD_CMD register are "0x44000000 | (SectorOffset >> 23), (SectorOffset << 9) | SectorSize, 0, 0"