Skip to content

Releases

B282: Creamy Mami shows all its text (IMUL after a full-width shift)

Choose a tag to compare

@Elrinth Elrinth released this 14 Nov 23:35

Mahou no Tenshi Creamy Mami: Futatsu no Sekai no Monogatari shows all of its text again.

  • PC98_Z486_90_B282_20261114.rbf: CPU at 90 MHz like B256-B281. If your MiSTer needs the 75 MHz build, B279's PC98_Z486_75_B279_20261105.rbf is still on the B279 release.

Changes:

  • CPU: IMUL after a full-width shift. The z486 barrel shifter keeps a flag for SHL/SHR/SAR by a count at least as wide as the operand (for example SHR AL,CL with CL=8, which gives 0). One of its count loads (LDBSRM, used by IMUL's final step) did not clear that flag, so the next IMUL reg,reg/mem,imm or IMUL reg,reg/mem returned 0. The game's text routine ends with such a shift and its script interpreter uses IMUL to find the next line, so the line after every text line was lost. Pages flashed past, and new text was drawn over old text. The intro's timed waits were skipped too. Any other program that does a full-width 8- or 16-bit shift and later an IMUL is affected the same way. New simulation test tests/run-z486-imul-shift.sh. The CPU fuzzer now generates these shifts and catches the bug against the reference.
  • Build: B281's placement with one logic cell changed (Chip Planner ECO, scripts/eco-b282-ldbsrm-overflow.tcl), so timing is identical to B281.
  • SD bundle: carries Open BIOS 2026-11-07.

Tested on a MiSTer with Open BIOS 2026-11-07: Creamy Mami (every text page complete, as in NP2kai), Yesterday, Thexder, Yuugiri with MPU MIDI off, Diable de Laplace (main menu), Night Slave, the Star Cruiser II logo placement check, QUALIFY, FDVRAM, GDCSYNC and TVRAMW, five Windows 95 boots and the floppy hot-insert check, Tenbu Sangokushi Seishi, Bomber Quest, Star Cruiser, Genesis, Virgin Dream, Sayonara no Mukougawa, V.R. Date May Club and Wedding Errantry (HDIs), and Ultima VIII's intro to the name prompt.

B281: Yesterday gets past its logo (VSYNC interrupt)

Choose a tag to compare

@Elrinth Elrinth released this 11 Nov 12:59

Yesterday (System House Oh!, 1990) no longer goes black after its logo.

  • PC98_Z486_90_B281_20261111.rbf: CPU at 90 MHz like B256-B280. If your MiSTer needs the 75 MHz build, B279's PC98_Z486_75_B279_20261105.rbf stays on the B279 release.

Changes:

  • VSYNC interrupt (IRQ2). A vertical retrace that came while a program had IRQ2 masked stayed latched in the interrupt controller and fired the moment the program unmasked IRQ2. Yesterday unmasks IRQ2 and arms the VSYNC interrupt (port 64h) before it sets its INT 0Ah vector, so that stale interrupt jumped to address 0000:0000 and the screen stayed black after the YESTERDAY logo. Now a VSYNC request the CPU has not taken by the end of its retrace is withdrawn and raised again at the next retrace, as in NP2kai. New simulation test tests/run-vsync-pic.sh (Yesterday's sequence through the interrupt controller, the old behaviour as a negative control); tests/run-vsync-irq.sh gets a retry case.
  • Test benches: the MiSTer disk, IDE and MPU interface benches (tests/run-disk-interface.sh) pass again. They still expected the NVRAM image slot (removed in B266) and the HDM/FDI floppy converter (removed in B257), and did not set the MT32-pi option bit (B260). No hardware change.
  • SD bundle: carries Open BIOS 2026-11-07 (Five Gals Connection).

Tested on a MiSTer with Open BIOS 2026-11-07: Yesterday reaches its game screen (black after the logo on B280), Thexder, Yuugiri with MPU MIDI off, Diable de Laplace (main menu), Night Slave, the Star Cruiser II logo placement check, QUALIFY, FDVRAM, GDCSYNC and TVRAMW, five Windows 95 boots and the floppy hot-insert check, Tenbu Sangokushi Seishi, Bomber Quest, Star Cruiser, Genesis, Virgin Dream, Sayonara no Mukougawa, V.R. Date May Club and Wedding Errantry (HDIs, both floppy drives empty), and Ultima VIII's intro to the name prompt.

Build: seed 3, worst fast-corner setup margin +0.582 ns. Seeds 2 and 4 of the same code failed Windows 95 on hardware and were not used.

B280: Yuugiri with MPU MIDI off; Open BIOS 2026-11-05 (Diable de Laplace)

Choose a tag to compare

@Elrinth Elrinth released this 06 Nov 00:11

Yuugiri starts with MPU MIDI off, and with Open BIOS 2026-11-05 (in the SD bundle) Diable de Laplace gets past its title.

  • PC98_Z486_90_B280_20261105.rbf: CPU at 90 MHz like B256-B279. If your MiSTer needs the 75 MHz build, B279's PC98_Z486_75_B279_20261105.rbf stays on the B279 release.

Changes:

  • RS-232C transmitter. The serial controller's transmit and receive clocks were tied off, so the first byte a program sent never left and the controller never reported ready again. Yuugiri's MIDI driver (HMM) uses the RS-232C when there is no MPU board and waits for the controller after every byte, so with MPU MIDI off (the default) the game hung right after the sound driver's messages. The controller now runs from channel 2 of the interval timer, as on NEC machines, and its interrupt is enabled per source through system port C. New simulation test: tests/run-usart-tx.sh (the old wiring as a negative control).
  • Port 09A8h reads back the PC-9821 31 kHz latch instead of the open bus. Open BIOS releases before 2026-10-31 read it for INT 18h AH=31h, and Battle Skin Panic 9821 switched to 31 kHz. tests/hardware/p9a8_98.asm checks it on a MiSTer.
  • Open BIOS 2026-11-05 (in the SD bundle): interrupts during floppy reads run on the program's own stack again, as under NEC's BIOS. Diable de Laplace filled the screen with a dither pattern after its title.
  • Hard disks and floppies: since Open BIOS 2026-11-03 a floppy in a drive boots before the hard disk, as with NEC's BIOS. To boot an HDI, leave both floppy drives empty.

Tested on a MiSTer with Open BIOS 2026-11-03.1: QUALIFY, FDVRAM, GDCSYNC and TVRAMW, five Windows 95 boots and the floppy hot-insert check, the Star Cruiser II logo placement check, Night Slave, Genesis, Ultima VIII, Virgin Dream, Sayonara no Mukougawa, V.R. Date May Club and Wedding Errantry (HDIs, both floppy drives empty), Tenbu Sangokushi Seishi, Bomber Quest and Star Cruiser. With Open BIOS 2026-11-05: QUALIFY, five Windows 95 boots and the floppy check, Night Slave, Metal Orange and Diable de Laplace (main menu). Yuugiri with all-default settings (MPU MIDI off) plays into its story with both BIOSes. P9A8.COM reads port 09A8h back on B280 and fails on B279.

B279: Genesis loads from floppy; 75 MHz RBF for boards that fail at 90 MHz

Choose a tag to compare

@Elrinth Elrinth released this 05 Nov 06:12

Genesis loads from its floppy, and this release has two RBFs: if B277 or B278 hangs or garbles games on your MiSTer, try the 75 MHz one.

  • PC98_Z486_90_B279_20261105.rbf: the normal build, CPU at 90 MHz like B256-B278. The SD bundle carries this one.
  • PC98_Z486_75_B279_20261105.rbf: the same logic with the CPU at 75 MHz, 17% slower, with more timing margin than any 90 MHz build (in Quartus's timing models its slowest path has 0.6-0.8 ns more slack than in the 90 MHz build and in B272 at the fast corner, 1.9 ns more at the slow corner). At 90 MHz the FPGA has almost no margin left, so a placement can run on one MiSTer and fail on another (B267 garbled Night Slave on a tester's board only; six of the seven B277 placements we tried failed on our own MiSTer). If this RBF runs games that hang on the 90 MHz builds for you, please report it.

Changes:

  • Floppy tracks longer than one turn. Genesis (Square, 1985) has copy-protected cylinders whose sectors, laid out from the D88, take 11,984 bytes, while one turn of a 2HD disk holds 10,416. The disk emulator cut every track at one turn, so the loader's read of sector 13 failed and the game stopped at "E:". The emulated disk now turns on to the last sector of such a track; other tracks are unchanged. New simulation test: long in tests/run-fdc-d88.sh (Genesis's track layout, with the old logic as a negative control).
  • Area-optimised fitting. Quartus now fits the core for area instead of speed, which frees about 1,700 ALMs, so B278's logic and this fix fit a full placement again (B278 was an ECO on B277's placement).
  • Hard disks and floppies: since Open BIOS 2026-11-03 (in the B277 and later bundles) a floppy in a drive boots before the hard disk, as with NEC's BIOS. To boot an HDI, leave both floppy drives empty.

