Repository navigation
Aureal Vortex 2 for 86Box, build 1.0
This build adds an emulated Aureal Vortex 2 (SQ2500) sound card with hardware A3D to 86Box. It runs Aureal's own Windows 98 drivers.
It is a reverse-engineering project. Aureal never documented the chip; the emulation was built by tracing and measuring a real SQ2500 and is checked against it. The method, the register-level reference and all the tools are in aureal-vortex2-tools.
1.0 marks the point where every part of the chip that Windows games use has been measured on a real card and modelled as measured. The user guide covers setup and what to include in a report.
What's new since 0.5
You may hear these
- 3D sound is about 3.5 dB quieter, and now matches the card. 0.5 compensated for a level difference that turned out to come from an arithmetic slip; the compensation is gone. In A3D 3.0's occlusion sample, card and emulation now differ by a single constant across the whole run, with the spectrum within 0.3 dB from 50 Hz to 12.8 kHz.
- Wavetable voices start and stop as the card does. The attack and smooth-mute ramps the driver uses are now modelled as measured, which affects how notes and sound effects begin and end.
- MIDI out through the MPU-401. The card's MPU-401 answers at 300h–330h, as on the real card, so DOS and Windows programs can send MIDI to whatever 86Box's MIDI output is set to (FluidSynth with a SoundFont, for example).
- FM music (AdLib/OPL3 at 388h). By default it is played by 86Box's own OPL3. A new option, "Vortex FM synthesis", uses the chip's own FM front end and Aureal's software synthesiser instead, as on the real card. It is off by default because Aureal's FM sounded thin and inaccurate on the real hardware too.
- Game port. The card's game port is emulated, with an option to leave it off. With it on, Windows' legacy detection may add its own "Gameport Joystick" device, which can conflict with the Vortex's Gameport Interface; turning the option off avoids this.
Accuracy work you probably won't hear
All measured digitally on a real SQ2500, with the host machine driving the idle chip directly:
- Mixer: each product and the output are rounded to the 16-bit step as the chip does.
- A3D: the slice outputs' arithmetic (clip, then halve) as measured.
- Wavetable: the filter's resonance as measured (DOS programs use it; the Windows driver does not), and the voice's own output scale (
0x3330/0x4000exactly). - Reflections: a single A3D 3.0 reflection, with its filter open or closed, matches the card within 0.3 dB in every band from 100 Hz to 18 kHz. The driver sets the reflection filter from the reflection's level, and the emulation follows it.
- FM front end: the chip's packed copy of the OPL3 registers, its key-off flags, both timers and the AdLib detection answer, as read off the card.
- Control word: writing all ones resets it, as on the card. This fixed the legacy ports being left switched on after Windows shut down to "Restart in MS-DOS mode".
Checked against real hardware
- A3D 3.0 samples on a real SQ2500: occlusion and geometry match throughout; manual reflections match in level below 400 Hz, and a controlled single-reflection test matches at all frequencies.
- Half-Life, tram ride and after the resonance cascade: no stalls, interrupts all serviced, no clipping.
- Bench measurements read digitally from the card: converter, wavetable levels, ramps, resonance, mixer rounding, A3D arithmetic, MPU-401 and FM front end, all reproduced by the model.
Known issues
- Turn off "trace" in the card's settings for normal use. It writes every register access to disk and can cause pops and skips. "Write diagnostic log" is light, but is also only needed for reports.
- DOS games in a Windows 98 DOS box can run 86Box below full speed, especially DOS4GW games, and the music then stutters. Watch the speed percentage in 86Box's title bar; a slower emulated CPU helps.
- Sound Blaster in plain DOS (outside Windows) is not emulated. It works in a Windows DOS box, where Aureal's driver provides it. Owners report it was unreliable on the real card in plain DOS too.
- Sound Blaster emulation can freeze the machine at boot if another PCI device is on IRQ 5. Disable "Vortex AU8830 Sound Blaster Pro Emulation" in Device Manager, or move the other device.
- Aureal's A3D splash screen can crash PowerVR games at start-up; turn the splash screen off in the registry (see the user guide).
- Half-Life only plays CD music if the disc is in the drive when the game starts. That is the game's behaviour, not the emulation's.
- 86Box outputs stereo, so in four-speaker mode the rear pair is dropped or folded into the front.
- Not emulated: recording from microphone or line in, S/PDIF.
- Only drivers 2041 and 2048 under Windows 98 SE have been tested.
Credits
Hardware, testing and direction: Z2k Retro. Technical assistance: ZanQuance. 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.