Changes

1,178 bytes added ,  06:21, 21 January 2016
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000D0688] |- | 1-2 | Initial Gamecard_Services_PXI#WaitOperation|WaitOperat..."
=Request=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code [0x000D0688]
|-
| 1-2
| Initial [[Gamecard_Services_PXI#WaitOperation|WaitOperation]]
|-
| 3
| Write Buffer Size
|-
| 4
| Write Buffer [[Gamecard_Services_PXI#TransferOption|TransferOption]]
|-
| 5-6
| Write Buffer [[Gamecard_Services_PXI#WaitOperation|WaitOperation]]
|-
| 7
| Read Buffer Size
|-
| 8
| Read Buffer [[Gamecard_Services_PXI#TransferOption|TransferOption]]
|-
| 9-10
| Read Buffer [[Gamecard_Services_PXI#WaitOperation|WaitOperation]]
|-
| 11
| (WriteBufferSize << 8) <nowiki>|</nowiki> 0x6
|-
| 12
| Write Buffer Pointer
|-
| 13
| (ReadBufferSize << 8) <nowiki>|</nowiki> 0x24
|-
| 14
| Read Buffer Pointer
|}

=Response=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code
|-
| 1
| Result code
|-
| 2
| Bytes Read
|}

=Description=
Writes data to the [[SPICARD_Registers|CARDSPI FIFO]] and reads the response. To use this, the [[NCCH/Extended_Header|ARM9 Access Control]] bit for SPICARD must be set in one of the currently running ARM11 processes.

If any of the buffers have a size of 0, their respective operation will be skipped.
1,434

edits