~/talk

mruby in the 8-bit world: mruby VM for Zilog Z80

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby, embedded-and-hardware]
github:yujiyokoo
slides:none on file

Runs mruby bytecode on a Z80 by implementing a custom VM (repo: codeberg/yugigo/mruby-z) and boots directly from a Sega Master System cartridge. Uses mruby/mrbc for compilation, Z88DK toolchain, and targets a 3.5 MHz CPU with ~8 KB RAM and 256×192 video. Supports integer arithmetic, while loops, greater-than and equality, read-only arrays, frozen strings, and callable functions; no floats, GC, classes or exceptions yet. Live presentation and a small shooter demo execute successfully on the hardware.

AI-written summary · about

  1. 0:00Introduction and demo
  2. 1:51What is mruby bytecode
  3. 5:02What is Z80 and its limits
  4. 14:59Why build a custom VM
  5. 17:49Features and limitations
  6. 20:15Development challenges
  7. 23:50Minimal VM implementation
  8. 24:35Future plans for the VM
  9. 25:41Lessons learned and summary
  10. 26:45Closing and game demo
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.