EMULATOR DATABASE
tinymsx
TinyMSX is an open source C/C++ core library implementing emulation for MSX1 cartridge games (16KB/32KB and ASCII-8 MegaRom with optional SRAM), plus SG-1000 and the Tsukuda Othello MultiVision.
Download Tutorials & guidesSign in to download. Files are hosted by the emulator project.

Browse games in Gamebase for MSX.
About tinymsx
TinyMSX is intended as a compact emulator core that can be embedded in C or C++ applications. It focuses on cartridge-based MSX1 content plus two early Sega-related platforms. The repository exposes a programmatic API for creating an emulator instance, executing frames, and accessing video and audio buffers.
Developers who want a small, embeddable MSX1/SG-1000 core for integration into custom frontends, tools, or research projects where a library API (rather than a complete end-user emulator) is required.
Supported systems and capabilities
- MSX1 (16KB or 32KB cartridge games; ASCII-8 MegaRom; ASCII-8 MegaRom + SRAM(8K))
- SG-1000
- Tsukuda Othello MultiVision
The people behind tinymsx / history
The project repository (suzukiplan/tinymsx) describes TinyMSX as a multi-emulator core library for C/C++. The repository contains source, documentation, a BIOS directory, and an MIT license. The GitHub project shows substantial commit history and repository activity. There are no GitHub releases published in the Releases section.
Screenshots

Tutorials & guides
tinymsx setup guide
TinyMSX is a C/C++ emulator core library. The repository README documents the public API: create an instance, load BIOS image files, reset, execute ticks (frames), and access display and audio buffers. The project does not include commercial BIOS or game ROMs; you must supply any required BIOS or cartridge images yourself.
- Obtain the source Clone or download the repository from the official GitHub project (suzukiplan/tinymsx). The Releases page currently contains no published release packages, so obtain the current source tree from the repository.
- Inspect documentation and bios folder Open the repository README and the bios directory. The README documents the API and lists supported systems. The bios directory in the repository is present, but commercial system BIOS files are not included by the project. You must obtain any required BIOS image files and place them where your application will load them from.
- Embed the core in your C/C++ project Include tinymsx.h from the repository in your project source. Use the public API shown in the README: construct a TinyMSX instance with the desired type (for example TINYMSX_TYPE_MSX1) and pass in the cartridge ROM data, its size, the RAM size if needed, and a color mode. Example from the README: TinyMSX msx(TINYMSX_TYPE_MSX1, rom, romSize, ramSize, TINYMSX_COLOR_MODE_RGB555).
- Load required BIOS Before running emulation, load the main system BIOS using the provided API call documented in the README, for example msx.loadBiosFromFile("/path/to/main-bios.rom"). The project does not provide commercial BIOS images; you must supply legally obtained BIOS files yourself.
- Reset and execute frames Call msx.reset() to initialize the emulator state, then run emulation in a loop by calling msx.tick(0, 0) per frame as in the README example. The core exposes methods to obtain the display buffer and audio buffer after ticks: getDisplayBuffer(), getSoundBuffer(&soundSize).
- State save and restore Use the provided state APIs for quick save/load as documented: saveState(&stateSize) and loadState(stateData, stateSize). The example in the README shows usage for quick state operations.
- Output and integration Display buffer size and format are documented in the README (256 x 192, 2 bytes per pixel for RGB555 mode in the example). Pull the buffer and copy or convert it to your GUI or graphics subsystem as needed. For audio, obtain the buffered audio data from getSoundBuffer and feed it to your audio playback pipeline at the appropriate sample rate.
- Build and platform notes The repository is a C/C++ core. The README includes a macOS Cocoa example. The project structure includes source, doc, and test directories. The Releases page shows no packaged binaries, so you must build from source or compile any example frontend you create. Follow standard C/C++ build practices appropriate for your platform; the repository contains build-related files such as format.mak and scripts, but no single documented cross-platform build system is provided in the top-level README.
READMEs & documentation
tinymsx official project README
# TinyMSX
TinyMSX is a multi-emulator core library for C/C++ that supports following game consoles:
- SG-1000
- TSUKUDA ORIGINAL Othello MultiVision
- MSX1 16KB or 32KB cartridge games
- MSX1 ASCII-8 MegaRom cartridge games
- MSX1 ASCII-8 MegaRom + SRAM(8K) cartridge games
| SG-1000 | Othello MultiVision | MSX1 |
| :-----------------------------------------: | :------------------------------------------: | :------------------------------------: |
|  |  |  |
## How to use
### Basic usage
```c++
#include "tinymsx.h"
```
```c++
// Create an instance
TinyMSX msx(TINYMSX_TYPE_MSX1, rom, romSize, ramSize, TINYMSX_COLOR_MODE_RGB555);
// Load main BIOS of MSX1
msx.loadBiosFromFile("/path/to/main-bios.rom");
// Reset
msx.reset();
// Execute 1 frame
msx.tick(0, 0);
// Get display buffer (256 x 192 x 2 bytes)
unsigned short* display = msx.getDisplayBuffer();
// Get and clear the buffered audio data (44.1Hz/16bit/2ch) by tick execution.
size_t soundSize;
void* soundBuffer = msx.getSoundBuffer(&soundSize);
// State save (quick save)
size_t stateSize;
const void* stateData = msx.saveState(&stateSize);
// State load (quick load)
msx.loadState(stateData, stateSize);
```
### Example
- [for macOS (Cocoa)](test/osx)
## License
[MIT](LICENSE.txt)
Download original READMERelease log
Selected releases and changes, with coverage from our weekly emulation roundup.
Sources & further reading
FROM THE COMMUNITY
Player reviews
Starting site scores are provisional editorial scores. Established mainstream projects receive a higher starting score; other imported entries begin at a neutral 6/10 pending individual review. Member scores change the average after approval.
Your take on tinymsx
Spam has been overwhelming. To help us approve your review, sign up and introduce yourself in the Introductions forum so we know you’re not a bot.
Sign in with your Retro Replay account to rate this project and share your experience.
Sign in to review
Retro Replay Retro Gaming History, Reviews & Emulation