PXIDEV:ReadCTRCARD Cmd40: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
m Steveice10 moved page PXIDEV:ReadCTRCARD Cmd40 to PXIDEV:ReadCTRCARD
Steveice10 (talk | contribs)
mNo edit summary
Line 9: Line 9:
|-
|-
| 1
| 1
| Buffer size
| Buffer Size
|-
|-
| 2
| 2
| blkcnt
| Sector Count
|-
|-
| 3
| 3
| u8 [[:CTRCARD_Registers#REG_CTRCARDCNT|REG_CTRCARDCNT]] transfer size (index into an array which contains the actual transfer-size value)
| u8, [[Gamecard_Services_PXI#SectorSize|SectorSize]]
|-
|-
| 4-7
| 4-7
| Unknown 0x10-byte structure.
| Command
|-
|-
| 8
| 8
| (size<<8) <nowiki>|</nowiki> 4
| (Size << 8) <nowiki>|</nowiki> 0x4
|-
|-
| 9
| 9
| Output buffer ptr
| Buffer Pointer
|}
|}



Revision as of 08:31, 21 January 2016

Request

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

Response

Index Word Description
0 Header code
1 Result code