Sound driver signatures

For anything related to sound (YM2612, PSG, Z80, PCM...)

Moderator: BigEvilCorporation

Post Reply
jvisser
Newbie
Posts: 3
Joined: Mon Nov 30, 2020 6:25 pm

Sound driver signatures

Post by jvisser » Sat Aug 28, 2021 10:49 am

Hi,

I made a sound driver signature db some time ago. It has signatures for krisalis and gems. I made it while creating some msu-md hacks after I got my everdrive pro. It only finds the music play routines but the other routines are normally close by.

Can be useful for msu/md+ hacks. And other sound hacks maybe.

You can find them here: https://github.com/jvisser/md-driver-signatures

SeregaZ
Interested
Posts: 16
Joined: Mon Aug 03, 2015 12:45 pm

Re: Sound driver signatures

Post by SeregaZ » Sat Aug 28, 2021 1:04 pm

didnt understand anything :) can it find where is music and patches and sounds and whatever it is for Alien 3? it should be Krisalis.

jvisser
Newbie
Posts: 3
Joined: Mon Nov 30, 2020 6:25 pm

Re: Sound driver signatures

Post by jvisser » Sun Aug 29, 2021 1:57 pm

I tested against Alien 3 with this result:

Code: Select all

[0x00000200]> zi
0x0007db18 30 sign.bytes.krisalis_play_music_3l_0
0x0007db36 24 sign.bytes.krisalis_play_music_0l_0
0x0007db36 24 sign.bytes.krisalis_play_music_0l_1
If you put a breakpoint at 0x0007db18 and go into the options menu you can see it trigger when changing when audio track (track id will be in d0: 0 = stop, # is track id). 0x0007db36 seems to be used for sound effects.

Against the lion king:

Code: Select all

[0x00000200]> zi
0x002d0188 46 sign.bytes.krisalis_play_music_1l_0
0x002d01b6 24 sign.bytes.krisalis_play_music_0l_0
Hope this helps.

SeregaZ
Interested
Posts: 16
Joined: Mon Aug 03, 2015 12:45 pm

Re: Sound driver signatures

Post by SeregaZ » Sun Aug 29, 2021 7:54 pm

nope, it didnt says to me anything :)

maybe you know some urls to read for that Krysalis explanations? how it store patches, sequenses and etc.

jvisser
Newbie
Posts: 3
Joined: Mon Nov 30, 2020 6:25 pm

Re: Sound driver signatures

Post by jvisser » Sun Aug 29, 2021 8:26 pm

Sorry I can't help you there. This only finds the subroutines you need to intercept for msu-md/md+ patches. For these cases you don't need to know anything much about the driver internals and as such I don't know much about it.

Post Reply