BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the community, you simply need to register an account or log into an existing one.

Be sure to check out disposable e-mail services, in case you prefer using one for this site instead of your legit address: http://10minutemail.com/10MinuteMail/

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can see and download all content provided for regular members even without an account!

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Search
 
 

Display results as :
 


Rechercher Advanced Search

December 2017
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031

Calendar Calendar

Country Statistics
Free counters!
LaTeX Generator


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 PS2 Code Types on 5/29/2014, 4:19 am

Shadow@BWH

avatar
 
 
I just thought I'd post this its some of PS2's code types it's the guide I used when I started.

8-bit Constant Write

This command will constantly write the value
specified by dd to the address specified by aaaaaaa.


0aaaaaaa 000000dd
16-bit Constant Write

This command will constantly write the value
specified by dddd to the address specified by aaaaaaa.


1aaaaaaa 0000dddd
32-bit Constant Write

This command will constantly write the value
specified by dddddddd to the address specified by aaaaaaa.


2aaaaaaa dddddddd
Increment/Decrement Commands
8-bit Increment

This command adds the value specified by nn to
the value stored at the address aaaaaaaa.


301000nn aaaaaaaa
8-bit Decrement

This command subtracts the value specified by nn
to the value stored at the address aaaaaaaa.


302000nn aaaaaaaa
16-bit Increment

This command adds the value specified by nnnn to
the value stored at the address aaaaaaaa.


3030nnnn aaaaaaaa
16-bit Decrement

This command subtracts the value specified by nnnn
to the value stored at the address aaaaaaaa.


3040nnnn aaaaaaaa
32-bit Increment

This command adds the value specified by nnnnnnnn
to the value stored at the address aaaaaaaa.


30500000 aaaaaaaa
nnnnnnnn 00000000
32-bit Decrement

This command subtracts the value specified by nnnnnnnn
to the value stored at the address aaaaaaaa.


30600000 aaaaaaaa
nnnnnnnn 00000000
Test Commands
16-bit Equal

Only when the value at the address specified by aaaaaaa
is equal to the value specified by dddd will the next
line of code be executed.


Daaaaaaa 0000dddd
16-bit Not Equal

Only when the value at the address specified by aaaaaaa
is not equal to the value specified by dddd will the
next line of code be executed.


Daaaaaaa 0010dddd
16-bit Less Than

Only when the value at the address specified by aaaaaaa
is less than the value specified by dddd will the next
line of code be executed.


Daaaaaaa 0020dddd
16-bit Greater Than

Only when the value at the address specified by aaaaaaa
is greater than the value specified by dddd will the
next line of code be executed.


Daaaaaaa 0030dddd
16-bit Equal : Multiple Skip

Only when the value at the address specified by aaaaaaa
is equal to the value specified by dddd will the next nnn
lines of code be executed. Otherwise, they will be skipped.


Ennndddd 0aaaaaaa
16-bit Not Equal : Multiple Skip

Only when the value at the address specified by aaaaaaa
is not equal to the value specified by dddd will the next
nnn lines of code be executed. Otherwise, they will be skipped.


Ennndddd 1aaaaaaa
16-bit Less Than : Multiple Skip

Only when the value at the address specified by aaaaaaa
is less than the value specified by dddd will the next
nnn lines of code be executed. Otherwise, they will be skipped.


Ennndddd 2aaaaaaa
16-bit Greater Than : Multiple Skip

Only when the value at the address specified by aaaaaaa
is greater than the value specified by dddd will the next
nnn lines of code be executed. Otherwise, they will be skipped.


Ennndddd 3aaaaaaa
Miscellaneous Commands
Copy Bytes (GS2 v2.0 or higher)


a = Address to copy from
b = Address to copy to
n = Number of bytes to copy



5aaaaaaa nnnnnnnn
bbbbbbbb 00000000
32-bit Multi-Address Write

Starting with the address specified by aaaaaaa, this code will
write to xxxx addresses. The next address is determined by
incrementing the current address by (yyyy * 4). The value
specified by dddddddd is written to each calculated address. Also known as a "Patch Code."


4aaaaaaa xxxxyyyy
dddddddd 00000000


_________________

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum