Skip to content

Repository files navigation

jgenesis

Cross-platform multi-console emulator supporting a number of 8-bit and 16-bit gaming consoles.

Linux, Windows, and web (WASM) are officially supported. Other platforms may work but have not been tested.

Features

  • Emulation for the following consoles:
    • Sega Genesis / Mega Drive
    • Sega CD / Mega CD
    • Sega 32X / Mega 32X
    • SG-1000
    • Sega Master System / Mark III
    • Game Gear
    • Nintendo Entertainment System (NES) / Famicom
    • Super Nintendo Entertainment System (SNES) / Super Famicom
    • Game Boy / Game Boy Color
    • Game Boy Advance
    • PC Engine / TurboGrafx-16 (No CD-ROM2 support yet)
  • GPU-based renderer with integer prescaling and optional linear interpolation
  • Configurable pixel aspect ratio for each console with several different options: accurate to original hardware/TVs, square pixels, and stretched to fill the window
  • Support for the Sega Master System FM sound unit expansion
  • Support for the Sega Genesis SVP chip, used in Virtua Racing
  • Support for the most common NES mappers, plus a number of less common mappers
  • Support for most SNES coprocessors (e.g. Super FX, SA-1, DSP-1, CX4, S-DD1, SPC7110)
  • Support for both 3-button and 6-button Genesis controllers
  • Support for keyboard controls and DirectInput gamepad controls
  • Save states, fast forward, and rewind
  • Some simple horizontal blur and naive anti-dither shaders for blending dithered pixel patterns, which were extremely common on these consoles due to limited color palettes and lack of hardware-supported transparency
  • Optional CPU overclocking for Sega Master System, Game Gear, and Genesis emulation
  • Optional 2-4x GSU overclocking for SNES Super FX games
  • Can run the Titan Overdrive and Titan Overdrive 2 demos for the Mega Drive

System Requirements

  • CPU: Published release builds require a 64-bit x86 CPU with SSE4.2 support (every x86 CPU made since ~2011 should have this)
    • Builds from source have no particular CPU requirements
  • GPU: Must support Vulkan (cross-platform) or DirectX 12 (Windows 10+)
  • RAM: 300 MB free or so should be enough with default settings
    • Some settings can significantly increase RAM usage, e.g. increasing rewind buffer length or loading CD-ROM images into RAM

Dev Builds

The GitHub Actions workflow compiles release builds on every commit, which will stay available for 90 days afterwards: https://github.com/jsgroth/jgenesis/actions

Note that these builds are not always well-tested and may have bugs.

Build & Run

See BUILD.md

License

All code in this repository is licensed under the GNU General Public License v3.0 unless explicitly stated otherwise at the top of the file (for example, some shader files are MIT-licensed).

Screenshots

Screenshot from 2023-08-27 22-47-13

Screenshot from 2023-08-27 22-53-09

Screenshot from 2023-09-27 19-36-19

Screenshot from 2023-09-29 17-12-35

Screenshot from 2023-11-06 21-42-49

Screenshot from 2023-08-27 22-45-06

Screenshot from 2023-08-27 22-45-32

Sources

Sega Master System / Game Gear

Sega Genesis / Mega Drive

Sega CD / Mega CD

32X

NES

SNES

Game Boy / Game Boy Color

Game Boy Advance

PC Engine / TurboGrafx-16

About

Sega Genesis / Sega CD / SNES / Master System / Game Gear emulator

Topics

Resources

Stars

394 stars

Watchers

16 watching

Forks

Releases

Used by

Contributors

Languages