PXIDEV:ReadCTRCARD Cmd40: Difference between revisions

Steveice10 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 9: Line 9:
|-
|-
| 1
| 1
| Buffer size
| Buffer Size
|-
|-
| 2
| 2
| blkcnt
| Sector Count
|-
|-
| 3
| 3
| u8 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
|}
|}


Line 39: Line 39:
| Result code
| Result code
|}
|}
=Description=
Reads from CTRCARD. The command written to the [[CTRCARD_Registers#CTRCARD_CMD|CTRCARD_CMD]] register is the same as provided, except the highest byte is changed to 0x40.