Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.42 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.42 KB

SMS Plus (Master System / Game Gear) for ESP32 emulators

The Sega Master System and Game Gear core of esp-box-emu: SMS Plus (ekeeke/smsplus-gx, by way of the ESP32 retro handheld ports), with esp-box-emu's changes.

Layout

  • smsplus/: the emulator core, as esp-box-emu has carried it (see below for its origin and changes).
  • port/: the glue to the host firmware: port/include/sms.hpp is the API the firmware calls (init / run a frame / save / load / deinit, the video buffer for screenshots), port/ implements it.

The port talks to the board through the BoxEmu singleton of esp-box-emu (box-emu.hpp: frame buffers, push_frame(), palette(), play_audio(), gamepad_state(), ...). tab5-emu provides the same API (using BoxEmu = Tab5Emu), so the same sources build for both.

Use

Add this repository as a submodule inside an ESP-IDF component and register its sources from that component's CMakeLists.txt (each firmware keeps its own component wrapper: the requirements, compile flags and linker fragment for its target). See esp-box-emu's components/sms/CMakeLists.txt.

The history up to the split is esp-box-emu's history of components/sms.

License

SMS Plus is under the GNU General Public License, version 2 (smsplus/LICENSE, smsplus/COPYING). The port is under the same license.