Skip to content

OpenBIOS 2026-11-05 - Diable de Laplace (interrupts on the caller's stack)

Choose a tag to compare

@Elrinth Elrinth released this 06 Nov 00:09
· 2 commits to main since this release

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.