Tested on a MiSTer, both RBFs: QUALIFY, FDVRAM, GDCSYNC and TVRAMW, five Windows 95 boots and the floppy hot-insert check, the Star Cruiser II logo placement check, Night Slave, Genesis to MAKE CHARACTER, Ultima VIII's intro to the name book, Virgin Dream, Sayonara no Mukougawa, V.R. Date May Club and Wedding Errantry (HDIs, both floppy drives empty), Tenbu Sangokushi Seishi, Bomber Quest and Star Cruiser.

B278: Ultima VIII speech (PCM interrupt after a short refill)

Choose a tag to compare

@Elrinth Elrinth released this 03 Nov 23:16

Ultima VIII's intro no longer stops after the first spoken line.

  • PCM interrupt after a refill that stays below the threshold. The PC-9801-86 board's PCM interrupt came only when the FIFO level fell from above the threshold or when playback was switched on. A program that keeps playing and tops the FIFO up to less than the threshold never got its next interrupt. Ultima VIII starts every speech sample that way (a FIFO reset, then 256 bytes against a 768-byte threshold) and plays the rest from the interrupt, so its intro stopped on the Guardian's hand. As in NP2kai, data written to the FIFO now also arms an interrupt that comes once the writing has stopped, if the level is at or below the threshold. Windows 95 and Policenauts refill above the threshold and still get one interrupt per refill.

