~/talk

Porting mruby/c for the SNES (Super Famicom)

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby, embedded-and-hardware]
links:none on file
slides:none on file

Porting mruby/c to the Super Famicom produces a working prototype that runs Ruby on real hardware by compiling with PVSnesLib, using a shared hal_write_buf for debug output and the Mesen2 emulator for memory dumps. Initial simple demo runs at 8 fps and after SA-1 specific tweaks and compiler/optimization changes execution nearly triples to about 24 fps but still overruns VBlank causing flicker. Key work includes SA-1 support, ROM header fixes, shared I-RAM stack, a call_s_cpu bridge for PPU work, and no sound yet.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07SNES hardware overview
  3. 3:59Screen output basics
  4. 8:01Porting mruby/c process
  5. 12:57Debugging on SNES
  6. 16:43Performance optimization
  7. 17:06Special chips like SA-1
  8. 23:01Live demo
  9. 24:10Future challenges
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.