Difference between revisions of "Wiikey Fusion API"

From GC-Forever Wiki
Jump to navigation Jump to search
(Created page with "This page will hold information regarding the reversing of the Wiikey Fusion API from the Wiikey Fusion game selection menu. It's purpose is so that Swiss can support booting...")
 
m
Line 1: Line 1:
 
This page will hold information regarding the reversing of the Wiikey Fusion API from the Wiikey Fusion game selection menu. It's purpose is so that [[Swiss]] can support booting games from it.
 
This page will hold information regarding the reversing of the Wiikey Fusion API from the Wiikey Fusion game selection menu. It's purpose is so that [[Swiss]] can support booting games from it.
 +
 +
== Types of Commands ==
 +
It appears the Wiikey Fusion has two types of commands. One set is to access the SPI Flash and one is to access the SD card/Settings.
  
 
== Commands ==
 
== Commands ==
 
+
(All commands set DILENGTH (0xCC006018) and DIIMMBUF (0xCC006020) to 0 before running).
 
{| border="3" style="margin-left: 3em;"
 
{| border="3" style="margin-left: 3em;"
 
|-
 
|-
! scope="col" | Command
+
! scope="col" | DICMDBUF0 (0xCC006008)
 +
! scope="col" | DICMDBUF1(0xCC00600C)
 +
! scope="col" | DICMDBUF2 (0xCC006010)
 
! scope="col" | Type
 
! scope="col" | Type
 +
! scope="col" | Returns
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
! scope="row" | 0x??
+
! scope="row" | 0xDD000000
| IMM  
+
| offset (16bit)
| Init/Detect
+
| data (16bit)
 +
| IMM
 +
| Status (?)
 +
| Write to Wiikey Fusion RAM (used to store offset locations for the current "disc")
 +
|-
 +
! scope="row" | 0xDE000000
 +
| offset (32bit)
 +
| 0x5A000000
 +
| IMM
 +
| Status (?)
 +
| Set Offset
 +
|-
 +
! scope="row" | 0xDF000000
 +
| 0x00010000
 +
| 0x00000000
 +
| IMM
 +
| No SD Card detected if ((Response & 0x000F0000) == 0x00070000)
 +
| SD Card Detect
 
|-
 
|-
 
|}
 
|}

Revision as of 23:07, 24 January 2012

This page will hold information regarding the reversing of the Wiikey Fusion API from the Wiikey Fusion game selection menu. It's purpose is so that Swiss can support booting games from it.

Types of Commands

It appears the Wiikey Fusion has two types of commands. One set is to access the SPI Flash and one is to access the SD card/Settings.

Commands

(All commands set DILENGTH (0xCC006018) and DIIMMBUF (0xCC006020) to 0 before running).

DICMDBUF0 (0xCC006008) DICMDBUF1(0xCC00600C) DICMDBUF2 (0xCC006010) Type Returns Description
0xDD000000 offset (16bit) data (16bit) IMM Status (?) Write to Wiikey Fusion RAM (used to store offset locations for the current "disc")
0xDE000000 offset (32bit) 0x5A000000 IMM Status (?) Set Offset
0xDF000000 0x00010000 0x00000000 IMM No SD Card detected if ((Response & 0x000F0000) == 0x00070000) SD Card Detect