Gamecard Services PXI

Gamecard Services PXI

“pxi:dev” service #

Command HeaderAvailable since system versionDescription
0x000101C21.0.0-0ReadHostIO
0x000201C21.0.0-0WriteHostIO
0x000301021.0.0-0ReadHostEx
0x000401021.0.0-0WriteHostEx
0x000501021.0.0-0WriteHostExStart. Stubbed, only returns an error. Use WriteHostEx instead.
0x000601021.0.0-0WriteHostExChunk. Stubbed, only returns an error. Use WriteHostEx instead.
0x000700001.0.0-0WriteHostExEnd. Stubbed, only returns an error. Use WriteHostEx instead.
0x000800002.0.0-2InitializeMIDI
0x000900002.0.0-2FinalizeMIDI
0x000A00002.0.0-2GetMIDIInfo. This writes 3 bytes to cmdreply[2], the SPICARD hw is used for this.
0x000B00002.0.0-2GetMIDIBufferSize. This writes a max-size value to cmdreply[2].
0x000C00422.0.0-2ReadMIDI (size, ((size<<8) | 4), outbufptr) This copies the data from some buffer(size is restricted to the maxsize value also used by command 0x000B0000) to the FCRAM outbuf, when certain flags are set correctly.
0x000D06882.0.0-2SPIMultiWriteRead
0x000E02842.0.0-2SPIWriteRead
0x000F00002.0.0-2GetCardDevice

Types #

SectorSize #

ValueDescription
00x0 bytes
10x4 bytes
20x10 bytes
30x40 bytes
40x200 bytes
50x400 bytes
60x800 bytes
70x1000 bytes
80x2000 bytes

TransferOption #

BitsDescription
0-5CardSpiBaudRate
6-7CardSpiBusMode

WaitOperation #

BitsDescription
0-3WaitType
4-7DeassertType
8-63Nanoseconds

WaitType #

ValueDescription
0None
1Sleep
2Wait for IREQ, return if timeout
3Wait for IREQ, continue if timeout

DeassertType #

ValueDescription
0None
1Before wait
2After wait