First post, by Parazythum
- Rank
- Newbie
Hello,
I've been messing with the sound blaster in turbo pascal 7 lately under DosBox 0.74, and I found a minor bug.
When I send the E1h command to the DSP (ask for SB Id), the DSP sends back 2 values :
* SB major value
* SB subversion value
Changing the sb type in the configuration file, I found out that all emulated SB cards return the wrong values.
According to http://the.earth.li/~tfm/oldpage/sb_dsp.html, the values should be :
MODEL VERSION
SoundBlaster 1.0 1.?? (1.05???)
SoundBlaster 1.5 1.?? (1.05???)
SoundBlaster 2.0 2.xx (2.01)
SoundBlaster Pro 3.00 (???)
SoundBlaster Pro 2 3.01+ (3.01, 3.02)
SoundBlaster 16 4.0x (4.04, 4.05)
SoundBlaster 16 SCSI-2 4.11 (4.11)
SoundBlaster AWE32 4.12+ (4.12)
For example in DosBox, asking a SB16 returns 5 and 5.
I'm using these values to automatically set the correct SB in my programs. The subversion doesn't matter, but the major version is what should be used to identify the card that is emulated.
What's more, not every SB has a mixer, that should be enabled/disabled automatically instead of being set manually in the config file ? That goes also for the OPL chip version embedded.
Now it's not really annoying, I can get sounds out of the SB under DosBox, but the emulation is not completely accurate, So I hope this helps 😀
Parazythum,
the Big Bad Bug