Repository navigation
B277: six game fixes (Tenbu Sangokushi Seishi, Star Cruiser, Eye of the Beholder and more)
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.