Sonic 1 Backwards Frequencies

Discussion in 'Showroom Archive' started by Mega, Sep 4, 2014.

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

    Mega Newcomer Member

    Joined:
    Sep 3, 2014
    Messages:
    20
    Hello everybody. I know that for a first hack, you guys expect a little bit more effort. By the way, the way the music and SFX are is not a direct rip off of Sonic 1 Reversed Frequencies. OK, so maybe for a minihack, you guys would expect a little more than messing up the sound, but maybe that will come in the next release. 
     
     
    Oh, and here is a video of the hack: 



    (no screenshots, but the video alone is enough proof that the hack exists :D)
     
    https://www.dropbox.com/s/sineo7rbhtwyawf/s1built.bin?dl=0 Here is the download link to this hack <--
     
    Tell me what you think, I would certainly take any suggestions you guys have. Maybe, in any future releases, I could do more major things :D
     
    Last edited by a moderator: Sep 4, 2014
  2. N30member

    N30member non-pro user btw Member

    Joined:
    Feb 15, 2014
    Messages:
    216
    Location:
    Kazakhstan
    Umm, can someone explain me what the hell did I play? I noticed only weird "remixed" SFX and music. btw, seems it doesn't work because of Address Error.

    P.S.

    Neon Newbie got a 3rd Chaos Emerald.
    Edited 2 times for adding more info.
     
    Last edited by a moderator: Sep 4, 2014
  3. Clownacy

    Clownacy Retired Staff lolololo Member

    Joined:
    Aug 15, 2014
    Messages:
    1,016
    So... you scrambled the tables instead of reversing them?
     
  4. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    The jump sound reminds me of an Atari 2600. Otherwise, the whole hack reminds me of the reason why I don't take drugs.
     
  5. Mega

    Mega Newcomer Member

    Joined:
    Sep 3, 2014
    Messages:
    20
    Yes, Clownacy, I did scramble the frequency tables. I think showing you part of the Sonic 1 sound driver code could be helpful here:


    This is the whole subroutine for FMUpdateFreq:
    move.b $1E(a5),d0 ; Get frequency adjustment
    ext.w d0
    add.w d0,d6 ; Add note frequency
    btst #2,(a5) ; Is track being overridden?
    bne.s locret_71E48 ; Return if so
    move.w d6,d1
    lsr.w #8,d1
    move.b #$A2,d0 ; Register for upper 6 bits of frequency
    jsr WriteFMIorII(pc)
    move.b d6,d1
    move.b #$A0,d0 ; Register for lower 8 bits of frequency
    So, the lines of code that deal with the YM2612 registers for the upper 6 bits and lower 8 bits of the frequency table are modifed here. This is what I am talking about:

    move.b #$A2,d0 ; Register for upper 6 bits of frequency

    move.b #$A0,d0 ; Register for lower 8 bits of frequency

    Hope this helps you Clownacy
     
    Last edited by a moderator: Sep 4, 2014
  6. Mega

    Mega Newcomer Member

    Joined:
    Sep 3, 2014
    Messages:
    20
    Neon Newbie, what emulator are you using. For now, I am guessing you are using Gens
     
  7. redhotsonic

    redhotsonic Also known as RHS Member

    Joined:
    Aug 10, 2007
    Messages:
    2,969
    Location:
    England
    Please refrain from double posting in the future. Double posting is only to be done in certain circumstances.
     
  8. N30member

    N30member non-pro user btw Member

    Joined:
    Feb 15, 2014
    Messages:
    216
    Location:
    Kazakhstan
    Regen = hardware. I don't even have Gens on my computer. =P
     
  9. Mega

    Mega Newcomer Member

    Joined:
    Sep 3, 2014
    Messages:
    20
  10. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    I think you're a dolt.
     
  11. Clownacy

    Clownacy Retired Staff lolololo Member

    Joined:
    Aug 15, 2014
    Messages:
    1,016
    Why isn't it okay when SuperGoose does this?

    Anyway, yeah, using Kega would work around the problem, but you're still doing something wrong. Whatever's keeping Regen users from playing your hack is just another thing that should show up in your error log, but doesn't, because for some reason asm68k is still used. Go fix the problem yourself before recommending another emulator, it just makes you seem quick to run away from your problems before solving them.

    In case it isn't obvious at this point, it isn't that Regen isn't good with hacks, it's that those hacks aren't good with the Mega Drive and, by extension, Exodus and Regen. Your hack's broken.
     
  12. redhotsonic

    redhotsonic Also known as RHS Member

    Joined:
    Aug 10, 2007
    Messages:
    2,969
    Location:
    England
    Rule of the thumb; if it doesn't work on Regen, it won't work on real hardware. Regen is more accurate then Kega.
     
  13. SuperEgg

    SuperEgg I'm a guy that knows that you know that I know Member

    Joined:
    Oct 17, 2009
    Messages:
    Location:
    THE BEST GOD DAMN STATE OF TEXAS
    It's cause I'm way too cool, that's why when I tell people they are stupid, it's way too cool for these lame fagz =P


    Anyways, if you have to tell people to use a less than accurate emulator to not have an issue, that is a red flag. Your response shouldn't be, use a different emulator, it should be," I will look into fixing it. If you wan to see the how it is supposed to work, you may use Fusion. This isn't a permanent fix, but I will fix it."


    Or better yet, don't release it until it does work on Regen. Regen is obviously not exactly like hardware, but it is the closest thing, well besides Exodous, so if it doesn't work on Regen, or work well, it won't on hardware.


    So to summarize, yes, your hack is at fault, not your emulator. Fix that shit and don't tell people to downgrade their emulating experience just to fix your problems.
     
  14. redhotsonic

    redhotsonic Also known as RHS Member

    Joined:
    Aug 10, 2007
    Messages:
    2,969
    Location:
    England
  15. N30member

    N30member non-pro user btw Member

    Joined:
    Feb 15, 2014
    Messages:
    216
    Location:
    Kazakhstan
    Sorry, but what did you mean?
     
  16. Filio

    Filio Newcomer Trialist

    Joined:
    Jun 5, 2012
    Messages:
    18
    Location:
    New Jersey
    Sorry, but what did you mean?



    I believe Mega meant that some hacks don't work or don't work that well in Regen.
     
  17. Mega

    Mega Newcomer Member

    Joined:
    Sep 3, 2014
    Messages:
    20
  18. OrdosAlpha

    OrdosAlpha RIGHT! Naebody move! Root Admin

    Joined:
    Aug 5, 2007
    Messages:
    1,793
    Location:
    Glasgow, Scotland
    We call those hacks broken, or to use the technical term - fucked.
     
    Last edited by a moderator: Sep 11, 2014
Thread Status:
Not open for further replies.