don't click here

Sonic 2 SMS Disassembly

Discussion in 'Engineering & Reverse Engineering' started by Glitch, Dec 15, 2008.

Thread Status:
Not open for further replies.
  1. Glitch

    Glitch

    Tech Member
    176
    13
    18
    Let the 8-bit hackery commence!

    Sonic 2 SMS Disassembly


    Stuff you should be aware of:
    - No IDA here! The bulk of the first 2 ROM banks were disassembled using smsexamine. The rest was disassembled either by using dZ80 or by hand.
    - Main source file is "src\s2.asm".
    - The source is rough around the edges. Expect messy tabbing in places. It's in desperate need of a cleanup but I wanted to get something out in the hopes of inspiring development on Sonic 2 LD :).
    - There are some brief notes about object logic and memory addresses in the "notes.txt" file. The rest of my notes are littered throughout the source.
    - The build batch file also generates a symbol file and a report on free space within each bank ("build_report.txt").


    I'm open to suggestions on ways to improve the directory and/or source structure. Also, alternative hosting would be greatly appreciated (we all know rapidshit sucks).
     
  2. Tweaker

    Tweaker

    Banned
    12,387
    3
    0
    I wish there was a "Super Tech Member" label, because I would totally throw you in it.

    This is absolutely fantastic! The one downside I see to this is that not many people in this community are very versed with Z80, myself included; if that weren't an issue, I could see this being much more popular. Regardless, this is excellent work—well done! :)

    As for hosting, feel free to host it on the wiki in Category:Disassemblies. We have absolutely no problem providing webspace for stuff like this.
     
  3. ICEknight

    ICEknight

    Researcher Researcher
    Nice. I'm sure the people at SMS Power would be also interested in such a thing. :)
     
  4. Sintendo

    Sintendo

    Member
    249
    0
    16
    This could certainly come in handy for the Sonic 2 LD project. Nice job!
     
  5. Sik

    Sik

    Sik is pronounced as "seek", not as "sick". Tech Member
    6,718
    10
    0
    being an asshole =P
    You're admin, you can create it, even if as custom title =P

    But then we may have techies whining that they should have it too, or members whining that it's stupid and that the requriements for techieness should be tighter, or stuff like that... Drama, in short :)
     
  6. Cinossu

    Cinossu

    Administrator
    2,832
    46
    28
    London, UK
    Sonic the Hedgehog Extended Edition
    <!--quoteo(post=256826:date=Dec 15 2008, 05:40 PM:name=Tweaker)--><div class='quotetop'>QUOTE (Tweaker @ Dec 15 2008, 05:40 PM) [​IMG]
    ..? :x *runs*
     
  7. FraGag

    FraGag

    Tech Member
    Although I'm not personally interested in SMS hacking, may I suggest that this disassembly be uploaded on the SVN server? This will make it easy to keep it organized and prevent any loss of work. If you're lucky, you might even get some help! (Not from me though, I'm busy with Sonic 2 MD, when I'm not busy with school.) Also, I think you could quite easily merge the changes made to the disassembly on the SVN with Sonic 2 LD, so that you can use the progress made to it with little effort. Of course, it could still be uploaded on the wiki.

    Speaking of the wiki, maybe this page could be updated: SCHG:Sonic the Hedgehog 2 (Master System)
     
  8. nineko

    nineko

    I am the Holy Cat Tech Member
    6,376
    529
    93
    italy
    Awesome work, I may attempt to do something with this sometimes.

    <!--quoteo(post=256828:date=Dec 15 2008, 08:48 PM:name=ICEknight)--><div class='quotetop'>QUOTE (ICEknight @ Dec 15 2008, 08:48 PM) [​IMG]
    ..? :x *runs*[/quote]I lol'd.
     
  9. Sik

    Sik

    Sik is pronounced as "seek", not as "sick". Tech Member
    6,718
    10
    0
    being an asshole =P
    Had to do it =P
     
  10. Overlord

    Overlord

    Now playable in Smash Bros Ultimate Moderator
    19,521
    1,108
    93
    Long-term happiness
    I parsed it as that with my brain and did a double take before realising what it was. =P

    Absolutely fantastic work! How long did this take to do? I only ask as there aren't many other Master System titles and at least one should be smaller in size than this. Hopefully we'll see some nice hacks out of this - good work, Glitch!

    <!--quoteo(post=256868:date=Dec 15 2008, 10:12 PM:name=Cinossu)--><div class='quotetop'>QUOTE (Cinossu @ Dec 15 2008, 10:12 PM) [​IMG]
    ..? :x *runs*
    [/quote]
    LOL
     
  11. doc eggfan

    doc eggfan

    Are you pondering what I'm pondering? Wiki Sysop
    9,762
    282
    63
    ACT
    GreatMegaLD, GreatSC3k, Great SG1k
    This is the singularity at which point I lose all control of Sonic 2 LD and someone more qualified takes over. Fantastic. XD

    Goddamn I need to learn this shit. I feel so inadequate.
     
  12. Polygon Jim

    Polygon Jim

    Eternal Tech Member
    0
    3
    0
    across town from Hinchy
    All the bitches.
  13. Glitch

    Glitch

    Tech Member
    176
    13
    18
    I've been working on it for about 4 months so far. I left the full WLA DX package in there so that will bump up the size of the zip. You only really need wla-z80 and wlalink.
     
  14. jman2050

    jman2050

    Teh Sonik Haker Tech Member
    634
    4
    18
    ooh, nicely done. Another source file to get my hands dirty with >:D
     
  15. Glitch

    Glitch

    Tech Member
    176
    13
    18
    Does anyone have any objections to this? The project is currently in a private repo but I'd like to move it to Sonic Retro if possible.
     
  16. Overlord

    Overlord

    Now playable in Smash Bros Ultimate Moderator
    19,521
    1,108
    93
    Long-term happiness
    As far as I'm aware, that's what the SVN server is there for...
     
  17. JDAdams

    JDAdams

    Member
    318
    0
    16
    Can I ask which version of Sonic 2 this is? 1.0 or 2.2? The difference being a height restriction in SHZ2 and a spring in GMZ1.
     
  18. Glitch

    Glitch

    Tech Member
    176
    13
    18
    It's 1.0. It shouldn't be too hard to include the 2.2 bugfixes though.
     
  19. Tweaker

    Tweaker

    Banned
    12,387
    3
    0
    I actually wasn't aware that Sonic 2's 8-bit incarnations had multiple revisions. Are those the only changes, or are there more as well?
     
Thread Status:
Not open for further replies.