Skip to content

v0.0.2 — Performance & Correctness Update

Choose a tag to compare

@mstan mstan released this 01 Apr 21:28
· 15 commits to master since this release

Changes since v0.0.1

Performance

  • gb_tick hot path optimization — TIMA fast-path, inlined cycle counting, branch hints. Reduces per-instruction overhead (~47K calls/bank/frame)
  • Tile-batched background rendering — Fetches tile row once, decodes all 8 pixels. ~16x fewer VRAM reads per scanline
  • Optimized sprite rendering — Direct VRAM access, pre-clamped pixel loops, early off-screen skip
  • 34 missing entry points added — Eliminates all known interpreter fallbacks from tested gameplay paths

Audio

  • Smooth underrun fade-out — Audio callback fades from last sample on underrun instead of inserting hard silence, eliminating pops

Bug Fixes

  • SRAM save debounce — Saves 5 seconds after last ERAM write instead of spamming every second during RTC updates
  • Quiet save logging — No more console spam on successful saves

Requirements

  • Windows 10/11 x64
  • A legally obtained Pokemon Red or Blue ROM (.gb)