Skip to content

retrocast v0.7.2

Choose a tag to compare

@github-actions github-actions released this 26 Nov 23:11
· 224 commits to main since this release
d8492fa

retrocast is a static recompiler for retro consoles and arcade boards: it translates a game's machine code into C and builds it into a native program, with a small runtime per system and an SDL3 window, sound and gamepads. Recompiled games are checked cycle by cycle against a built-in reference interpreter.

Systems: NES and Famicom Disk System (6502), Game Boy and Game Boy Color (SM83), Genesis / Mega Drive (68000 and Z80), Atari 2600 (6507), Master System / Mark III and Game Gear (Z80); arcade: Capcom Play System I (68000 and Z80, the Q-Sound board included).

No games are included: bring your own legally dumped ROMs and disk images (disk games also need the FDS BIOS; Game Boy games need no BIOS). CPS-1 games are MAME / FBNeo zips, matched by their chips' CRCs whatever their names; the Q-Sound games also need qsound.zip.

Downloads

Windows (x64, arm64), Linux (x64, arm64; glibc 2.35+), macOS (Apple Silicon). Each archive has:

  • retrocast: plays a game of any system in the interpreter; the system is read from the file (--system picks one when the file does not say)
  • one headless program (*_headless: the game without a window, for scripts and checks) and one recompiler (*recomp: the game to C) per system; each prints its options when run without arguments:
System Headless Recompiler
NES, Famicom Disk System nes_headless nesrecomp
Game Boy, Game Boy Color gb_headless gbrecomp
Genesis / Mega Drive genesis_headless mdrecomp
Atari 2600 atari2600_headless atari2600recomp
Master System, Game Gear sms_headless smsrecomp
CPS-1 cps1_headless cps1recomp
  • kit/: recompiles your own ROMs into native programs with only CMake and a C compiler installed (SDL3 comes prebuilt)

README.txt in the archive explains how to play and how to recompile. macOS builds are unsigned: run xattr -dr com.apple.quarantine retrocast-* once after unpacking.

Do not share recompiled programs: they contain the game.

Supported cartridges and known limitations: NES, Game Boy, Genesis, Atari 2600, Master System and Game Gear, CPS-1.

What's Changed

  • CI: a monthly check of the CPS-1 table against MAME's latest release by @Viper-Bit in #77
  • Build: /bigobj on MSVC, for a recompiled game's many functions by @Viper-Bit in #78
  • Site: game lists in the release asset, unsupported CPS-1 sets listed, no BIOSes or pirate copies by @Viper-Bit in #80
  • Atari 2600: Superchip RAM, FA, E0, E7 and 3F cartridges; the site's tests retry longer by @Viper-Bit in #81
  • Genesis: open bus is the prefetched word; site tests press Start and retry more by @Viper-Bit in #82
  • Genesis: serial EEPROM saves (24C01 to 24C65) by @Viper-Bit in #83
  • Master System: render TMS9918 Graphics I and II by @Viper-Bit in #84
  • Game Boy Color: support MBC7 cartridges by @Viper-Bit in #85
  • Master System: support Korean and MSX cartridge banking by @Viper-Bit in #86
  • Game Boy: support Hudson HuC1 and HuC3 cartridges by @Viper-Bit in #87
  • Game Boy Color: correct speed-switch timing by @Viper-Bit in #88

Full Changelog: v0.7.1...v0.7.2