Sonic 1 SMS Disassembly

Discussion in 'Discussion and Q&A Archive' started by Ravenfreak, Jan 25, 2011.

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

    Ravenfreak Still hacking the 8-bit titles Member

    Joined:
    Feb 10, 2010
    Messages:
    410
    Location:
    O'Fallon, MO
    Alright this has been posted on SR, but I decided to share it here too! It's only in text format for now, since I'm mainly focusing on labeling stuff first. xP Though I'll be posting updates on SR more than here, I suggest you check out the original thread on SR more often than this one. :V Anyway, here's a download link:


    http://www.mediafire.com/?p2zixf739pgd97a


    Also, if this belongs in the "Share your work" sub forum, could someone move it please? :(
     
  2. segaloco

    segaloco Newcomer Member

    Joined:
    Jul 16, 2008
    Messages:
    6
    Location:
    WA
    I posted my disasm here too and they left it alone :(
     
  3. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    Interesting stuff, does it build a byte for byte perfect rom?


    Edit: also...



    ld a, (iy+7) ; set a to index register and add 7



    ...I'm no expert with Z80 machine code, and I'm not sure if you know this or if it's just the comment, but I'm pretty sure that moves the contents of "a" to the address of 7 bytes after the address of "iy", for example, if "iy" was F000, contents of "a" would be moved to address F007.


    Which could make that comment a bit misleading for new programmers of this particular language =%

    It's true that if you post stuff such as disassemblies here, you'll get less of a response =P
     
    Last edited by a moderator: Jan 26, 2011
  4. Ravenfreak

    Ravenfreak Still hacking the 8-bit titles Member

    Joined:
    Feb 10, 2010
    Messages:
    410
    Location:
    O'Fallon, MO
    Not yet, i'm actually fixing that now. And I was meaning to delete that comment to correct it and I forgot. :V I'll post a new link soon after I fix a few things. :( Also I just realized that hexedit is also in the folder, that's definitely going to be gone in the next release. (Now that I remember, my girlfriend moved it to the folder, since I have to use her computer. So I blame oathsan for that. :V)


    Edit: done! Here's the new link:


    http://www.mediafire.com/?em6e2am5xsmqepzl
     
    Last edited by a moderator: Jan 26, 2011
  5. segaloco

    segaloco Newcomer Member

    Joined:
    Jul 16, 2008
    Messages:
    6
    Location:
    WA
    Yeah, it acts like



    move.l d0, 7(a0)



    Except d0 = a and a0 = iy obviously :)
     
Thread Status:
Not open for further replies.