New simulation test: tests/pcm86_u8_tb.sv replays Ultima VIII's port sequence from NP2kai (in tests/run-pcm86.sh, with a negative control).

A new full placement of the core no longer fits the FPGA, so B278 is B277's placement with eight cells added (scripts/eco-b278-pcm-refill.tcl). Timing is unchanged.

Tested on a MiSTer: QUALIFY, FDVRAM, GDCSYNC and TVRAMW, five Windows 95 boots with the floppy hot insert, the Star Cruiser II logo check, Night Slave; Tenbu Sangokushi Seishi, Bomber Quest and Star Cruiser as in B277; Ultima VIII (English translation) plays its intro to the PAGAN title, and the game starts after the name book.

Open BIOS 2026-11-03.1 starts a boot floppy on NEC's boot stack, so Dinosaur gets past its loader. The SD bundle attached to this release includes it.

B277: six game fixes (Tenbu Sangokushi Seishi, Star Cruiser, Eye of the Beholder and more)

Choose a tag to compare

@Elrinth Elrinth released this 03 Nov 15:19

Six fixes found while testing the games on pc98.thefirstboss.com against NP2kai.

  • Floppy writes from graphics memory. A game that writes a floppy straight out of graphics VRAM got every even byte twice on the disk. Eye of the Beholder makes its save disk this way: the save disk was unreadable ("open err !b:TEXT.BIN") and the game could not start. The save disk is now written correctly and the game starts.
  • The graphics GDC's SYNC command switches the display. Like a real uPD7220 (and NP2kai), SYNC 0Fh now turns the graphics display on and 0Eh off; the core only obeyed START/BCTRL. Libros de Chilam Balam turns its graphics on with SYNC, so the screen stayed black after loading. The opening now plays.
  • Text attribute memory keeps the upper byte of each word. Like NP2kai, the attribute area (A2000h-A3FFFh) now keeps every byte written instead of reading the odd bytes back as FFh. Ningyou Tsukai 2 uses text memory as a picture buffer, and its story scenes were covered with coloured characters.
  • A seek to the cylinder the head is already on takes a step tick. The floppy controller ended such a SEEK in the cycle after the command, so its interrupt arrived before the game was ready for it. Star Cruiser's own floppy driver then waited forever and the screen stayed black after the loader. It now loads, and the game reaches the cockpit.
  • Text smooth scroll. The text CRTC's scroll registers (ports 76h, 78h, 7Ah) were missing. Tenbu Sangokushi Seishi positions its mouse pointer with them, so the pointer was drawn up to 15 lines below where the game reads it and clicks missed the buttons; its difficulty dialog never answered. The pointer now sits on its hot spot.
  • Kanji codes with a second byte below 20h drew a glyph from the previous row instead of an empty cell. Bomber Quest's English menus ended every line in a row of stray kanji.

