A Wild Register Appears: Hunting the 30-Year-Old World of Xeen MT-32 Crash
Might & Magic IV and V (World of Xeen) crash when run with a Roland MT-32 sound module, both on original hardware and in emulators. The author investigated numerous hypotheses, including timing, interrupt reentrancy, and stack corruption, but none explained the issue. A ten‑byte patch to the game’s MT‑32 driver ultimately resolved the bug.
- ▪The game’s music and sound effects become corrupted, leading to freezes or crashes when the MT‑32 setting is used, while the Sound Blaster mode remains stable.
- ▪The problem was reproduced on multiple DOSBox variants and on genuine MT‑32 hardware, indicating a flaw in the game’s code rather than an emulator defect.
- ▪The author systematically tested theories such as MPU‑401 timing delays, interrupt re‑entrancy, and stack smashing, each of which proved false.
- ▪By dumping and comparing driver memory after a crash, the author pinpointed a specific code defect and fixed it with a ten‑byte patch.
Opening excerpt (first ~120 words) tap to expand
finalpatch A Wild Register Appears: Hunting the 30-Year-Old World of Xeen MT-32 Crash Might & Magic IV & V: World of Xeen freezes and corrupts itself when you play it with a Roland MT-32 — on emulators and on real hardware. Here’s the months-long hunt for the bug, and the ten bytes that fix it. The game that raised me Might & Magic IV: Clouds of Xeen and V: Darkside of Xeen — together “World of Xeen” — are core childhood memories for me. I spent countless afternoons mapping dungeons on graph paper and grinding my party through Castleview. Back then, almost nobody I knew had anything fancier than a Sound Blaster. The music was fine, but it wasn’t what the composers were hearing in the studio.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at finalpatch.