Is it possible to debug before the game launches? I'd like to peek/poke a few of the GC/Wii registers so that the game's apploader sees the new values. I tried this with WiiRd 0.9.3 (Windows) and GeckoOS 1.06d for GameCube, and I just get the following:
> peek 80000028
Return value 2 while asking for status!
Resetting USB Gecko device driver!
Connection resetted!
Is anyone able to help me?
Thanks!
Edit: Alterrnatively, if there's another way to control the values of the GC/Wii registers that get passed to the game's apploader (gameconfig.txt file, maybe?), I'd be interested in that. I see the following in the GeckoOS source code:
u32 arealow = *(u32*)0x80000034;
u32 areahigh = *(u32*)0x80000038;
u32 maxfst = *(u32*)0x8000003c;
u32 bi2 = *(u32*)0x800000f4;
*(u32*)0x80000020 = 0xD15EA5E; // Boot from DVD
*(u32*)0x80000024 = 1; // Version
*(u32*)0x80000030 = 0; // Arena Low
*(u32*)0x80000034 = arealow; // Arena High - get from DVD
*(u32*)0x80000038 = areahigh; // FST Start - get from DVD
*(u32*)0x8000003C = maxfst; // Max FST size - get from DVD
*(u32*)0x800000EC = 0x81800000; // Dev Debugger Monitor Address
*(u32*)0x800000F0 = 0x01800000; // Dev Debugger Monitor Address
*(u32*)0x800000F4 = bi2; // BI2
*(u32*)0x800000F8 = 0x0E7BE2C0; // Console Bus Speed
*(u32*)0x800000FC = 0x2B73A840; // Console CPU Speed
Here, it appears that the value at 0x800000F0 is hardcoded; this concerns me as that is one register which I wish to change.
Any help would be appreciated.