Skip to content

msxemul

EMULATOR DATABASE

msxemul

MSX emulator port designed to run on ESP32-based Lilygo TTGO VGA32 hardware. It is a fork/evolution of an earlier ttgo-msxemul project and implements Z80, V9938 video, AY-3-8910/SCC/YM2413 audio, disk and floppy support, and a FabGL file-selection menu for SD-hosted ROMs and disk images.

6.0 / 10

MSX

Download Tutorials & guides

Sign in to download. Files are hosted by the emulator project.

MSX
SYSTEM SPOTLIGHTMSXArtwork from the Retro Replay system database

Browse games in Gamebase for MSX.

About msxemul

Provides a compact MSX emulation target tailored to the Lilygo TTGO VGA32 hardware and FabGL library. It adapts and fixes items from an earlier ttgo-msxemul repository to improve keyboard mapping, sound handling, sprite errors, and screen sizing for MSX games on the ESP32 platform.

Users who want to run MSX games and software on a TTGO VGA32 board using Arduino tooling and have an SD card to hold MSX.ROM and disk images. Developers wanting an MSX codebase adapted for ESP32 with FabGL integration.

Supported systems and capabilities

  • MSX (software/games via ROM and disk images)
  • ESP32-based Lilygo TTGO VGA32 hardware
  • FabGL display and input integration
  • SD card storage for MSX.ROM and DISK.ROM and game files

The people behind msxemul / history

The repository identifies itself as an evolution of the hemkr/ttgo-msxemul project and attributes credits to that earlier work. The current codebase contains many MSX-related modules and device emulation files such as Z80.c, V9938.c, AY8910.c, YM2413.c, WD1793.c and other MSX subsystems. The README documents the fork relationship and lists specific fixes and enhancements made in this repository.

Screenshots

Knightmare gameplay on MSX
Gameplay from Knightmare on MSX. Image from the Retro Replay media library.

Tutorials & guides

msxemul setup guide (click to expand)

This guide shows the practical steps, based on the project's own README and source, to build and run msxemul on a Lilygo TTGO VGA32 board using Arduino IDE.

  1. 1. Get the source Clone or download the repository from the project's GitHub page and inspect the README and files at the repository root.
  2. 2. Prepare Arduino IDE Install Arduino IDE and add the Espressif ESP32 board support. The project README specifies using the Espressif ESP32 package version 2.0.17 and PSRAM enabled. Configure the Arduino IDE board selection to match your TTGO VGA32 board.
  3. 3. Prepare the SD card Create a FAT-formatted SD card and place required ROM files in the root. The README states that MSX.ROM and DISK.ROM must be in the SD card root. Game files may be stored in directories selectable through the FabGL menu.
  4. 4. Build and flash Open the project's Arduino sketch or Menu_FabGL_Msxemul.ino in Arduino IDE, ensure PSRAM is enabled for the board, build the sketch and flash it to the TTGO VGA32 board using the IDE's upload process.
  5. 5. Running and controls Use the FabGL menu to select games on the SD card. The README documents that pressing F12 exits a running game. Ensure keyboard mapping is set as the project provides MSX keyboard mapping for the device.
  6. 6. Troubleshooting If sound stops or sprite errors occur, use the repository as reference since it documents fixes for sound stopping after a game and sprite issues. Confirm you are using the Espressif package version noted in the README and that PSRAM is enabled.

READMEs & documentation

msxemul official project README
MSX Emulator for ESP32 Lilygo TTGO VGA32

This is an evolution of the great emulator: 
https://github.com/hemkr/ttgo-msxemul

All the credits and thanks for kemkr

Some points have been enhanced and some problems solved:
- FabGL Menu of selection of Files. Games can be in any directory, but MSX.ROM and DISK.ROM must be in SD in root directory.
- Sound not stopping after game: Fixed.
- Error in sprites: Fixed.
- Larger screen for MSX Games.
- All keys in MSX keyboard mapped.

To compile use Arduino IDE and Expressif ESP32 versión 2.0.17 (PSRAM Enabled)

To exit a GAME, just push F12. 

Download original README

Original project README source

Release log

Selected releases and changes, with coverage from our weekly emulation roundup.

    Sources & further reading

    FROM THE COMMUNITY

    Player reviews

    0 reviews
    6.0/ 10

    Overall rating

    Provisional site rating and approved member scores, each counted once.

    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 msxemul

    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