Skip to content

OpenBIOS 2026-10-31 - Battle Skin Panic 9821 (PC-9821 256-colour modes)

Choose a tag to compare

@Elrinth Elrinth released this 31 Oct 21:55
· 12 commits to main since this release

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.