Repository navigation
Releases
OpenBIOS 2026-11-07 - Five Gals Connection (BASIC file buffers, ERASE, PUT @ KANJI)
Five Gals Connection runs on the built-in BASIC: the right number of file buffers, ERASE and kanji graphics text.
- Out of memory after the title. BASIC kept four 256-byte file buffers below CLEAR's memory limit. NEC's BASIC keeps as many as the disk asks for (byte 1 of the disk's ID sector, which the disk module returns when it initialises the drives). Five Gals Connection asks for one, sets
CLEAR ,&H3000and makes a 5001-element array, so the extra buffers left it out of memory: it showed its text title and then looped on a black screen. File numbers above the disk's count now give Bad file number, as on NEC. Hokuto no Ken asks for 0 files, The Black Onyx 2 and Asteka 3, and only use file #1. ERASEremoves arrays and moves the arrays after them down. Five Gals erases and re-dimensions three arrays every round and fell back to its title without it.PUT @(x,y),KANJI(code)with optional mode and colours draws a character into graphics (Five Gals' GAME OVER and stage texts).
PLAY is not supported yet; Five Gals skips it, so it runs without music.
All twelve BIOS regression suites pass, including new BASIC checks for ERASE, PUT @ KANJI and Five Gals Connection (from its NFD image), which fail on 2026-11-05. Verified on MiSTer with core B280: Five Gals Connection (title, a round, game over screen).
Use with core B228 or newer; the latest core is recommended. Unzip and copy boot.rom to /media/fat/games/PC98/boot.rom, or to your games/<setname>/ folder when an MGL sets one. Then reload the core.
OpenBIOS 2026-11-05 - Diable de Laplace (interrupts on the caller's stack)
Diable de Laplace gets past its title: interrupts during floppy reads run on the program's own stack again.
- Diable de Laplace filled the screen with a dither pattern after its title. The disk BIOS runs its requests on a private stack (since 2026-10-02, for Metal Orange's boot loader), and the timer, sound and VSYNC interrupts that arrived while it waited for the floppy controller ran on that stack too. NEC's BIOS never leaves the program's stack, and Laplace's timer handler reads its jump targets through the stack segment, so it jumped into data. The waits now move to the program's own stack, and a request takes no interrupts anywhere else. Laplace reaches its main menu; Metal Orange still starts.
- RS-232C transmit interrupts are off at power-on (system port C bits 1-2), as NEC's BIOS leaves them. Core B280 clocks the serial controller from the interval timer, and its idle transmitter would otherwise raise an interrupt for any program that unmasks it.
All twelve BIOS regression suites pass, including a new test that chains probes in front of the floppy and VSYNC interrupts and checks the stack they find. Verified on MiSTer with cores B279 and B280: Diable de Laplace (main menu), Metal Orange (intro, gameplay), Sorcerian, Dinosaur, Faladia and Star Cruiser; QUALIFY, five Windows 95 boots and the floppy hot-insert check.
Use with core B228 or newer; the latest core is recommended. Unzip and copy boot.rom to /media/fat/games/PC98/boot.rom, or to your games/<setname>/ folder when an MGL sets one. Then reload the core.
OpenBIOS 2026-11-03.1 - Dinosaur (floppy boot stack)
Floppy games whose loader reads its first file low in memory start again.
- Dinosaur stayed black after its loader. The BIOS started a floppy's boot sector on its own stack just below 7C00h, where boot loaders put their programs. Dinosaur's loader read its first file over that stack, and the return from its own disk BIOS call went to address 0. A boot sector now starts on NEC's boot stack, SS:SP = 0030:00FA, just below the BIOS work area, as measured with NEC's BIOS in NP2kai. Dinosaur reaches its title and opening.
All eleven BIOS regression suites pass, including a new test with a boot sector that records the stack it was started on. Verified on MiSTer with core B277: Dinosaur (title, opening); Star Cruiser, Crystal Quest, Burning Dragon and Hercequary's floppy set behave as with 2026-11-03.
Use with core B228 or newer; the latest core is recommended. Unzip and copy boot.rom to /media/fat/games/PC98/boot.rom, or to your games/<setname>/ folder when an MGL sets one. Then reload the core.
OpenBIOS 2026-11-03 - Sorcerian, boot floppies before a hard disk
Games with their own floppy interrupt handler load again, and a game's boot floppy now starts before a mounted hard disk.
- Sorcerian stopped black after its loader. It installs its own NEC-style floppy interrupt handler, which collects the controller's result bytes into the BIOS work area itself. INT 1Bh then waited for results the controller no longer had. It now takes them (and a seek's ST0/PCN) from the work area when the game's handler has already collected them. Sorcerian reaches its title and main menu.
- No BIOS line over game screens. The text screen is cleared before every boot attempt, as on NEC machines; Sorcerian showed "Open PC-98 BIOS (Zet98-486)" over its graphics.
- Boot floppies before the hard disk. With a hard disk mounted, a game's own boot disk was never used, because the BIOS offered the hard disk first. As on NEC machines, a bootable floppy now starts first: games installed to a hard disk (Lunatic Dawn, Trouble Outsiders and others) come with such a disk. Empty floppy drives answer at once, so a hard disk alone boots as before.
All ten BIOS regression suites pass, including new tests for a NEC-style floppy handler, the cleared screen and the boot order. Verified on MiSTer: Sorcerian (title, main menu), Lunatic Dawn and Trouble Outsiders from their boot disks with the hard disk mounted, a hard disk alone (prompt in 8 s), QUALIFY, Windows 95 5/5 with the floppy hot insert, Night Slave.
Use with core B228 or newer; the latest core is recommended. Unzip and copy boot.rom to /media/fat/games/PC98/boot.rom, or to your games/<setname>/ folder when an MGL sets one. Then reload the core.
OpenBIOS 2026-11-01 - LIO survives VEM486 /U (Sex 2, Tokimeki Bishoujo)
Games on ready-made VEM486 hard disks no longer crash on their first LIO graphics call.
- What happened: the ready-made hard disk of Sex 2 stopped with VEM486's "一般保護エラー (int 0dh)" (general protection error) right after the mouse driver line, and Tokimeki Bishoujo hung at the same point. Both disks load
VEM486.EXE /U, which maps E8000h-F3FFFh as upper memory without checking what is there. The LIO graphics code (INT A0h-AFh) lived in that range, so the first LIO call jumped into plain RAM. - Fix: LIO now lives in the F800h bank, behind its F990h directory. N88-BASIC graphics use it as before.
Tokimeki Bishoujo now gets past that point and shows its logo, but it still stops before the title. That is a separate problem and is being investigated.
All nine BIOS regression suites pass, plus a new test that overwrites E8000h-F3FFFh and calls LIO the way POST and MS-DOS set it up (the 2026-10-31 release fails it). Verified on MiSTer with core B270: Sex 2 (unchanged disk: sound selection, title, name entry), Tokimeki Bishoujo (logo), Asteka (N88-BASIC graphics), QUALIFY, Windows 95 5/5 with the floppy open, Night Slave.
Use with core B228 or newer; B270 is recommended. Unzip and copy boot.rom to /media/fat/games/PC98/boot.rom, or to your games/<setname>/ folder when an MGL sets one. Then reload the core.
OpenBIOS 2026-10-31 - Battle Skin Panic 9821 (PC-9821 256-colour modes)
Battle Skin Panic 9821 runs. Its 640x400 256-colour screens no longer go black after the GAINAX logo.
- 31 kHz mix-up: INT 18h AH=31h read the current scan rate from port 09A8h, which the core latches but does not answer yet. It reported 31 kHz, so the game set every screen to 31 kHz (a black 480-line picture). AH=31h now returns the rate AH=30h last selected.
- 256 colours turned off again: AH=30h keeps the 256-colour mode at 640x400 only with the 5 MHz graphics layout, and this BIOS never selected it. AH=30h now uses that layout when DIP 2-8 allows 5 MHz.
- Blank graphics after a mode change: AH=30h and AH=4Ah switched the graphics display off; they now leave it as it was.
Setting: 256-colour PC-9821 games like this one need the core's DIP 2-8 (GDC clock) at 5 MHz. Night Slave needs 2.5 MHz, so use a separate settings set (MGL setname) per game.
All nine BIOS regression suites pass, plus new tests for these calls. Verified on MiSTer with core B269: Battle Skin Panic 9821 (title, name entry, opening), QUALIFY, Windows 95 5/5 with the floppy open, Night Slave.
Use with core B228 or newer; B269 is recommended. Unzip and copy boot.rom to /media/fat/games/PC98/boot.rom, or to your games/<setname>/ folder when an MGL sets one. Then reload the core.
OpenBIOS 2026-10-18.2 - Font fitted to real PC-98 text metrics
Text looks much more like a real PC-98. The free font's half-width characters (the ones DOS and most programs print) were 1-2 pixel rows taller than a real PC-98's, so text looked bigger and heavier. They are now fitted to character dimensions measured on screenshots of real PC-98 text screens: capitals and digits use rows 3-13, lowercase rows 6-13, descenders reach row 15. The zero is slashed. Each character keeps the free font's own shape.
Clean room: fontspec/ holds only facts measured from observation (per-character bounding boxes, no bitmaps), plus the rules: no NEC font data, observation only, dimensions not shapes, free sources for every pixel. tools/measure_metrics.py and tools/fontmetrics.py reproduce the result.
Includes 2026-10-18.1 (NEC-aligned half-width glyphs, cleaner text in games like Gate of Souls; tools/own_font.py) and 2026-10-18 (empty floppy drives report Not Ready). All nine BIOS regression suites pass.
Verified on MiSTer with core B256: DOS text, the games menu, Gate of Souls.
Use with core B228 or newer; B256 is recommended. Unzip and copy boot.rom to /media/fat/games/PC98/boot.rom, or to your games/<setname>/ folder when an MGL sets one. Then reload the core.
OpenBIOS 2026-10-18.1 - NEC-aligned free font (cleaner text)
Cleaner text with the free font. NEC's half-width characters leave the leftmost pixel column blank and draw in columns 1-7. The free font started its letters in column 0. Games that thicken or shift glyph bits therefore drew dotted traces next to letters, for example Gate of Souls' New Game / Data Load buttons and its place names. The printable half-width characters (ASCII and half-width kana, in the 8x16 set and the 2-byte half-width rows) now follow NEC's alignment. Gate of Souls' menu now renders like it does with an original font.
Your own font: if you own a PC-98 and dumped its font, tools/own_font.py writes a boot.rom with this BIOS and your font, for your own use (see docs/FONT.md). Never share a boot.rom that contains NEC's font.
Includes 2026-10-18 (empty floppy drives report Not Ready; Gate of Souls New Game). All nine BIOS regression suites pass.
Verified on MiSTer with core B256: Gate of Souls title and story, DOS text.
Use with core B228 or newer; B256 is recommended. Unzip and copy boot.rom to /media/fat/games/PC98/boot.rom, or to your games/<setname>/ folder when an MGL sets one. Then reload the core.
OpenBIOS 2026-10-18 - Empty floppy drives report Not Ready (Gate of Souls)
Empty floppy drives report Not Ready again. Since core B228 the FDC control port's FRY bit (94h/CCh bit 6) forces READY, as in NP2kai and MAME, but the BIOS still wrote 48h and so set it. INT 1Bh sense on an empty drive therefore answered "2HD ready" (01h) instead of 60h.
Gate of Souls (Tamashii no Mon) checks floppy drive 0 at New Game. It saw a ready drive, read it through DOS, and stopped at a hidden "Abort, Retry, Fail" prompt on a black screen. With this BIOS, New Game goes straight into the story, as in NP2kai.
- The BIOS now writes 08h (motor on, FRY clear) in INT 1Bh and POST.
- The test model now follows the core's FRY behaviour. A new test, "sense on an empty drive returns 60h", fails with the old BIOS.
- All nine BIOS regression suites pass.
Verified on MiSTer with core B256 (90 MHz):
- Gate of Souls New Game.
- QUALIFY.
- Windows 95 desktop, two boots.
- Floppy boots: Black Onyx (with save disk), Hokuto no Ken, Totsugeki Bakkon Street, Madou Monogatari 1, Asteka, CD-boot floppy.
Use with core B228 or newer; B256 is recommended. Unzip and copy boot.rom to /media/fat/games/PC98/boot.rom, or to your games/<setname>/ folder when an MGL sets one. Then reload the core.
OpenBIOS 2026-10-08 - Rebuild paired with B248
OpenBIOS 2026-10-08 is freshly assembled from the existing firmware and freely licensed font, paired with the recommended 75 MHz core B248. Firmware functionality is unchanged from 2026-10-07; the native NEC BIOS compatibility fixes are in the core. NASM 2.16.03 emits equivalent register-register XCHG encodings, so this rebuilt ROM has a different hash.
All nine BIOS regression groups pass: POST, services, FDD BIOS, floppy media events, floppy boot, graphics, LIO, DOS boot and BASIC. The fresh ROM passes DOS CPU/string/memory/XMS/EGC qualification and Linux fault-restart checks with 100 normal process exits on the exact full-feature 75 MHz B248 bitstream.
Doom demo1 completes with plain HIMEM and sound/music/SFX disabled, returning normally to DOS: 11,520 gametics in 1,926 reported realtics (about 816.5 monitored seconds). These PC-98 counter values are not interpreted as absolute FPS.
The three supplied images were checked on the exact 75 MHz build with fresh OpenBIOS: Alone in the Dark 2 responds to menus and renders its opening 3D sequence; Cyberillusion accepts mouse selection of New Game, opens character/name registration and advances its help text; Toushin Toshi II boots its 256-byte-sector HDI directly and responds to Game Start, reaching the hint-mode choice. Player movement in Alone in the Dark 2, audio and complete playthroughs remain unqualified.
Back up /media/fat/games/PC98/boot.rom, replace it with this package's boot.rom, return to the menu and reload the core. OSD Reset alone does not reload ROM. The automated SD-card bundle includes both releases and the existing optional MIDI helpers. No NEC ROM, DOS, game data or soundfont is included.
Windows 95 setup on the exact recommended 75 MHz build reaches the graphical wizard, license, repair/directory preparation, Typical setup choice and OEM Certificate of Authenticity key screen. The disposable DOS image uses HIMEM, explicit TEMP/TMP=A:\TEMP and a 2,048-byte command environment, with original SETUP and cabinet files preserved. A user-supplied OEM product key is required to continue. Windows 95 is not yet installed/running as a desktop; DirectX has not been attempted.
To try your own original Ce2 or unknown-model PC-9821 BIOS, follow the core's converter and installation guide.
Source: ee18bfb1a5e775fd91338813a0b0ccebe16dd15a (documentation), firmware source 7b9c1fa4bd92d75d2d6a035e06ab7c10ae2d26a9.
boot.rom: 550,912 bytes, SHA-256 671acbafb4a7baf5ffb69d740ccfd4cf9dc94d840b2b7881a20bf595621fd4f2.