View Single Post
MrD

JCF Member

Joined: Jan 1970

Posts: 3

MrD has disabled reputation

Sep 30, 2020, 04:22 AM
MrD is offline
Reply With Quote


Luckily for me, the debug build of Dosbox shows a nice readable explanation of the Sound Blaster commands as they're sent to the DSP on the card, so I can write down the sample rates as they come up. These are the output sample rates of the various card and quality settings in JJ shareware 1.0, and Holiday Hare '94 and '95.

In short, the quality setting for Sound Blaster sound in Jazz selects between 22050 Hz, 16050 Hz, 10050 Hz and 6050 Hz, and the output is always 8-bit. (The SBPro could do 44100 Hz mono (but not stereo), and the SB16 could do 44100 Hz mono or stereo in 8 or 16-bit, but Jazz' drivers don't support these.)

Sound Blaster (Mono): All Sound Blasters support the interface this mode attempts, so this option ought to work with every Sound Blaster in the range and every clone that exists.

The very first revisions of the SB1 aren't capable of automatically restarting the data transfer when their block is empty - the driver has to continually kick the card back into life to eat up a little more sound (which can result in momentary pops). Jazz asks the card to identify itself, and goes into this manual mode only if it has to. If it detects it's capable of continuous ('auto-init') mode with no pops, it'll do that instead, which is nice.

For those clones that misbehave and mis-report themselves as being capable auto-init mode, Sound Blaster Clone (Stereo) forces the manual mode as if the card were an original SB1. Since it's using the most basic interface, 'Clone (Stereo)' never actually plays stereo sound, only mono. (That's the behaviour I got regardless of the card I used with it.) It really ought to be called Sound Blaster Clone (Mono) Failsafe or something.

Sound Blaster Pro: The Sound Blaster Pro and the Sound Blaster 16 have different interfaces for stereo output so they have to be programmed separately. (You can detect one from the other in code, but it's good to give the user a choice in case they have a strange clone.)

For some reason, in Holiday Hare 94 and 95 the Sound Blaster Pro option only works with an SB16, and dosbox acts exactly as it would if the Pro driver were made for SB16s. It's as if the drivers got mixed up and the Pro driver got overwritten by the SB16 one or something - dosbox is giving me unusual transfer values (listed in the ?? column as 'Hz (bytes)'). If this is right, both '94 and '95 don't support SBPro at all... (edit - found a thread on another forum from 2013 with the same weird sb16/sbpro behaviour!)

Sound Blaster 16 (Stereo): Nothing to say, it works.

There's a caveat that this is only the behaviour in dosbox, but if somebody would like to give me a bunch of SB cards I'll try it for real.

Last edited by MrD; Oct 1, 2020 at 01:38 AM.