Repository navigation
A bugfix release for 1.0, from reports on the 86Box Discord and testing of DOS games in a Windows DOS box.
Fixes
-
Some DirectSound hardware-buffer sounds played about twice as fast as they should.
- When a stereo DirectSound buffer can be moved in 3D, Aureal's driver folds it to mono with one of the chip's mixers before rate-converting it. The emulation ran that mixer at the chip's 48 kHz instead of the sound's own rate. A 22 kHz sound therefore played 2.2 times too fast and too high, and it was cut short.
- That mixer now runs at the stream's rate, as the converter takes samples from it. dxdiag's hardware-buffer tests now play at the same pitch and speed as its software tests.
- Games that use stereo 3D sound buffers had the same problem and should also be fixed.
-
Loud sounds distorted with "Mix rear channels" turned on.
- In four-speaker mode the driver sends the same sound to the front and rear pairs, and the emulation added the two pairs together. Loud sounds went past full scale and clipped at their peaks; dxdiag's test sounds peak at about 60% of full scale on each pair.
- Each pair is now limited on its own, and the two are averaged by the rear volume, so the mix can no longer clip.
- With the option on, a sound sent only to the front speakers is now about 6 dB quieter than in 1.0. With the option off (the default), nothing changes.
-
Sound Blaster sound in a Windows DOS box ran fast, then crackled. Aureal's Sound Blaster emulation streams a DOS game's sound to the card in 128-byte pieces, starting each one when the last one ends. At each restart the emulation threw away what the card had already read ahead, and reset the sample-rate converters, so a game's sound effects (Duke Nukem 3D's, for example) ran about 1.8 times too fast and were badly distorted. The card now plays on from what it has read ahead, as a real card does. It also tops its read-ahead buffer up again at each restart; without that, the buffer could stay nearly empty and the sound dropped out every few milliseconds, which was heard as static.
-
The trace option now records the MPU-401 ports, so MIDI problems can be diagnosed from a trace.
Known issues
- A note can hang at the end of dxdiag's DirectMusic test through the MPU-401. This is not yet diagnosed. The card uses 86Box's standard MPU-401 code. A comparison with another card's MPU-401 on the same MIDI output would show whether it is specific to this card.
- The 86Box FM synth can sound unsteady in a Windows DOS box. The game's FM writes go straight to 86Box's FM chip, but the game times its music from the system timer, which Windows only imitates in a DOS box. Aureal's own FM synth (the "Vortex FM" option) is steadier there.
- The known issues listed for 1.0 still apply.
Credits
Hardware, testing and direction: Z2k Retro. Technical assistance: ZanQuance. Thanks to the 86Box Discord members who reported these bugs. Chip model, tools and documentation written with substantial help from Claude, Anthropic's AI model. Register names from the Linux ALSA au88x0 driver.
This project is not affiliated with Aureal or its successors.