WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: strakn on March 22, 2011, 03:53:27 PM

Title: Gecko Registers help.
Post by: strakn on March 22, 2011, 03:53:27 PM
How would you put the value stored in one gecko register to the address stored in another gecko register?
Title: Re: Gecko Registers help.
Post by: dcx2 on March 22, 2011, 07:01:21 PM
Yanno, I thought this would be easier than it is, but I guess not.

Let's say the value is in gr1, and you want to write it to the pointer in gr2

Move gr2 to the po (NOT ba) with 4A001 code

Now you can use a 94T1 (T = 2) code to write gr1 to [po]

Don't forget the full terminator

4A001002 00000000 # po = gr2
94210001 00000000 # [po] = gr1
E0000000 80008000 # reset po