crazii wrote on Yesterday, 01:55:
LSS10999 wrote on Yesterday, 01:34:
crazii wrote on 2026-06-12, 17:01:
EDIT: I think most PM games don't use VDS, but needs to check. Did duke3d have SFX on the last build (SBEMU_VDPMI_04.zip)? now it only init sound successfully with /PVI=0? There could be another bug between the #04 and 05 zip, that prevents the PM games using DMA.
I don't recall there's a SBEMU_VDPMI_04 build in this thread... the one I initially used was this one which was the latest at that time.
AFAIK DUKE3D did not have any issue with it. Sound worked fine there. The stutter I experienced was due to other reasons (namely sound quality settings).
OK. SBEMU_VDPMI_04 was posted on github only. can you test the the SBEMU_VDPMI_03 to see if it has sounds for other pm games? except terrafire/stargunner which will crash for sure. if it works for the sb DMA, then there should be some weird changes affecting the result.
BTW the PVI should be effective, it is a simple flag that set/reset the PVI big of CR4, as I tested and also tested by Yacko83, the duke3d setup's obvious one-time stutter is gone with /PVI=0 and with SBEMU.
Did some detailed tests (both MS-DOS and FreeDOS) and discovered something. I've edited the previous report to reflect this.
(EDIT: The previous 03 build behaves the same way with the updated 05 build, in places that didn't crash back then.)
If I run Terminal Velocity or DUKE3D right after boot, both games will work fine. /PVI has little to do with it.
However, if AstroFire/TerraFire or other similar protected mode games have been run before (and without sound there), then audio is broken for pretty much everything protected-mode.
- Terminal Velocity will only play sound for a brief moment before going silent.
- DUKE3D (1.3d) fails to init the sound card complaining about IRQ. I previously tested with EDUKE which simply reported error when initializing sound card without further explanation.
So I suspect these protected mode games may have modified something regarding system IRQ in a way that left the system in a broken state, while DUKE3D and Terminal Velocity behaved correctly.
Since Terminal Velocity can output sound for a bit, I think DMA is still fine. It's the IRQ that was broken. Optionally, IRQ-related tests in SBDIAG all fail in this condition.
And there's another issue with VDPMI, regarding Tyrian 2000.
- In SETUP, keyboard feels very, very sluggish.
- The game can start and show the XSIV Games logo, but keyboard no longer responds at all. The game probably did not hang, though.
(PS: I used a modded EDID dongle to force everything including DOS to 144Hz, and I do recall Tyrian 2000 behaves negatively with unusual refresh rates regarding music playback but the game itself works fine even using the hidden "Wild" detail mode.)