Skip to content

About

an unofficial fork of the MSX emulator blueMSX (https://msxblue.com/bluemsx/), modernized for Windows 11

Resources

Stars

2 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

blueMSX+

blueMSX+ is an unofficial fork of the MSX emulator blueMSX.
Modernization focuses on the UI and audio paths, targeting Windows 11.

日本語版はこちら / Japanese version

What's new in v3.1.1

  • Fixed the emulator terminating abnormally when the window was minimized while the sync mode was Sync to PC Vertical Blank (the default since v3.1.0)
  • Fixed the debugger's step back becoming progressively slower

What's new in v3.1.0

  • The bundled C-BIOS machines gained FDD and turbo R support (v0.29+)
  • Shortcuts, MSX keyboard keys, and controller buttons can now each be bound to up to three keys or buttons
  • Improved cassette tape support — read/write for cas and wav, plus reading tsx images
  • MSX mouse speed improvements and a sensitivity adjustment
  • Improved MoonSound (OPL4) audio quality
  • Added Direct3D 12 scaling filters
  • Added Flash-ROM SCC (Developer Edition) support
  • Expanded command line options
  • Fixed the machines folder unintentionally landing under <Documents> in cases such as installing below Program Files
  • Debugger UI and assorted bug fixes
  • Improved ROM auto-detection, and fixed the zipped database failing to load (database also updated)
  • VDP bug fixes (blink handling and others)
  • Improved UI spots where text did not fit in some languages
  • Many other smaller fixes and improvements

See blueMSX/changes.txt for the full change history.

Key improvements over the original blueMSX

  • Native Windows 11 support
    • 64-bit binary, dark-mode UI, and other modern Windows features
  • High-resolution display support
    • Window zoom up to ×8 and DPI scaling
  • Direct3D 12 support
  • WASAPI support
    • Low-latency audio output via WASAPI (shared mode only)
  • MSX-MUSIC / MSX-AUDIO multi-backend
    • Added high-quality FM synthesis emulators such as Nuked-OPLL, emu2413, and emu8950
    • Real-time switching (for A/B comparison)
  • Natural brightness compensation for scanlines under HDR
  • TMS9918A (MSX1 VDP) color reproduction
  • Recording modernization
    • MP4 recording (H.264 or HEVC) for live capture and replay rendering
    • Preview window during replay rendering
  • XInput controller + hot-plug support
  • MegaFlashROM SCC+ SD cartridge support
    • Emulates the breadth of MegaFlashROM SCC+ SD features including the SD card
      (overriding the internal MSX PSG via the cartridge-side PSG port is not yet supported)
  • Rookie Drive NX cartridge support
    • A hard disk image serves as a virtual USB drive
      (real USB devices and the USB FDD mode are not supported)
  • Other bug fixes and improvements

System requirements

  • Windows 11: verified that the major features of 64-bit blueMSX+ work
  • Windows 10 (64-bit): likely works, but not verified
  • Windows 10 (32-bit): 32-bit blueMSX+ may work, but not verified
  • Direct3D 12-capable GPU and HDR-capable display recommended

Notes & Disclaimer

  • MSX is a registered trademark of MSX Licensing Corporation.

  • blueMSX+ is AS-IS software with no warranty that it will always operate correctly. Neither the blueMSX+ authors nor the original blueMSX authors / contributors accept any liability for damages of any kind (including but not limited to data loss, hardware damage, or financial loss) arising from the use of this software.

  • blueMSX+ is an unofficial fork of blueMSX. Please do not direct inquiries about this software to the original blueMSX team or to any MSX-related companies / organizations.

  • About using HDR mode on OLED displays
    The HDR scanline brightness-compensation feature uses locally elevated luminance — higher than that of regular pixels — to compensate for the screen being darkened by scanlines. Displaying the same content at excessively high brightness settings, or extended continuous use, may accelerate burn-in on OLED displays. Using it together with the display's built-in protection features, and exiting the emulator when it is not in use, is recommended.

License

  • Includes GPLv2-licensed source code, so blueMSX+ as a whole is licensed under GPLv2. Anyone is free to copy, modify, and redistribute it, but distributing a modified executable requires GPL-compliant handling such as publishing the modified source.
  • See https://www.gnu.org/licenses/old-licenses/gpl-2.0.html for the full text of GPLv2.
  • The files bundled with the C-BIOS machine configurations carry their own licenses:
    • C-BIOS: cbios.txt in each C-BIOS machine folder
    • Nextor: LICENSE-Nextor.md in each C-BIOS FDD machine folder
    • TC8566AF FDC driver: LICENSE-TC8566AF.txt in each C-BIOS FDD machine folder
  • For the license of "Kanji ROM image file for msx emulaters", see Machines/Shared Roms/LICENSE-KANJI.txt.
  • For the license of the Y8960 cartridge's preset voices (y8960_opll_voices.bin), see Machines/Shared Roms/LICENSE-y8960_opll_voices.txt.

Installation

  1. Download the release archive from Releases
    • Normally take the 64-bit archive (x64); download the Win32 archive if you need the 32-bit build
  2. Extract the archive anywhere you like
  3. (Optional) If you own real MSX hardware and want to run its BIOS, place the BIOS ROM file(s) into the matching machine's folder under Machines/ (see the next section for details)
  4. Launch blueMSX+.exe from inside the extracted folder

Reusing an existing blueMSX / blueMSX+ setup

If you already have a blueMSX or older blueMSX+ folder whose settings you want to keep, copy the release archive contents over that folder preserving the directory layout and launch blueMSX+.exe.

Note: launching blueMSX+.exe upgrades the existing blueMSX configuration files (*.ini) to the blueMSX+ format. The original blueMSX.exe in the same folder may no longer start or operate correctly afterwards.

Dumping BIOS ROMs from real hardware

To use blueMSX+ with a machine-accurate BIOS set, you need to dump the machine-specific ROMs (main BIOS, SUB ROM, kanji ROM, DISK ROM, built-in firmware, etc.) from real hardware. Here is the general workflow.

  1. Prepare a file-transfer path between the PC and the MSX: a floppy disk (a 3-mode FDD on the PC), an SD card (a cartridge such as MegaFlashROM SCC+ SD) or Wi-Fi (a cartridge such as ESERAMair).
  2. Dump the ROMs listed in the [Slots] section of Machines/<target machine>/config.ini. For example:
    • BIOSDUMP: in Tools/BIOSDUMP/ of the release archive. See README.txt in the same folder for how to use it.
    • Tinyslotchecker (by tiny-yarou): save each slot's ROM one at a time, following the slot numbers in config.ini.
  3. Rename the ROMs to match config.ini, put them in Machines/<target machine>/, and pick that machine from Options → Properties → Machine.

Legal note: BIOS ROMs are copyrighted works of the respective manufacturers. Only dump ROMs from hardware you personally own, and only for your own personal use. Do not distribute, share, or upload the dumped ROM files.

Recommended settings

After starting blueMSX+, the following adjustments from the Options menu let you enjoy higher-quality rendering and audio.

Direct3D 12 renderer

Select Direct3D 12 under Options → Video → Driver.
This enables HDR output, high-quality scanlines with brightness compensation, monitor emulation, live recording, replay video rendering, and more.

WASAPI (low-latency audio)

Select WASAPI under Options → Sound → Driver.
A shorter Sound buffer setting matched to your PC environment yields lower-latency audio.

Note: the actual buffer size in use is determined by your PC's audio hardware. (Displayed as Actual buffer: NN ms.) Setting a lower value than this rounds up internally to the actual buffer size.

MSX-MUSIC / MSX-AUDIO backend (optional)

Under Options → Sound, the MSX-MUSIC backend / MSX-AUDIO backend controls let you pick which FM synthesis emulator runs:

  • Nuked-OPLL: high-accuracy YM2413 implementation by Nuke.YKT
  • emu2413: high-quality YM2413 implementation by Mitsutaka Okazaki
  • emu8950: high-quality Y8950 implementation by Mitsutaka Okazaki
  • openMSX: the openMSX MSX-AUDIO implementation, ported in
  • original blueMSX: the legacy implementation from original blueMSX

Only one backend per chip (MSX-MUSIC, MSX-AUDIO) can be audible at a time.
When multiple backends are enabled, emulation runs in all enabled backends simultaneously. CPU load grows accordingly, but you can switch the audible output backend in real time via a hotkey or the settings dialog to A/B compare. Once you settle on a favorite, set it as the default (and disable the other backends).

Using MegaFlashROM SCC+ SD

  1. Download the openMSX-format file for MegaFlashROM SCC+ SD from the MSX Cartridge Shop
    • Flash → MegaFlashROM SCC+ SD → openMSX ROM (mfrsd.zip)
  2. Extract mfrsd.zip and place mfrsd.rom in blueMSX+'s Machines/Shared Roms/ folder
  3. Launch blueMSX+ and select Cartridge Slot 1 (or 2) → Insert Special → MegaFlashROM SCC+ SD from the menu
  4. From the File → Hard Disk / SD Card menu, either create a blank image or pick an existing image file to insert as the SD card

Using Rookie Drive NX

  1. Download the firmware for Rookie Drive NX from the Rookie Drive download page
    • Firmware → latest version (RDFIRMWA.ROM)
  2. Place RDFIRMWA.ROM in blueMSX+'s Machines/Shared Roms/ folder
  3. Launch blueMSX+ and select Cartridge Slot 1 (or 2) → Insert Special → Rookie Drive NX from the menu
  4. From the File → Hard Disk / SD Card menu, either create a blank image or pick an existing image file to insert as the USB drive

Debugging with an AI agent (MCP)

blueMSX+ comes with an MCP server, Tools\bluemsx-mcp.exe. With it, an AI agent such as Claude Code can look inside the emulated MSX and operate it: read memory, set breakpoints, press keys and read the screen.
How to set it up and use it is in blueMSX/McpServer/README.md, which the release archive also ships as Tools\bluemsx-mcp.md.

Building from source

  • Open the matching solution file (Make/msvc2022/blueMSX.sln or Make/msvc2026/blueMSX.sln) in Visual Studio 2022 or Visual Studio 2026 and build.

Linux (work in progress)

This branch is the Unix port: the blueMSX+ emulator with its own frontends, blueMSX-ImGui (bluemsx-imgui, Dear ImGui, portable) and QblueMSX (qbluemsx, Qt6, in progress). It is based on blueMSX+ by Hesoten, itself based on blueMSX by Daniel Vik, and like them is licensed under GPLv2.

Needs CMake, Ninja, a C/C++20 compiler and SDL3.

cmake -B build -G Ninja
cmake --build build
./build/bin/bluemsx-imgui game.rom
./build/bin/bluemsx-imgui /machine "MSX2+ - C-BIOS" /rom1 game.rom

The executables share the same emulator and settings:

  • bluemsx-imgui (Dear ImGui): the blueMSX menus (File, Emulation, Window, Options, Tools, Help) with file history, special cartridges and zip contents; a built-in file browser (or the desktop's own through "System dialog..."); Properties, Shortcut editor, Audio mixer and Language windows. The menu bar hides itself in fullscreen.
  • bluemsx-sdl: a bare window without menus, driven by the keyboard shortcuts alone.

Both use the blueMSX shortcut profiles (Shortcut Profiles/*.ini, same format as on Windows, created from the shipped defaults on first run) and the first two gamepads as MSX joysticks 1 and 2 (d-pad or left stick, A/X button 1, B/Y button 2). Media files can be dropped on the window. QblueMSX, the Qt6 frontend with the classic blueMSX look, is in progress.

On Linux an absolute path also starts with /: an argument is read as an option only when it has no other / and names no existing file, so /rom1 /home/me/game.rom works as expected.

  • Settings and user data: ~/.config/bluemsx (or $XDG_CONFIG_HOME/bluemsx). An existing ~/.blueMSX is used when it is the only one, and is always searched for machines and ROMs. $BLUEMSX_CONFIG_DIR overrides both.
  • System ROMs are looked up in Machines/<machine>/ below those folders, in their systemroms/ folder, and in openMSX's ~/.openMSX/share/systemroms (or $OPENMSX_USER_DATA/systemroms). ROMs there are recognised by SHA1 whatever their file name, through Databases/sysromsha1.txt (generated from the openMSX machine descriptions by scripts/gen-sysrom-sha1.py).
  • BLUEMSX_DEBUG_ROMS=1 prints where every system ROM was taken from.
  • BLUEMSX_TEST="2 move 20 8; 2.2 click; 3 snap shot.bmp; 4 quit" (ImGui frontend) plays a timed script of mouse moves (window points), clicks, key NAME, text STR, snapshots and quit, for automated UI checks.

Only in this port

  • MIDI capture (File > Capture MIDI): what the PSG, the SCC and the MSX-MUSIC play is written as a Standard MIDI File, one track per voice, next to the WAV captures. File > MIDI Capture Options: simple notes (fewer, longer), arpeggios as chords, drums from fast falling tones. The conversion is the one of openMSX's midi_record.
  • Sound chips as live MIDI (Properties > Ports > Sound Chips as MIDI): the same conversion played live to a MIDI synth (an ALSA port such as FluidSynth, or the blueMSX "Sound chips out" port to connect yourself; on Windows a WinMM device, and a loopMIDI port to route it to another program), like openMSX's MIDI Tap. Every voice gets a MIDI channel when it plays its first note (channel 10 is the drums). The clean mode sends it 0.3 s late, without glitches and with arpeggios as chords. The PSG, SCC and MSX-MUSIC volumes there (MIDI CC 7) are also those of the MIDI capture.
    • MIDI clock (same group, optional): the tempo is found in the music itself (when the notes start, with the drums and the bass weighing most), and a MIDI clock follows it: Start on a downbeat, 24 pulses per beat, Stop and Continue with pauses, so an arranger keyboard or a drum machine set to external clock plays along. It finds the beat after some 6 seconds of steady music and follows changes of song and of time signature (3 or 4 beats; the clock itself carries no time signature, so choose a matching style). Sound effects can confuse it: mute their voice.
    • Live MIDI Mixer (Tools menu), in the style of the Detailed Mixer: a strip per chip voice (PSG A-C and noise, SCC 1-5, MSX-MUSIC 1-9 and rhythm) with what it plays, its MIDI channel, a level (of the chip's channel volume; of the velocity for the drums), Mute and Solo; an ALL strip per chip with its channel volume (the one in Properties); All Voices On/Off and Clear Solo; and a Tempo panel with the tempo found (BPM, bar, a light per beat as the MIDI clock sends it). The window takes the size the window manager gives it. Mute the voices that get in the way, such as a PSG channel with the shots and explosions: a muted voice sends no notes and is left out of the tempo, and keeps its channel. The voice settings last the session, and change without stopping the emulator.
  • UnapiNet (File > Cartridge Slot > Insert Special > UnapiNet): openMSX's MSX-UNAPI TCP/IP bridge, which gives MSX programs the PC's own network (TCP, UDP, DNS) on I/O ports 28h-29h, with nothing to set up on the PC. On the MSX side, under Nextor or MSX-DOS 2 with a memory mapper, run RAMHELPR.COM I and then UNAPINET.COM, the protocol v2 driver from antxiko/openMSXnet (msx/unapinet.asm, assembled with Nestor80); UNAPI TCP/IP programs (hget, telnet, sntp...) then work. Connections do not survive a savestate.

V9968 and geo3d

The experimental support for HRA!'s V9968 VDP and for Alex Moncks' geo3d v2.0 3D coprocessor, from Hesoten's experimental/v9968-geo3d-v2.0 branch (now part of develop), is in this port too. Only replacing the built-in V9958 is supported, not the V9968 cartridge; a V9968 always brings geo3d v2.0 with it (ports 9Dh/9Fh).

  • Two ready-made machines: MSX2+ - Panasonic FS-A1WSX V9968 and MSXturboR - Panasonic FS-A1GT V9968 (the original machine with the video chip set to V9968 and 256 kB of VRAM). Other machines can be made in Tools > Machine Editor > Chip Emulation > Video Chip.
  • The VDP Viewer (Tools menu) shows the V9968 VRAM banks and a geo3d tab with what geo3d drew.
  • Confirmed on Linux and FreeBSD (GhostBSD) with QblueMSX and blueMSX-ImGui: kanon-ai/V9968_SampleDemo v2.0.0 (open as ASCII8), and the geo3d v2.0 editions of kanon-ai/V9968_Geo3D_SampleDemo (NIGHT RAVEN, BULLRUSH, SKYBOUND, ORBITAL...; open as ASCII16), at full speed and with savestates. For example: qbluemsx /machine "MSXturboR - Panasonic FS-A1GT V9968" /rom1 NIGHT_RAVEN_GEO3D_V2.ROM /romtype1 ASCII16.

Ideas for future releases

  • More debugging features (VRAM and sprite viewers, a tracer, and so on)
  • Better directory mounting (writing back, large disk support)
  • Improved network support
  • A data recorder UI
  • A reverse play UI (OSD?)
  • More accurate VDP rendering timing
  • Faster emulation
  • vgm recording

Acknowledgments

Many thanks to Daniel Vik and the rest of the original blueMSX development team and contributors for creating such an excellent MSX emulator.

openMSX has been a constant reference when extending and debugging blueMSX+. Many thanks and much respect to the openMSX development members and contributors, who continue to develop an outstanding MSX emulator.

Nuked-OPLL is a work by Nuke.YKT.
emu2413 and emu8950 are works by Mitsutaka Okazaki.
The TMS9918A patch is a work by uniskie.
It is an honor to incorporate these excellent contributions into blueMSX+. Many thanks to all of them.

blueMSX+ ships with machine configurations based on C-BIOS, an open-source MSX BIOS replacement, extended here with turbo R and disk-boot support.
This lets you run much of the MSX software library without owning a real MSX BIOS ROM.
(Note: software that relies on MSX-BASIC will not run.)

For details on C-BIOS, see the bundled cbios.txt in each C-BIOS machine folder under Machines/, or https://cbios.sourceforge.net/.
Many thanks to the C-BIOS project — BouKiCHi, Reikan, Maarten ter Huurne, Albert Beevendorp, Patrick van Arkel, Manuel Bilderbeek, Joost Yervante Damad, Jussi Pitkänen, Eric Boon, and the other contributors — for developing such an excellent compatible BIOS and releasing it in freely redistributable form.

The C-BIOS FDD machines use Nextor as their disk kernel.
Many thanks to Nestor Soriano Vilchez (Konamiman) for creating Nextor and continuing to improve it, and for releasing the source code in a form that allows a project like this to exist.

The JP and turbo R C-BIOS machines use "Kanji ROM image file for msx emulaters" by A to C. Many thanks to A to C for creating this freely redistributable Kanji font ROM, built from the public-domain jiskan16 font plus hand-drawn MSX-specific glyphs.

Many thanks as well to everyone who has sent feedback and feature requests, on the MSX Resource Center, GitHub, and elsewhere.

blueMSX+ enhancements are developed using Claude Code.
Its ability to ship feature requests and bug fixes one after another is a constant source of amazement — and a little awe.

About

an unofficial fork of the MSX emulator blueMSX (https://msxblue.com/bluemsx/), modernized for Windows 11

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages