Skip to content

Review recent Rubyboy changes - #35

Merged
sacckey merged 13 commits into
mainfrom
codex/rubyboy-review
Oct 9, 2026
Merged

sacckey merged 13 commits into
mainfrom
codex/rubyboy-review

Conversation

@sacckey

@sacckey sacckey commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Review the changes from bac2541 to be7d23b, including subsequent fixes. This PR uses a historical base so the complete diff remains visible.

sacckey and others added 13 commits October 8, 2026 23:18
Drop audio that cannot be played in time instead of waiting when
--unlimited is used, so audio no longer slows emulation down. Remove
--no-audio, rubyboy-bench --render and --json, and the VSync support
that required SDL 2.0.18.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Delete opcodes.json, the raylib backend, the broken stackprof helper with
Emulator#bench and its gems, and the finished -O4 comparison script.
Stop passing frame counts, runtime details and the unused stop message
through the browser worker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ruby.wasm and Spinel builds packed every file under lib/, including
local battery saves and save states. Copy only tracked files before
packing, and check the packed file list against git ls-files in the
verification scripts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the custom Ruby 4.0.7 source pin in favor of ruby_wasm's 4.0 alias.
Fold the packed-file check into the ruby.wasm runtime smoke test, remove
its CRuby comparison, and keep only the pacing, input and audio buffer
tests for the shared browser code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shorten README and fix its key table. Add BENCHMARK.md for running
rubyboy-bench on CRuby and Spinel, and spinel/README.md for native Spinel
builds. Move the browser build, test and deploy instructions for both
WebAssembly versions into wasm/README.md, and remove docs/wasm-playback.md
from the GitHub Pages directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Compile the browser entry points with Spinel's --ext-init and --ext-entry,
export them through a small C glue file, and link with the flags from
spinel --print-build. Embed the tracked ROM files as a custom section and
load them with a small JavaScript loader, replacing the --ext wasm host
that required unpublished Spinel changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move the browser tests and the CRuby reference into wasm/test. Drop the
unused return value of Executor#exec, the unused vm field and the duplicate
ROM name check in RubyboyVM, which Executor already performs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move rubyboy-wasm from exe/ to wasm/ and drop it from the gem's
executables, since it only works inside the repository. Exclude docs/,
spinel/ and wasm/ from the packaged files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sacckey
sacckey changed the base branch from codex/rubyboy-review-base to main October 9, 2026 21:43
@sacckey
sacckey marked this pull request as ready for review October 9, 2026 21:43
@sacckey
sacckey merged commit 374fea9 into main Oct 9, 2026
1 check passed
@sacckey
sacckey deleted the codex/rubyboy-review branch October 9, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant