08-09 (Incremental RAM Write)

08______ XXXXXXXX

TNNNZZZZ VVVVVVVV


09______ XXXXXXXX

TNNNZZZZ VVVVVVVV

_ = First address

X = Starting Value

T = Value Size (0 = byte, 1 = halfword, 2 = word)

N = Amount of additional addresses to write to (the first is assumed)

Z = How far each address is apart (in HEX)

V = How much to add after each additional RAM write



Speed Hack (All Players) [777eThOd*]:

04A1C754 40500000

04A1E3DC 40500000

04A20064 40500000

04A21CEC 40500000


Speed Hack (All Players) [777eThOd*]:

08A1C754 40500000

20031C88 00000000

Anytime you are writing the same value many times to different places in memory that are equally spaced apart you can use the 08 codetype to do a serial write.


For example the code method posted writes 0x40500000 to four different places in memory. The important thing to note is that the four different memory locations are all spaced by 0x1C88 bytes. To get this number, subtract 2 of the addresses in hex. (80A1C754 - 80A1E3DC = -1c88)


So instead of using 04 code type to say write this here, write this here, write this here, write this here we can use the 08 codetype to say write this here, then write it again four times starting here and then every 0x1C88 bytes later.