DOS32AWE - RAM wavetable MIDI possible for PM games under DOS (Announce)
> I tried with HDPMI32 -r and HDPMI32I -r
Don't use HDPMI32i - it runs the clients with IOPL 0, and DOS4GW is NOT compatible with this mode ( SBEMU/VSBHDA use silent hacks to make if run nontheless ).
> No matter what memory manager loaded, tried with himem.sys, jemmex
> and without. But it ramdomly works with cwsdpmi -r and aweutil but not
> usable, sometimes it hangs at Doom start sometimes a bit later up to 10s
> after game start. Until it hangs it plays sfx and MIDI fine.
Very interesting behavior - I couldn't resist to analyse...
The first problem ( which is known and can easily be fixed ) is that DOS4GW is a bit paranoid - it intercepts all exceptions and interrupts and won't route them to real-mode without good reason.
The more severe issue is how AWEUTIL traps MIDI port access. AFAIU that port access triggers an "I/O channel parity error"-NMI ( whatever that is supposed to mean ). This NMI happens AFTER the port access, though, and, what's worse, it may happen in priviledge level 0 ( it an IRQ happened just after the port access instruction ).
This second issue is a problem for HDPMI - it skips NMIs that happen in priviledge level 0. That's bad, because a) AWEUTIL needs the full MIDI output stream and b) this NMI requires some kind of acknowledge - as it seems, bit 3 of port 61h has to be switchen on & off?
A small adjustment in hdpmi made DOOM run with AWEUTIL and MIDI - in real-mode only (that is, with himem.sys, without EMM); a few notes weren't rendered.
---
MS-DOS forever!
Complete thread:
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 13.01.2026, 16:43 (Announce)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 13.01.2026, 19:33
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 13.01.2026, 22:53
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 14.01.2026, 08:49
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 14.01.2026, 16:26
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 14.01.2026, 20:12
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 15.01.2026, 08:17
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 16.01.2026, 04:19
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 17.01.2026, 02:09
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Khusraw, 17.01.2026, 07:52
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 17.01.2026, 15:54
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 19.01.2026, 12:04
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 20.01.2026, 01:19
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 20.01.2026, 08:03
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 20.01.2026, 13:14
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 21.01.2026, 21:54
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 23.01.2026, 18:59
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 24.01.2026, 09:17
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 25.01.2026, 07:51
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 25.01.2026, 08:47
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 26.01.2026, 00:17
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 26.01.2026, 03:29
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 27.01.2026, 08:47
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 27.01.2026, 18:25
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 29.01.2026, 19:23
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 05.02.2026, 11:30
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 12.02.2026, 04:32
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 12.02.2026, 09:59
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 14.02.2026, 05:05
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 17.02.2026, 16:08
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 14.02.2026, 05:05
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 12.02.2026, 09:59
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 12.02.2026, 04:32
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 05.02.2026, 11:30
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 29.01.2026, 19:23
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 27.01.2026, 18:25
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 27.01.2026, 08:47
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 26.01.2026, 03:29
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 26.01.2026, 00:17
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 25.01.2026, 08:47
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 25.01.2026, 07:51
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 24.01.2026, 09:17
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 23.01.2026, 18:59
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 21.01.2026, 21:54
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 20.01.2026, 13:14
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 20.01.2026, 08:03
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 20.01.2026, 01:19
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Khusraw, 17.01.2026, 07:52
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 17.01.2026, 02:09
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 16.01.2026, 04:19
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 15.01.2026, 08:17
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 14.01.2026, 20:12
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 14.01.2026, 16:26
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 14.01.2026, 08:49
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 13.01.2026, 22:53
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - Japheth, 13.01.2026, 19:33
Mix view