Codetype 07???

Started by isomorphix, September 06, 2009, 08:08:55 PM

Previous topic - Next topic

isomorphix

I have been trying to figure out what code type 07 does. I've checked the Technical Code Type Document but I don't see any reference to this code type.

If it is any help, this is the specific code that I am trying to interpret:
077F9A00 00000028

Thanks in advance for your help.

Romaap

It is the String Code.
But this one writes to ba+address+1000000.

HaXXeR

Curse you Romaap.  :D

I had a well written reply that I had to scrap because you answered while writing.

isomorphix

Alright, that makes some sense, but I don't quite get where the +1000000 is coming from. I'm new to hacking the wii, but I have years of programming experience as well as some some basic experience with asm on x86. An actual explanation rather than just what it does would be greatly appreciated it.

Thanks for the quick reply.

HaXXeR

The basic memory range is 80000000-81800000 (mostly). Since the two first characters are used for the codetype you can only specify the address with the last six (__######).

This means you cannot write to a higher adress than 80FFFFFF. What that type does is simply add 1 to the second character (i.e. 01000000). This means you can write to 81000000 and over without having to change the base address. This works with the "write and fill"-types too.

Of course this applies to whatever memory range you are using at the moment.

isomorphix

Ok, that is what I was thinking but I didn't want to assume anything.