Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Making Gecko Codes To Edit RAM: Difference between revisions

From LMHack
GameCubing861999 (talk | contribs)
No edit summary
GameCubing861999 (talk | contribs)
No edit summary
Line 15: Line 15:


Writes the value XXXX to YYYY+1 consecutive halfword-sized addresses, starting with the address ba+______
Writes the value XXXX to YYYY+1 consecutive halfword-sized addresses, starting with the address ba+______
To use po instead of ba, change the codetype from 02 to 12.
To use po instead of ba, change the codetype from 02 to 12.
For values of ______ >= 0x01000000, add one to the codetype.
For values of ______ >= 0x01000000, add one to the codetype.
Line 25: Line 23:


Writes the value XXXXXXXX to ba+______
Writes the value XXXXXXXX to ba+______
To use po instead of ba, change the codetype from 04 to 14.
To use po instead of ba, change the codetype from 04 to 14.
For values of ______ >= 0x01000000, add one to the codetype.
For values of ______ >= 0x01000000, add one to the codetype.

Revision as of 09:01, 10 July 2024

With Gamecube/Wii there is code stored within dol memory locations, and we can actually edit and add to this compiled assembly code within memory with the use of gecko/ar codes. And this page will detail on how to make said codes with help of the documentation from BannerBomb.

8 bits Write & Fill

00______ YYYY00XX Writes the value XX to YYYY+1 consecutive byte-sized addresses, starting with the address ba+______ To use po instead of ba, change the codetype from 00 to 10. For values of ______ >= 0x01000000, add one to the codetype.

16 bits Write & Fill 02______ YYYYXXXX

Writes the value XXXX to YYYY+1 consecutive halfword-sized addresses, starting with the address ba+______ To use po instead of ba, change the codetype from 02 to 12. For values of ______ >= 0x01000000, add one to the codetype.

32 bits Write 04______ XXXXXXXX

Writes the value XXXXXXXX to ba+______ To use po instead of ba, change the codetype from 04 to 14. For values of ______ >= 0x01000000, add one to the codetype.

0x33E3BE obake04.szp
0x33E3BE topoo.szp
0x33E3BE skul.szp
0x33EBBA heypo.szp
0x33F8C2 tenjyo.szp
0x33FA02 banaoba.szp