DOS32AWE - RAM wavetable MIDI possible for PM games under DOS (Announce)
> I found a potential problem with hdpmi: is usually uses IRETD when control
> is given to the client (switching from PL0 to PL3). That works fine,
> usually, but may be a problem with NMIs, because IRET(D) - according to the
> x86 docs - allows another NMI to be triggered. So it might be necessary to
> implement an IRETD-free path for NMIs ...
Turned out that this is not a problem...1)
But there is a very low-level issue, though, related to port 0x61. Because of this, DOS32AWE patches the installed AWEUTIL TSR, and AWEMIDI has to patch it as well. This makes it run stable - but in v86 mode only, so Jemm is required.
Updated both HDPMI source and AWEMIDI
The patched AWEUTIL version is 1.35.
-----------------
1): Well, it actually is a problem. AWEUTIL acknowledges the NMI by toggling bit 3 of port 61h. Once that is done, the next IRET - which is the first after the NMI has occured - will reactivate NMIs. That's what happens in real-mode. In v86-mode - or, more generally, in protected-mode - this strategy cannot work, because quite a few IRETs had already happened before the AWEUTIL code is finally reached.
To make AWEUTIL work in v86- and protected-mode, it has to be made reentrant, at least the (tiny) part between the acknowledgement and the IRET.
---
MS-DOS forever!
Complete thread:
- DOS32AWE - RAM wavetable MIDI possible for PM games under DOS - RayeR, 13.01.2026, 16:43
![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