Blip fix only
Apply to DOOM.EXE (328,050 bytes). The music upgrade already contains this fix.
14 bytes · SHA-256 3b3aa64c0cfae27b509af58a8107e8ff69feeb41f8776dc7418e465864176e1e
Patches · Doom
Three patches for PC-98 Doom's DOOM.EXE (Imagineer, 1994, 328,050 bytes): a fix for the 86 board's sound blips, a PC-9801-86 music upgrade, and support for John Romero's SIGIL. They change different parts of the file, so they combine. Doom II has its own page: Doom II patches.
Patch files only. This site does not provide game executables, disk images or WAD files. Doom in the compatibility list
Which patches do I need?
DOOM.EXE, plus SIGIL98.WAD made from your SIGIL download.DOOM.EXE and one with any of the patches already applied.With an IPS tool, apply the music upgrade IPS and the SIGIL IPS in either order: the patches share no bytes, and every order ends with the same file (SHA-256 2716280cf42956eee82bf0824f6d2ca2ca60ba1f4a60cf181fbecaaf239ed0e5). SIGIL's music then plays with the upgrade's drums and bass too.
Release 02
With PC-9801-86 sound effects, Doom now and then plays a loud, high-pitched blip (about 5.5 kHz, a twentieth of a second). It comes from the game's own 86-board driver, not from the core: when its sound interrupt arrives while the previous one is still being serviced, the driver should send a block of silence, but a XOR EAX,80808080h where MOV EAX,80808080h was meant fills the block with whatever was left in EAX. NP2kai plays the same blips. The IPS changes that one byte (35h to B8h). Doom II has the same bug: its fix is on the Doom II page.
Apply to DOOM.EXE (328,050 bytes). The music upgrade already contains this fix.
14 bytes · SHA-256 3b3aa64c0cfae27b509af58a8107e8ff69feeb41f8776dc7418e465864176e1e
8B CA 35 80 80 80 80 C1 E9 02 F3 AB and change the 35 to B8. The pattern occurs once in the executable.Verified in NP2kai with a logged 86-board data stream: the unpatched game wrote three garbage blocks in 43 s of play, the patched one none in 2,275 blocks (about 106 s). Found while testing the PC98-486 core, which plays the same data.
Release 03
Makes the PC-9801-86 FM music sound like a PC-98 soundtrack. Doom's drums move from FM imitations to the YM2608's built-in rhythm samples (bass drum, snare, toms, hi-hat, cymbal, rim). A new four-operator bass with a dark sub-octave and a punchy attack, plus a small driver change, lets it sit level with the guitars. The IPS includes the sound blip fix above, so apply only this one.
Listen before you patch
Both recordings play at the same time, lined up to the sample. Flip between Before and After while it plays to hear the drums and bass change in place.
The player needs JavaScript.
Both recordings got exactly the same volume boost (+9.0 dB), so the difference in loudness is the patch's own: the patched music is 5.9 dB louder, which also makes it sound fuller. Tick Match loudness to compare the sound alone.
Rhythm-section drums, new bass for GM programs 32–35, bass level boost, blip fix. Apply to the original DOOM.EXE (328,050 bytes); the patcher also takes one that has the blip fix or SIGIL support.
247 bytes · SHA-256 1496cedf3e026154679aff0ea418385d74084e581459938ecddc4bcd3f372d06
SETUP.EXE and choose PC-9801-86 as the music device (in DEFAULT.CFG this is snd_musicdevice 3). Keep PC-9801-86 for sound effects.The game carries its own bank of native four-operator OPNA instruments. The patch replaces the bass entries, routes Doom's percussion channel to the rhythm section through a 77-byte routine placed in unused instrument slots, and adds a 35-byte hook to the driver's volume routine that raises the bass carriers by 5.25 dB. Nothing else in the bank changes; guitars and leads are original.
Tuned by ear on a MiSTer running the PC98-486 core and checked in NP2kai renders (no clipping in the bass parts).
Release 06
PC-98 Doom (Imagineer, 1994) is Infinity's port of Doom v1.2. SIGIL was made for Doom v1.9, and on the PC-98 version it stops the game with P_PlayerInSpecialSector: unknown special 17 the first time you walk into a fire-flicker light, a sector type Doom gained in v1.666. Many of its doors, lifts and switches use the Doom II line types that v1.2 ignores, its music is MIDI (v1.2 plays only MUS), and its texture list names a sky that only The Ultimate Doom has. Two steps fix it: an IPS for DOOM.EXE, and a converter that turns your SIGIL download into SIGIL98.WAD. SIGIL is free from John Romero's site; this site does not host it.
Patch DOOM.EXE (328,050 bytes) or your Doom hard-disk image in the patcher. It works on the original DOOM.EXE and on one that already has the blip fix or the music upgrade; the patches can be combined in any order. To get the music upgrade as well in one step, choose music upgrade + SIGIL support.
964 bytes · SHA-256 f38eebca02800c7b478312df7f8a4ada3848461e44165f2d59d1fc9d5594df5e
Drop SIGIL_v1_21.wad (or SIGIL_COMPAT_v1_21.wad). You get SIGIL98.WAD: SIGIL's nine maps as episode 3, its music as MUS, its title, help and intermission pictures. Everything happens on your computer; nothing is uploaded.
The same conversion as the browser (byte for byte), for Python 3 with no extra modules: python sigil98wad.py SIGIL_v1_21.wad SIGIL98.WAD
SHA-256 f3148795215ba8b6f7395e93d8590f6733dedbaa6d8352c5efca656e75d10670
SIGIL98.WAD into the Doom directory, next to DOOM.WAD.DOOM -FILE SIGIL98.WAD and press Enter at DOOM has been modified.DOOM -FILE SIGIL98.WAD -WARP 3 1 starts its first map directly.The converted music is for both of PC-98 Doom's music devices: the PC-9801-86 FM board (with or without the music upgrade) and General MIDI. Episodes 1 and 2 are unchanged; SIGIL's title and intermission music replace Doom's while it is loaded.
The converter puts SIGIL's maps in episode 3 (Doom v1.2 knows three episodes) with their names, music and episode title; converts the MIDI music to MUS; uses SIGIL's classic-height sky (SKY5_ZD) for episode 3 and adds the SKY4 patch SIGIL's texture list names; and leaves out the Doom v1.9 demos, DEHACKED and source-port lumps. Patch source: Doom_PC98_SIGIL_Support.asm (NASM).
The blip fix is one byte in the 86 board's sound-effects driver. The music upgrade changes that same byte, two jumps in the FM music driver, the instrument map, and free slots of the instrument bank: one for the new bass, five for its own code, which no instrument or drum points at. SIGIL support changes game code (line types, sector types, wall pieces, the E3M8 exit) and keeps its own code in the space of the startup messages. No byte is changed by both the music upgrade and SIGIL support, so they apply in either order with the same result. SIGIL's music uses only ordinary instruments, so the upgrade plays it with its drums and bass. The one loss: SIGIL's E3M5 music has nine vibraslap hits, and the rhythm section has no sound for them.
Tested in NP2kai (PC-9821, 86 board): the unpatched game stops with unknown special 17 when the player walks into E3M1's fire-flicker area; patched, it walks through, and E3M1 runs 26 fire-flicker lights. All nine maps load; the silent crushers and turbo stairs of the secret level, a switch-operated blazing door in E3M7, the title and the episode menu work, the game runs with FM and with General MIDI music (not yet checked by ear), and Doom's own demos play as before. On a MiSTer with the PC98-486 core (B280): SIGIL plays from the hard disk with FM music, and the secret level's opening view draws completely. Not yet played through from start to finish: please report how it runs.