don't click here

Use Sram in your hacks/games

Discussion in 'Engineering & Reverse Engineering' started by JoseTB, Jul 17, 2004.

  1. JoseTB

    JoseTB

    Tech Member
    716
    59
    28
    (updated)

    Go to the address 0x1B0 (between the header),and there put this:

    52 41 XX 20 00200001 002003FF

    green part = first memory address
    red part = The last memory adress.
    XX = (in bits) 1x1yz000

    set x to backup on,and set yz to 10 if even address only,11 if odd address only and 00 if both even and odd address.

    Now when you want to write into the sram,just use something like move.b #$01,$200001,you get it,just write between the address 200001 and 2003FF and read from they.
     
  2. saxman

    saxman

    Oldbie Tech Member
    Good job! I used SRAM in Timezones if people don't remember. It's a useful tool for hacks. I recommend it!
     
  3. Kampfer

    Kampfer

    Member
    1,609
    5
    18
    What is SRAM?
     
  4. Hivebrain

    Hivebrain

    Administrator
    3,049
    161
    43
    53.4N, 1.5W
    Github
    I think it's used for saved games in S3.
     
  5. Mystical Ninja

    Mystical Ninja

    For old time's sake. Oldbie
    3,342
    5
    18
    New Castle, Delaware
    Nothing that concerns this place in the least.
    Yeah, and they're the save files that have filenames like "Sonic3.srm".
     
  6. saxman

    saxman

    Oldbie Tech Member
    SRAM = Save RAM
     
  7. Hayate

    Hayate

    Tech Member
    More commonly known as "battery".
     
  8. Sonic Hachelle-Bee

    Sonic Hachelle-Bee

    Taking a Sand Shower Tech Member
    808
    201
    43
    Lyon, France
    Sonic 2 Long Version
    It was something I'm looking for Sonic 4 Studium.
    Good job!
     
  9. saxman

    saxman

    Oldbie Tech Member
    Doesn't 'have' to be battery. That's the method that was used by probably all the carts because it's easy and cheap. However, I don't like to call it battery RAM because that's not 100% accurate to what it really is at heart.
     
  10. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    You can't argue that it does need a battery to stay working.
     
  11. Syren

    Syren

    Member
    4,330
    0
    0
    Teesside, UK
    Reintergration
    XD.

    Oh and I have been speeking to JoseTheBest alot on MSN and she sounds like he knows a lot of technical stuff. Am I the only one to agree with "Jose for Tech Member"?
     
  12. JoseTB

    JoseTB

    Tech Member
    716
    59
    28
    I was wrong with the third byte,you can change some options there,so the original post is updated.
     
  13. Hayate

    Hayate

    Tech Member
    If only I knew assembly... *sigh*