AtGames Sound Fix, Within Your Own Hack!

Discussion in 'Tutorials' started by RobiWanKenobi, Nov 25, 2023.

Tags:
  1. RobiWanKenobi

    RobiWanKenobi Python Developer and ASM enthusiast Member

    Joined:
    Sep 10, 2022
    Messages:
    88
    Location:
    United States
    You may recall that the AtGames Firecore Consoles have some really bad PSG and FM pitches. I, with some help from Big Evil Corporation's blog post, Taming The Firecore Part 1, have made some code to fix the sound on AtGames consoles, without having to use Neto's Bootloader or Neto MS-DOS.

    This is for AS Macro Assembler disassemblies mainly, though conerting to ASM^*k should be fairly straight-forward. ASM68k has no + or - branches and instead of .label, they use @label

    Label Names:

    Sonic 1 AS (GitHub, 2023):

    DACDriverLoad or SoundDriverLoad (Old Label)
    Sonic 2 (GitHub, 2023):
    SoundDriverLoad
    Sonic 3&K (GitHub, 2023):
    SndDrvInit

    UPDATE:

    The User Malachi has already made some code for testing if you are on the Firecore or not.
    It works like what Devon posted

    So, take the file from the zip file called Detect_Firecore.zip, then before the label name, depending on your disasm, include the file, Detect_Firecore.asm.

    To actually take advantage of the code however, we'll have to add this line right after the label.
    Code:
    SoundDriverLoad:
        jsr   Detect_Firecore ; <-----
    ...
    
    Now build the rom.
     

    Attached Files:

    Last edited: Jun 9, 2024
    Hame, Nik Pi, ProjectFM and 1 other person like this.
  2. Devon

    Devon DROWN, DROWN, DROWN MYSELF! Member

    Joined:
    Aug 26, 2013
    Messages:
    1,401
    Location:
    your mom
    Here, courtesy of BigEvilCorporation himself from the Tanglewood source code.
     
    ProjectFM likes this.