You mean a slide code? A code that covers a bunch of addresses in a simple condensed code? I will assume so and explain it a bit
Slide Codes
5000xxyy zzzz
tttttttt vvvv
Writes xx addresses starting with 80tttttttt incremented by yy. The starting value is zzzz with an increment of vvvv.
On CD-based Gamesharks, consequtive slides must be seperated by a line "00000000 0000".
Thats the official explanation but I will break it down for you:
The top of the 2 codes is what sets the amount writes and how many intervals or offsets between addresses to skip and what the initial Value of the first address should be. IE:
50001002 0001
So this sets the code to cover 16 address since 10h is 16 decimal and it skips every 2 lines so basically it covers 16bit addresses back to back(I will explain below and you should know the difference between 16bit and 8bit codes).
Say we have this fictional code that has about 6 codes in sequence and we want to use a slide code and increment each line by 1 (like have item codes) we would take the codes:
80011230 0001
80011232 0002
80011234 0003
80011236 0004
80011238 0005
8001123A 0006
we use the formula above and get this:
50000602 0001
80011230 0001
so we set it to cover 6 lines and since they are 16bit codes and the difference between addresses is 02 then that is the offset we used and the 0001 is what the very first addresses value should be. 0001 is that we will increment the values for the other codes by one, if we set it to 0000 then it would set the value of the first code in the slide code to 0001 for all 6 addresses.
Announcement
Collapse
No announcement yet.
Hacking Sequential codes PSX
Collapse
X
Leave a comment: