joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.8k stars 383 forks source link

Wave Blaster emulation #4130

Open Torinde opened 1 year ago

Torinde commented 1 year ago

I just pulled the card out of the box to examine it.

Apart from the C-Bus form, the chips on the board look just like any other Creative product.

From visual examination, despite different I/O port numbers, it provides a Creative DSP chip, mixer, and OPL3 FM.

The board ALSO provides a YM2203 for existing PC-98 games.

As another happy find, the second circuitboard attached to it on the top is the Wave Blaster card! Never seen one before. I wonder if I could disconnect it from the C-Bus version and attach it to the IBM PC versions I have that still have the Wave Blaster card pin header.

The card has a copyright date of 1993.

Originally posted by @joncampbell123 in https://github.com/joncampbell123/dosbox-x/issues/1047#issuecomment-480613228

List of Games that use Wave Blaster:

joncampbell123 commented 1 year ago

Hey, cool. I have one too. I got it as part of a PC-9821 purchase on the usual action sites.

From my DOSLIB tests, the C-Bus card is a SB16 with a DSP version 4.5 (or around that) that has the hanging note bug and the sample rate discontinuity bug graph Haven't tested the addon card though, but it is there.

It seems to work exactly like the IBM PC version except the I/O port mapping is completely different, there's no 16-bit DMA channel, and the configuration bits in the mixer for IRQ and DMA have completely different meanings.

https://github.com/joncampbell123/doslib/blob/master/hw/sndsb/sndsb.h#L39

joncampbell123 commented 1 year ago

From what I understand, all you have to do to talk to the Wave Blaster is send MIDI to it the usual way.

https://en.wikipedia.org/wiki/Creative_Wave_Blaster

I'm not sure how you route MIDI to it instead of the external port though.

Torinde commented 1 year ago

Hey, cool. I have one too. I got it as part of a PC-9821 purchase on the usual action sites.

:) It's only one - yours, I'm only quoting of your comment.

What I found is a list of games supporting it.