New hardware tests: FDVRAM.COM, GDCSYNC.COM and TVRAMW.COM (tests/hardware/); simulation tests tests/run-headseek-zero.sh and tests/run-text-scroll.sh.

Tested on a MiSTer: QUALIFY, FDVRAM, GDCSYNC and TVRAMW, five Windows 95 boots with the floppy hot insert, the Star Cruiser II logo check, Night Slave; Tenbu Sangokushi Seishi's difficulty dialog answers, Bomber Quest's menus are clean, Star Cruiser reaches its cockpit.

Open BIOS 2026-11-03, released together with this core, gets Sorcerian past its loader and boots a game's own boot floppy before a mounted hard disk. The SD bundle attached to this release includes it.

B272: mt32-pi music audible without the MiSTer I2C link

Choose a tag to compare

@Elrinth Elrinth released this 02 Nov 08:59

mt32-pi: its music is now heard even without the MiSTer I2C link.

  • The problem: with an mt32-pi on the USER port, games played no audible MIDI music on this core, while the same mt32-pi works with ao486.
  • Why: the core mixed the mt32-pi's audio into its output only after the mt32-pi had identified itself over I2C, which it does only with mister = on in mt32-pi.cfg. ao486 mixes it whenever the mt32-pi is not muted.
  • The fix: the mt32-pi's audio is now mixed whenever MT32-pi → USER port: MT32-pi is selected.

To use an mt32-pi, set both of these (both are off by default, unlike in ao486):

  1. Audio & Video → MPU MIDI: UART turns the MPU-PC98II MIDI interface on. With Off, games don't see it and fall back to FM.
  2. MT32-pi → USER port: MT32-pi sends the MIDI to the mt32-pi and mixes its sound in. SNAC pads don't work while this is set.

In the game's setup, choose MIDI (MPU-PC98 / MPU-PC98II). With mister = on in mt32-pi.cfg, the MT32-pi page's Synth, Munt ROM and SoundFont choices also reach the mt32-pi: use Munt for games set to MT-32 and FluidSynth with a GS SoundFont for games set to GS. We have not tested this with a real mt32-pi yet, so reports are welcome.

