Tonma (./11) :
@freem : I use your z80 code in "adpcma_v3 / adpcma_v2" to read sound. I have 4 adpcmaA sound effect and one apdcmB music Inside my v rom as you can see below.
I read adpcmA with a simple command :
move.b #0x10,0x320000
But how can I play adpcmb ? The music file the NG play is very bad.
- The 68K part of the Neo-Geo knows nothing about ADPCM-A or ADPCM-B; it just sends commands to and receives replies from the Z80. The M1/.Z80 file handles the ADPCM-A vs. ADPCM-B playback, typically using a table where each sound code has a specified type (e.g. 0=unused; I forget the rest of the ones SNK defined off the top of my head.)
- ADPCM-A and ADPCM-B require different playback methods; if you try loading one sound type into another's registers, it won't end up very well.
Tonma (./11) :
Do your z80 code (in adpcma) play adpcmb. I saw this commande : write to port B and ;ADPCM-B PB_CTRL: EQU $10, in your code and définitions.
The ADPCM-A test demo I wrote (assuming that's what you're referring to) shouldn't have PCM-B playback... maybe it was left over from some other demo? I don't know if you've grabbed my ADPCM-B playback demo from my page or not, though I know the first two versions were broken (v3 should work properly... hopefully).