# BIOS and firmware ## The maker's ROMs (never shipped) An MSX1 holds a 32 KB ROM: the BIOS (entry points from 0000h, documented in the TDB and TH2 appendix 1) and MSX-BASIC [TDB p. 10; TH2 fig. 1.5]. MSX2 adds a 16 KB sub-ROM (BIOS extensions, slot management, the new BASIC statements) [TH2 fig. 1.6], usually a disk ROM, and on Japanese machines Kanji ROMs and firmware. All are Microsoft/ASCII and maker copyright: **bring-your-own, identified by SHA-1, never fetched or committed** (charter, licences point 9). The board loads them from a directory the player names and refuses an image whose SHA-1 the machine row does not list. SHA-1s for the proposed first rows (MAME 0.285 `-listxml`; every ROM of all 264 MSX machines is present in `$MAME_ROMPATH` by SHA-1, census.md): | Row | MAME name | ROM | SHA-1 | | --- | --- | --- | --- | | National CF-2700 (MSX1, Japan; TMS9918A, AY-3-8910A) | `cf2700` | BIOS + BASIC | `c7a2c5baee6a9f0e1c6ee7d76944c0ab1886796c` | | Canon V-20 (MSX1, Japan; TMS9918A, YM2149) | `canonv20` | BIOS + BASIC (the same image as Hitachi MB-H1's) | `302afb5d8be26c758309ca3df611ae69cced2821` | | Sony HB-75P (MSX1, Europe; TMS9929A) | `hb75p` | BIOS + BASIC | `8963fc041975f31dc2ab1019cfdd4967999de53e` | | | | built-in notepad firmware | `b262aedc71b445303f84efe5e865cbb71fd7d952` | | Toshiba HX-10 (MSX1, Europe; TMS9929A) | `hx10` | BIOS + BASIC | `4dad9de7c28b452351cc12910849b51bd9a37ab3` | No-Intro's MSX sets hold two firmware images, both Kanji fonts: "[BIOS] Kanji Rom - JIS 1st Class (Japan)" (128 KB, `fc71561a64f73da0e0043d256f67fd18d7fc3a7f`) and "[BIOS] Kanji ROM - JIS 1st+2nd Class (Japan)" (256 KB, `f4dba5ba267b5dd1a35eb74a6ec4fd4d5ca9a1b4`). No main BIOS is in No-Intro: MAME's sets are where a player's dump would be checked. ## C-BIOS: a free BIOS (BSD-2-Clause) C-BIOS is a replacement MSX BIOS written from the documented entry points (its sources are Z80 assembly with the copyright of BouKiCHi, Reikan, Maarten ter Huurne, Albert Beevendorp, Patrick van Arkel, Manuel Bilderbeek, Joost Yervante Damad, Jussi Pitkänen and Eric Boon; the licence is the 2-clause BSD text in `doc/cbios.txt` and every `.asm` header). Version **0.32 (2026-11-22)**, pinned by SHA-256 as `reference/cbios/cbios-0.32.zip`: - main ROMs for MSX1, MSX2 and MSX2+, each in international, JP, EU and BR variants; an MSX2 sub-ROM; logo ROMs; `cbios_music.rom` (an FM BIOS for MSX-MUSIC); `cbios_disk.rom` (a WD2793 disk ROM); `cbios_basic.rom` (minimal; "C-BIOS has no BASIC", its changelog says); - it "currently supports only execution of cartridge images" (its `doc/cbios.txt`), though 0.32 added working tape routines (TAPION/TAPIN/TAPOON/TAPOUT/STMOTR) and many BIOS fixes; its website (cbios.sourceforge.net, now cbios.github.io) still says disk, BASIC and cassette are unsupported: the release notes are newer than the site; - it is actively developed again: releases 0.30, 0.31, 0.31a and 0.32 all came out between 2026-11-10 and 2026-11-22 (GitHub `cbios/cbios`). What it gives this board: 1. **A boot ROM anyone may run and redistribute**, so the board's tests, CI and the hosts' demo mode need no maker firmware. Running it is a test of the board (as pcengine-python runs a System Card): the board must be complete enough for it. 2. **Not a judge.** C-BIOS is a reimplementation; where it differs from a maker's BIOS (timing loops, work area, which hardware it touches), the maker's BIOS is the reference program. Its machine rows are `cbios-msx1` etc., distinct from any real machine's. 3. A possible bundled ROM for the play-msx host later: BSD-2 allows it with the notice (decision 5). Its authors include openMSX developers; nothing in its repository or site states a wish about AI use (checked 2026-11-26: README-less repository, `doc/cbios.txt`, CHANGELOG, the website's front page). ## Excluded - Firmware disassemblies and listings: the "MSX system source files" disassembly project (sourceforge msxsyssrc) and the "MSX BIOS Complete BASIC I/O Listing" the MSX Assembly Page links. Console/computer makers' firmware transcriptions are never read (as the N64 firmware transcriptions in sources.md). - Nextor (Konamiman's fork of MSX-DOS 2.31): GitHub reports its licence as NOASSERTION and it derives from ASCII's MSX-DOS 2 code; not used, not fetched.