First post, by janskjaer
- Rank
- Member
Is the Sound Blaster 16 device, and more importantly, the OPL emulation, in PCem different to that in 86Box?
86Box displays the device as a '[ISA] Sound Blaster 16'.
PCem displays it as a 'Sound Blaster 16'. Could it be ISA, ISA-PNP or PCI?
Both report it in the config as:
sndcard = sb16
I have discovered that (at least on early versions of Linux), the Yamaha OPL-3 synthesizer of the Sound Blaster 16 in PCem (and QEMU) is either not available nor enabled.
I'm using locally built versions of PCem (17) and the latest of 86Box (5.0).
I run a set of automated scripts I've written for the VM guest machine, on PCem, 86Box and QEMU, to install and configure Debian 1.1 (Buzz).
The scripts re-compile the guest kernel with the sound module included, and during the kernel compile, the automated scripts set the kernel config with the exact same SB16 parameters across all 3 emulators.
$ cat /dev/sndstat
Sound Driver:3.5.2-960330 (Mon Jun 16 11:06:35 JST 2025 root,
Linux 86box-buzz 2.0.0 #8 Tue Jun 11 09:53:39 PDT 1996 i586)
Kernel: Linux 86box-buzz 2.0.0 #2 Mon Jun 16 11:11:32 JST 2025 i586
Config options: 0
Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 2: SoundBlaster
Type 6: SoundBlaster 16bit
Type 7: SB MPU
Card config:
SoundBlaster at 0x220 irq 5 drq 1,5
SB MPU at 0x330 irq 1 drq 0
OPL-2/OPL-3 FM at 0x388 irq 0 drq 0
Audio devices:
0: SoundBlaster 16 4.5
Synth devices:
0: Yamaha OPL-3
Midi devices:
0: SoundBlaster MPU
Timers:
0: System clock
Mixers:
0: SoundBlaster
In the above:
- 86Box has the "Yamaha OPL-3" present as a `"Synth device"`, but in PCem and QEMU does not.
- 86Box and PCem has the "SoundBlaster MPU" as a "MIDI device", but QEMU does not.
QEMU is already known to have only support for FM synthesis on the sb16 device/driver it provides, so on QEMU, the lack of FM synth is to be expected.
This can be tested by using playmidi to play MIDI files. On PCem, no playback device can be found when trying to playback MIDI files with playmidi.
I tried using both included OPL emulators within PCem (DB and Nuked), but the result is the same.
Could the Sound Blaster 16 in the guest VM be affected by the choice of the machine type used?
On PCem, I'm using the [Socket 7] Epox P55-VA.
On 86Box, I'm using the [I430VX] Dell Dimension XPS Pxxxa / Mxxxa.
DELL Dimension XPS M200s
:Intel P1 MMX 200MHz
:64MB EDO
:DOS 6.22/Win95b
:Matrox Millenium II + m3D (PowerVR PCX2)
Chaintech 7VJL Apogee
:AMD AthlonXP 2700+
:512MB DDR
:Win98SE/2000 SP4
:3dfx Voodoo5 5500 AGP