don't click here

Data East / Side Pocket Sound Driver

Discussion in 'Technical Discussion' started by ValleyBell, Sep 8, 2011.

  1. ValleyBell

    ValleyBell

    Tech Member
    246
    25
    28
    researching PC-98/X68000 sound drivers
    After not touching anything related to the Data East sound driver for more than a year, I decided that it might be a good idea to sort all the things I researched and release them. So here we go.


    Since the last release of my Data East player I did some additional research on the Side Pocket sound driver (early version of the format) and added support for it to the player.
    You can download the Win32 binary or the C source code. I also updated the YM2612 sound emulation to fix a few bugs related to the LFO. (which these sound drivers use for vibrato)

    The music folder contains 2 demo songs. One is a homebrew song I made: Aladdin Boss theme (based on the Amiga version)
    I also included a small tool called DEExtract, which is able to extract DAC sounds and songs from ROMs.
    EDIT: There is a typo in the code of DEExtract that makes the help screen if you specify less than 3 parameters. (only 2 should be required) For the "All" mode, just add a dummy number or letter as third parameter to make it work. Autodetection doesn't work for the other modes due to that bug - sorry.


    Most of the recent additions to the player were made by disassembling the two sound drivers (High Seas Havoc and Side Pocket), so if you're interested, you can also download the sound driver disassemblies.
    The archive includes .idb (for IDA Pro 6.1) and .asm files for both games and some .txt files that describe the sequence format and RAM layout. (The .asm files contain the sound driver part only.)
    High Seas Havoc's sound driver is commented well and data and code should be separated properly for the whole game.
    Side Pocket's driver has fewer comments. I mainly commented the parts that differ from HSH's driver.

    As a bonus I included a Sonic 1 ROM that uses the HSH sound driver, including the files you need to build it.

    Enjoy.

    EDIT: fixed links