confused on some codetypes

Started by benny3t3, November 18, 2010, 10:50:16 PM

Previous topic - Next topic

benny3t3

Can anyone explain this a little more for me? Is NNNNNNNN a pointer?
are the ZZZZs .... I don't know what they are... obviously the asm code.... right? I don't understand how to use my data and turn it into this.

[spoiler]C2______ NNNNNNNN
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ 00000000

This code will replace the instruction at
ba
+______ with a branch that will point to ZZZZZZZZ.
The replaced is not saved, the code creator must then put it in his code manualy (if needed).
The instruction MUST end with ONE 00000000, because the code handler will add a "b (
ba
+______)" instruction there.
If your asm code fills all the line, add a 60000000 00000000 under it (and count this line in NNNNNNNN).


To use
po
instead of
ba
, change the codetype from C2 to D2.
For values of ______ >= 0x01000000, add one to the codetype. [/spoiler]

Also I am confused on 'storing adresses/setting base adress to' and also
...
what IS the gecko register?  ???

dcx2

For writing ASM codes, use PyiiASMH or Link's ASMWiiRD converter.  You will put ASM strings in, and you'll get machine code bytes out.  The machine code bytes are the Z's.  N is the number of code lines that the machine code bytes require.

"base address" is ba, it's just a value that sits in the background of the code handler, and gets added to all addresses whose code type has an even first digit.

Gecko Registers are just locations in memory where the code handler can put data.  Gecko Register Code Types can be used to do operations on these registers.

benny3t3

Cool. So then the N is just the the # of lines of Zs? or the number of ASM code lines that are gaoing to be added? Or are they the same?



Oh, okay, so basically it is unused RAM ?

benny3t3

#3
$ python configure.py
Traceback (most recent call last):
  File "configure.py", line 66, in <module>
    sipcfg = sipconfig.Configuration()
AttributeError: 'module' object has no attribute 'Configuration'
$

What does this mean? I got this when setting up PyllASMH

, Or could I have a link to Link's? (hehe...)

I looked all over the internet for it but I couldn't find it.

wiiztec

If there's any code at all that you want to be button activated, or even able to toggle on & off, and I have the game, just PM me and I'll make it happen