Slide Code

What does a Slide code do?
    The Slide code lets you enable large blocks of memory with just two codes.  Lets look at the example.

Ok, just for the sake of the example lets say it took 5 codes to enable the Infinite Armor code for Twisted Metal 2, so $80187D00 00E5, $80187D02 00E5, $80187D04 00E5, $80187D06 00E5, and $80187D08 00E5 were needed to active the Infinite Armor.  You can tell the system to use a slide code with only two codes in stead of the 5.  Lets break it down.

Starting Address is the address $80187D00 because that is the lowest code.
Starting Data is the data value of 00E5 from the code.
Repeat count tells the system how many codes to modify.  In our case we have five codes.
Address step is set to 2 because our address changes by 2 in each code.
Data Step is 0000 because we know that all codes need to have a 00E5 value.

Then select the Generate Code to get this screen.

Now we have a code of $B0050002 0000 10187D00 00E5.  This code will enable all the previous five codes with only two.  Cool.

How does the code break down?
    B0050002 0000
    |      |        |  |_This is the data step, we used 0000.
    |      |        |_This is the address step, we used 2
    |      |_This tells the system who many addresses to modify
    |_The 'B' tells the system that this is a Slide code.
 

 Back to X-link TOC