Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DOS32AWE - RAM wavetable MIDI possible for PM games under DOS (Announce)

posted by Japheth Homepage, Germany (South), 21.01.2026, 21:54

> Yes, NMI can be masked, sounds a good idea to mask it in critical parts of
> code. It should not fire too often to miss another one...

Finally I decided to just protect the mode switching code parts. If NMIs occure in PL0 they are just routed to real-/v86-mode, making sure that all global vars used in that path are saved & restored.

This approach did limit the necessary modifications to a minimum - the downside is that the host must not be reentered from real-/v86-mode while the NMI is handled there. No problem with AWEUTIL, since it does its works with interrupts disabled.

I did some tests. Configuration: jemmex, aweutil /EM, (modified) hdpmi32.

- the DOOM family (DOOM, DOOM2, MBF, HACX): works fine
- Duke3D and Blood: no problems
- Descent: exception 06 in v86-mode ...

The preliminary JemmEx v5.86 needed a fix, but the old v5.85 works ok.

My AWE32 has 2 MB RAM only, so the sound was worse than what vsbhda is able to render...

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
23153 Postings in 2179 Threads, 404 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum