M88M is a modern, cross-platform port of the classic PC-8801 emulator M88, originally developed by cisc.
While the original M88 was tightly coupled with the Win32 API and DirectX, M88M leverages raylib and raygui for its frontend, making it natively compatible with macOS (Intel/Apple Silicon), Linux, FreeBSD, and Windows via a single CMake-based build system.
- Cross-Platform: Native support for macOS, Linux, FreeBSD, and Windows.
- Raylib Frontend: Modern, lightweight hardware-accelerated rendering and audio.
- Core Integrity: Retains the highly accurate emulation core of the original M88 while replacing the platform-dependent layers.
- Modern Build System: Uses CMake for easy compilation with modern compilers (Clang, GCC, MSVC).
- Dual-Threaded Architecture: Separate threads for emulation and UI/rendering ensure smooth performance.
- Enhanced UI: Includes a built-in overlay for disk management, state management, and system configuration.
M88M is fully functional and supports a wide range of PC-8801 software.
Working Features:
- N88-BASIC (V1/V2) and compatible modes.
- Soundboard II (OPNA) emulation (FM, PSG, Rhythm, ADPCM) with a built-in volume mixer.
- D88 Disk Support: Mount/Unmount disks, disk image management, and "Recent Disks" history.
- Playlist Support: Supports
m3u/m3u8playlists for disk image workflows. - State Management: 10 save state slots with visual previews.
- High-DPI Scaling: Adjustable window scaling (1x, 2x, 3x) and fullscreen support.
- Input: Keyboard matrix emulation, Mouse, and Gamepad support.
Prebuilt binaries are available on the Releases page. Assets are named m88m-<version>-<platform>-<arch>.<ext>:
| Platform | <platform> token |
Format | Architectures |
|---|---|---|---|
| Windows | windows |
.zip |
x64, x86, arm64 |
| macOS | macos |
.dmg |
universal (Intel + Apple Silicon) |
| Linux (portable) | linux |
.AppImage |
x86_64, aarch64 |
| Linux (Debian / Ubuntu) | linux |
.deb |
amd64, arm64 |
| Linux (Fedora / RHEL / openSUSE) | linux |
.rpm |
x86_64, aarch64 |
| Raspberry Pi OS | raspios |
.deb |
arm64, armhf |
| FreeBSD | freebsd |
.pkg |
amd64 |
Before running, you must supply the required ROM files — see Prerequisites. To build from source instead, see Building.
Raspberry Pi: use the
raspiosbuild — install it withsudo apt install ./m88m-<version>-raspios-<arch>.deb. Thearmhf(32-bit) variant targets ARMv7 with NEON, so it requires a Raspberry Pi 2 / Zero 2 W or later.Windows on ARM: the OS ships no desktop OpenGL driver, which M88M (via raylib) requires. If M88M launches but no window appears, install the "OpenCL, OpenGL, and Vulkan Compatibility Pack" from the Microsoft Store and start it again.
To run the emulator, you must provide the necessary PC-8801 ROM files. Place the following files in the roms directory:
N88.ROM(orN88.ROM+N88_0.ROM, etc.)DISK.ROMFONT.ROM- (Optional)
KANJI1.ROM,KANJI2.ROM
The emulator looks for ROMs in the following locations (in order):
- Environment variable
M88M_ROM_DIR roms/subfolder in the same directory as the executable.- Linux (including Raspberry Pi OS):
~/.local/share/M88M/roms - macOS:
~/Library/Application Support/M88M/roms - FreeBSD:
~/.config/m88m/roms - Windows:
%APPDATA%\M88M\roms
Note: You must own the original hardware to legally use these ROM files.
Homebrew and Xcode Command Line Tools are required.
xcode-select --installInstall cmake via Homebrew:
brew install cmakegit clone https://github.com/bubio/M88M.git
cd M88M
bash scripts/build_macos.shTo build a Universal Binary (Intel + Apple Silicon):
MACOS_UNIVERSAL=1 bash scripts/build_macos.shThe app bundle will be generated at ./build/M88M.app.
Arch-based (CachyOS, Manjaro, etc. / pacman):
sudo pacman -S --needed base-devel cmake git libx11 libxcursor libxinerama libxrandr libxi mesa alsa-lib gtk3Fedora / RHEL-based (dnf):
sudo dnf install -y gcc-c++ make cmake git libX11-devel libXcursor-devel libXinerama-devel libXrandr-devel libXi-devel mesa-libGL-devel alsa-lib-devel gtk3-developenSUSE (zypper):
sudo zypper install -t pattern devel_basis
sudo zypper install cmake git libX11-devel libXcursor-devel libXinerama-devel libXrandr-devel libXi-devel Mesa-libGL-devel alsa-devel gtk3-develDebian-based (Ubuntu, etc. / apt):
sudo apt-get install build-essential cmake git libasound2-dev libx11-dev libxcursor-dev libxinerama-dev libxrandr-dev libxi-dev libgl1-mesa-dev libgtk-3-devgit clone https://github.com/bubio/M88M.git
cd M88M
bash scripts/build_linux.shThe executable will be generated at ./build/m88m.
Raspberry Pi OS is Debian-based, so you can build natively on the Pi. The Pi's GPU only supports OpenGL ES, so pass -DM88M_RASPIOS=ON to build raylib for GLES 2.0 (otherwise the window fails to open with GLXBadFBConfig).
sudo apt-get install build-essential cmake git libasound2-dev libx11-dev libxcursor-dev libxinerama-dev libxrandr-dev libxi-dev libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libgtk-3-devgit clone https://github.com/bubio/M88M.git
cd M88M
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DM88M_RASPIOS=ON
cmake --build build -j"$(nproc)"The executable will be generated at ./build/m88m. On a 32-bit OS, -DM88M_RASPIOS=ON produces an ARMv7 + NEON build, which requires a Raspberry Pi 2 / Zero 2 W or later.
sudo pkg install cmake git pkgconf ca_root_nss libiconv libX11 libXcursor libXinerama libXrandr libXi mesa-libs gtk3git clone https://github.com/bubio/M88M.git
cd M88M
sh scripts/build_freebsd.shThe executable will be generated at ./build/m88m.
To build a FreeBSD pkg:
sh scripts/build_freebsd_pkg.shVisual Studio 2022 (or later) with the C++ desktop workload, and CMake, are required.
Run the PowerShell build script (CMake auto-detects the installed Visual Studio generator):
git clone https://github.com/bubio/M88M.git
cd M88M
./scripts/build_win.ps1 -Architecture x64-Architecture accepts x64 (default), Win32 (32-bit x86), or ARM64. The executable will be generated at .\build\RelWithDebInfo\m88m.exe.
- F11 / Right Click: Toggle the Main Menu / Settings overlay.
- ESC: Close sub-menus or the main overlay.
- Drag & Drop: Drop a
.d88disk image orm3u/m3u8playlist onto the window to mount it to Drive 1&2.
- The original M88 core is copyright (C) cisc. Please refer to
docs/README.mdfor the original license terms. - New code, porting layers, and Raylib integration are provided under the 2-Clause BSD License.
c86ctl.his provided under the 2-Clause BSD License.- The bundled fonts (
assets/NotoSansJP-Regular.ttf,assets/ChicagoKare-Regular.ttf) are licensed under the SIL Open Font License 1.1. Seeassets/NOTICE.mdandassets/OFL.txtfor details.
This project is a fan-made port and is not affiliated with the original author cisc.



