CDCCHK:ReadSPI

From 3dbrew
Revision as of 09:17, 21 September 2017 by MarcusD (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [SPI1=0x000100C0 SPI2=0x000200C0] |- | 1 | u8 unknown (seems to be always zero)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [SPI1=0x000100C0 SPI2=0x000200C0]
1 u8 unknown (seems to be always zero)
2 u8 command
3 u8 size

0x100 bytes after the IPC buffer

Index Word Description
0 (size << 14) | 2
1 Buffer pointer

Response

Index Word Description
0 Header code
1 Result code

Command list

CommandID Name
0x02 u8 GetDeviceVendor
0x03 u8 GetDeviceRevision