Same placement as B271. The release bitstream is B271's FPGA placement with one logic cell changed. Every other cell works exactly as in B271 (checked across the whole netlist), and timing is unchanged.

Passes QUALIFY, boots Windows 95 5/5, opens a floppy disk under Windows 95, and shows Night Slave's mission start cleanly.

Use with Open BIOS 2026-11-01; the SD bundle below includes it.

B271: fast BIOS calls (Elvira, Tokimeki Bishoujo)

Choose a tag to compare

@Elrinth Elrinth released this 02 Nov 07:51

BIOS calls are much faster: the CPU now caches BIOS code.

  • The problem: Elvira's bottom panel flickered light blue, and Tokimeki Bishoujo seemed to stop after its ANSWER logo.
  • Why: BIOS code ran without the CPU's instruction cache, at about 0.7 µs per instruction. Elvira reads the clock through the BIOS about 38 times per frame, each time with interrupts off for about 400 µs, so timer ticks were lost and the panel's palette switch landed late. Tokimeki's drawing calls took about three minutes to reach the title.
  • The fix: the instruction cache now covers the BIOS area. Tokimeki shows its title after 30–45 seconds, and Elvira's panel switch lands on the right line in every frame.

Same placement as B270. The release bitstream is B270's FPGA placement with one logic cell changed. Every other cell works exactly as in B270 (checked across the whole netlist), and timing is unchanged.

Passes QUALIFY, boots Windows 95 5/5, opens a floppy disk under Windows 95, loads 10 times in a row, and shows Night Slave's mission start and Star Cruiser II's logo cleanly.

Use with Open BIOS 2026-11-01; the SD bundle below includes it.

B270: no doubled lines with the GDC at 5 MHz

Choose a tag to compare

@Elrinth Elrinth released this 01 Nov 02:02

Planar graphics with the GDC at 5 MHz no longer show doubled lines.

  • The problem: with the graphics chip (GDC) at 5 MHz, 16-colour screens showed every other line, squashed, with a shifted copy below. Battle Skin Panic 9821's GAINAX logo and Windows 95 under a 5 MHz GDC were affected.
  • Why: at 5 MHz the GDC pitch counts each line twice (Windows 95 sets pitch 80 for a 640-dot line), but the core moved down the full pitch for every line.
  • The fix: at 5 MHz a line now advances by half the pitch, as NP2kai does.

Same placement as B269. The release bitstream is B269's FPGA placement with eight logic cells added for the fix. Every other cell works exactly as in B269 (checked across the whole netlist), and timing is unchanged.

Passes QUALIFY, boots Windows 95 5/5, opens a floppy disk under Windows 95, and shows Zavas II's menu, Night Slave's mission start and Star Cruiser II's logo cleanly.

Use with Open BIOS 2026-10-31; the SD bundle below includes it. Battle Skin Panic 9821 also needs DIP switch 2-8 set to GDC 5 MHz.

B269: Zavas II menu text no longer doubled

Choose a tag to compare

@Elrinth Elrinth released this 30 Oct 15:29

Zavas II menu text is no longer doubled.

  • The problem: Zavas II showed every menu glyph twice ("ZZAAVVAASS"), and its Japanese text came out wrong.
  • Why: the game reads its font through the CG ports and sets bit 7 of port A3h. The core treated that bit as the "right half" mark used for text VRAM, so it returned the right half of each character twice.
  • The fix: Kanji reads through the CG ports and CG window now ignore that bit, as NP2kai does.

Same placement as B268. The release bitstream is B268's FPGA placement with only that one logic cell changed, so its timing is identical to B268. New 90 MHz placements of the fix all failed Windows 95 on the reference board.

Passes QUALIFY, boots Windows 95 5/5, opens a floppy disk under Windows 95, and shows Zavas II's menu and Night Slave's mission start cleanly.

Use with Open BIOS 2026-10-18.2; the SD bundle below includes it.