Skip to content

v1.7.0

Choose a tag to compare

@sacckey sacckey released this 10 Oct 07:34
· 9 commits to main since this release
03a6ed2

What's Changed

  • Require Ruby 4.0 or higher
  • Run the bundled Tobu Tobu Girl ROM when rubyboy or rubyboy-bench gets no ROM path, from any directory
  • Keep audio output with --unlimited by dropping audio that cannot be played in time
  • Remove the --no-audio player option
  • Remove rubyboy-bench --render and --json, and the SDL 2.0.18 requirement
  • Print a checksum of the final frame from rubyboy-bench to check that a runtime emulated correctly
  • Run rubyboy-bench without loading SDL
  • Read ROM files in binary mode, which fixes loading them on Windows
  • Make the APU duty tables shareable between Ractors
  • Ship only the runtime code, the default ROM and documents in the gem

Browser

  • Add sound, a 60 FPS limit and a mute toggle to the browser version
  • Add a Spinel version that runs the same Ruby code compiled to C and then to WebAssembly

Benchmark

On an Apple M4, rubyboy-bench runs at 113 FPS on CRuby 4.0.7, 294 FPS with YJIT and 799 FPS when compiled with Spinel. See BENCHMARK.md for the conditions.

Pull Requests

  • Review recent Rubyboy changes by @sacckey in #35
  • Run the bundled ROM by default and make Rubyboy easier to embed by @sacckey in #36
  • Require Ruby 4.0 and run specs in CI by @sacckey in #37
  • Release 1.7.0 by @sacckey in #38

Full Changelog: v1.6.0...v1.7.0