Line 2:
Line 2:
Does cafe2wii read the system menu TMD to find the IOS to launch, or is IOS80 hard coded? Or, does it launch a virtual boot2 or something? [[User:Hallowizer2|Hallowizer2]] ([[User talk:Hallowizer2|talk]]) 22:49, 20 May 2021 (CEST)
Does cafe2wii read the system menu TMD to find the IOS to launch, or is IOS80 hard coded? Or, does it launch a virtual boot2 or something? [[User:Hallowizer2|Hallowizer2]] ([[User talk:Hallowizer2|talk]]) 22:49, 20 May 2021 (CEST)
+
+
c2w doesn't load the IOS at all. It's all loaded by the IOSU into memory in a function called "LoadCompatBinaries" (0x05008a64).<br>
+
The IOSU will load the c2w image itself, the wii eeprom and romfont into memory.<br>
+
It will then parse the tmd of the system menu and load the system menu itself and its' IOS into memory as well.<br>
+
c2w then copies the buffers to their correct locations, boots the console into vWii mode, and probably (?) directly jumps to the loaded IOS. [[User:GaryOderNichts|GaryOderNichts]] ([[User talk:GaryOderNichts|talk]]) 03:13, 26 May 2021 (CEST)