Wii mode GC hypervisor/emu July 16, 2009 06:09PM | Registered: 15 years ago Posts: 9 |
Re: Wii mode GC hypervisor/emu July 16, 2009 06:49PM | Admin Registered: 16 years ago Posts: 5,132 |
Re: Wii mode GC hypervisor/emu July 16, 2009 06:52PM | Registered: 15 years ago Posts: 9 |
Re: Wii mode GC hypervisor/emu July 16, 2009 07:00PM | Admin Registered: 16 years ago Posts: 5,132 |
Re: Wii mode GC hypervisor/emu July 16, 2009 07:15PM | Registered: 15 years ago Posts: 9 |
Re: Wii mode GC hypervisor/emu July 16, 2009 08:34PM | Registered: 15 years ago Posts: 235 |
Re: Wii mode GC hypervisor/emu July 17, 2009 06:23PM | Registered: 15 years ago Posts: 276 |
Re: Wii mode GC hypervisor/emu July 19, 2009 02:20PM | Registered: 15 years ago Posts: 59 |
Re: Wii mode GC hypervisor/emu July 19, 2009 03:03PM | Registered: 16 years ago Posts: 1,012 |
Re: Wii mode GC hypervisor/emu July 20, 2009 05:32AM | Registered: 15 years ago Posts: 188 |
Re: Wii mode GC hypervisor/emu July 20, 2009 06:53AM | Registered: 16 years ago Posts: 1,012 |
Re: Wii mode GC hypervisor/emu July 20, 2009 11:41AM | Registered: 15 years ago Posts: 276 |
Quote
What does DI cover?
Disc Access? more?
Generally, all chips/buses use clocks derivated/divided from the same base clockQuote
Why speed down the clock?
No, it doesn't: games run on PPC and access hardware directly through registers & direct memory access, it's simple monoprocessor architecture.Quote
2. Does the gamecube have an arm processor? If not, could the Wii, if it could run gamecube games in wii mode, use that as hypervisor or whatever?
Re: Wii mode GC hypervisor/emu July 20, 2009 06:42PM | Registered: 16 years ago Posts: 1,012 |
What does MIOS actually do to handle that?Quote
ekeeke
Gamecube access the drive at a difference address than the Wii does and it access it directly
I thought, the Wii and the GC have the same base clock and only the multiplier is chnaged by BC.Quote
ekeekeGenerally, all chips/buses use clocks derivated/divided from the same base clockQuote
Why speed down the clock?
That would actually have been a good practice, but unfortunately, most games console games still use VSync :)Quote
ekeeke
Some Gamecube games might not use video interrupts for synchronization but hardware timers instead.
FZeroGX actually uses VSync. Playing it in 50 hz is like having an extra easy difficulty :DQuote
ekeeke
I wouldn't dare trying to play FZero GX 1.5x faster :-)
I do not really understand.Quote
ekeeke
also, maybe because some Gamecube specifc hardware (EXI bus for Memory card ?) have clock speed restrictions
Re: Wii mode GC hypervisor/emu July 20, 2009 07:24PM | Registered: 15 years ago Posts: 276 |
I have absolutely no idea, you would have to ask someone who already have disassembled MIOSQuote
What does MIOS actually do to handle that?
yeah, divided or multiplied, the idea is the same: I meant that all the chips probably use the same base clock as reference, that base clock being itself derivated from a master clock. That's just a supposition though, from what I've read and already seen in other systems.Quote
I thought, the Wii and the GC have the same base clock and only the multiplier is chnaged by BC.
you're right, I forget you can acces memory card in system menuQuote
I do not really understand.
All of the Gamecube Hardware can be used in Wii mode too.
Re: Wii mode GC hypervisor/emu July 21, 2009 04:09AM | Registered: 15 years ago Posts: 138 |
Possibly just the exception handler would be enough, trapping and remapping accesses to any addresses that need it. That alone might slow down the game enough to make up for the clock speed difference; if not, just patch a delay loop in somewhere.Quote
yellowstar
GC DI code uses completely different register addresses than Wii register addresses.(There may be other peripherals requiring patching.) Patching would be required for GC disc games to run.
Re: Wii mode GC hypervisor/emu July 21, 2009 05:15AM | Registered: 15 years ago Posts: 188 |
Re: Wii mode GC hypervisor/emu July 24, 2009 03:48AM | Registered: 15 years ago Posts: 188 |
BC sets some flag, then loads and boots boot2. If this flag is set, boot2 adjusts the clock speed, and loads and boots MIOS. MIOS disables the Wii hw. According to bushing on hackmii, MIOS contains the GC IPL, and MIOS bootstraps the Broadway to run the GC IPL, which then runs the GC disc game. Here's my MIOS notes. Mostly C code of reverse engineered code. The NAND interface, AES and SHA engine seem to be disabled by resetting the interface/engines twice.Quote
WiiPower
I also wonder if it was possible to run gamecube games in wii mode, but gamecube clock speed.
For this i have some questions:
1. What exactly turns the wii hardware off? I think i read somewhere that it is related to the clock speed, which would be bad.
Not sure. But with a modification of MINI, with an implementation of the code MIOS executes, it should work.(Replacing loading/bootstraping IPL with an MINI app just loading the apploader should work.) Mainly MIOS shutdown code via power button is missing from my notes. There might be GC mode related code in the thread code, other than IPL loading, so that would need reverse engineered to write an loader.Quote
WiiPower
3. Does the MIOS and/or BC do anything else than changing the clock speed, disabling hardware and running the main.dol/elf from the game? If not, wouldn't it be possible to run gamecube games without MIOS/BC by doing all necessary stuff in a loader?
Re: Wii mode GC hypervisor/emu July 25, 2009 01:50AM | Registered: 15 years ago Posts: 138 |
Re: Wii mode GC hypervisor/emu July 25, 2009 03:26AM | Registered: 15 years ago Posts: 188 |
reset/LT_3c40 poke_hwresets_ppcbits(); LT_3e74(); *((u16*)(0x0d8b4026)) = 0; udelay(100); LT_3ed8(); HW_RESETS &= 0xff800fff;//clear bits 12 - 23 LT_37a4(1, 0); u32 temp = HW_RESETS; if(in_r0==1) { temp &= ~BIT(5);//PPC1 } else { temp |= BIT(5);//PPC1 } temp &= ~BIT(0);//SYS HW_RESETS = temp; while(1); poke_hwresets_ppcbits/LT_2abc u32 resets = HW_RESETS; HW_RESETS &= ~(BIT(4) | BIT(5)); udelay(15); resets &= BIT(5); resets = (resets >> 5) << 5; HW_RESETS = (HW_RESETS & ~BIT(5)) | resets; return;
Re: Wii mode GC hypervisor/emu July 25, 2009 09:25AM | Registered: 16 years ago Posts: 1,012 |
Quote
HyperHacker
I noticed the system can reboot from GC mode back to Wii mode somehow as well. Pop out Mario Kart's disc at the title screen and hit reset, IIRC. Kicks you back to the System Menu.