ESP32 Project – Emulator – Sega Master System

Gebruik de ESP 32 als Sega Master System emulator op de ESP31/32 (ps. de ESP31 was een protoype van de ESP 32)

Screens:

Informatie (ENG)

What is this?

This is a port of SMSPlus to the Espressif ESP31 chip. It will run most Sega Master System roms at full speed with video disabled. (However, because of the low speed of the SPI LCD used and the overhead of pushing pixels to it, the framerate is limited to 15-20FPS for now.)

What do I need to use this?

You will need:

  • A board containg an ESP31 chip and at least 2MB (16Mbit) of SPI flash, plus the tools to program it.
  • A backup of a Sega Master System ROM game cartridge
  • A 320×240 ILI9341 display, controllable by a 4-wire SPI interface. You can find modules with this LCD by looking for ‘2.2 inch SPI 320 240 ILI9341’ on eBay or other shopping sites. We used the one with the red PCB and the SD-card on the bottom.
  • Optional, for sound: A I2S codec, plus some hardware to make the sound it outputs be heard. We used a PCM5102 board here, but other I2S codec boards are also capable as long as they only require BCLK, DATA and LRCLK signals to work.
  • Optional, but highly recommended: A Playstation 1 (PSX) or Playstation 2 controller to actually play the game

How do I hoop up my board?

LCD:

(Make sure to also wire up the backlight and power pins.)

I2S codec

(Obviously, also hook up the power pins and connect the sound output to an amp or headphones or so.)

PSX/PS2 controller

(Pinouts can be found here. Hook VCC up to 3.3V. The 9 volt line (pin 3) and the ACK pin can be left unconnected.)

How do I program the chip?

Using a tool capable of flashing the SPI flash connected to the ESP31, program the following files to the following addresses:

Because of copyright reasons, you will have to supply the game rom image yourself.

License/legal

SMSPlus is licensed under the GPL2. The Espressif support code is licensed under the MIT license. All trademarks, service marks, trade names and product names appearing in these files are the property of their respective owner(s).


Download SMS Emulator voor ESP32 @ GitHub

[#/esp/projecten/emulator_sega_master_system” ]