~/talk

Megaruby - mruby/c on Sega Mega Drive

Talkat RubyConf AU 2023 · 2023-02-16..02-17· [ruby, creative-coding]
github:yujiyokoo
slides:none on file

Ruby bytecode mrb runs on a Sega Mega Drive by embedding mruby/c into an SGDK C binary with a custom main entry, producing a ROM that boots from an SD cartridge. The hardware is a Motorola 68000 at 7.6 MHz with 64 kilobytes of RAM, so Ruby allocates need heavy manual work: pre-render text, keep assets in ROM, and use DMA transfer from ROM to VRAM to avoid RAM pressure while driving tiles, palettes and sprites.

AI-written summary · about

  1. 0:00Start
  2. 2:42Table of contents
  3. 12:06Mega Drive Graphics
  4. 13:54Tiles
  5. 15:21Mega Drive Challenges
  6. 16:57Development overview
  7. 18:31Load and start Ruby code
  8. 19:21Resource decleration
~/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.