Rust-DOS 1.9.2 adds AdLib Gold emulation and speeds up DOS games
Rust-DOS 1.9.2 adds AdLib Gold 1000 emulation, recompiler speedups, and faster loading.
The rust-dos emulator has reached version 1.9.2, adding emulation for the AdLib Gold 1000 sound card along with recompiler and timing changes. Rust-DOS is a work in progress, and built-in Windows is experimental and runs fewer games than booting Windows.
AdLib Gold 1000
You can turn on the AdLib Gold 1000 with adlibgold=true or import a DOSBox configuration with oplmode=opl3gold. Added by @kibertoad, the emulation covers the control chip with its EEPROM, the OPL3 behind it, the YMZ263 MMA digital sound channels for PCM and ADPCM samples, the YM7128B surround module, and the TDA8425 stereo processor. Recording, the MIDI port, and keeping the EEPROM between runs are not emulated yet. Games that offer an AdLib Gold choice get its music and digital effects, such as Walt Disney’s The Jungle Book.
Recompiler and Timing
The update adds instruction translations and timing changes in the recompiler and built-in Windows:
- Instructions: Translates BT, BTS, BTR, and BTC of memory by a register, BSF and BSR, FRNDINT and FABS, and FSIN, FCOS, FPTAN, XADD, and string moves going down, cutting trips to the interpreter or overhead in Oni, MechCommander, and Phoenix - Deep Space Resurrection.
- Loops and upper memory: Reads a loop displacement written before each pass in place instead of leaving translated code every time, and treats upper memory between ROMs (C8000h-EFFFFh) as plain RAM on x86-64 and AArch64, helping Witchaven hold full speed and reach real time on its Smacker intro.
- Built-in Windows: Finds a new memory region’s place in one pass over the process’s regions and reads timer chip port access time for QueryPerformanceCounter, cutting loading time in Magic & Mayhem: The Art of Magic and reducing load busyness in MechCommander.
Get the release from dividebysandwich/rust-dos.