Megaruby - mruby/c on Sega Mega Drive
summary
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
chapters (8)
- 0:00Start
- 2:42Table of contents
- 12:06Mega Drive Graphics
- 13:54Tiles
- 15:21Mega Drive Challenges
- 16:57Development overview
- 18:31Load and start Ruby code
- 19:21Resource decleration
related talks
26mMegaruby - mruby/c on Sega Mega Drive
24mRuby in the 8 Bit World - A Small mruby VM for the Zilog Z80
29mmruby in the 8-bit world: mruby VM for Zilog Z80
30mRuby on NES - how to make the smallest ruby ever
39m"Developing your Dreamcast games with mruby"
36mmruby: AltRuby
36m(m)Ruby on small devices
40mmmm..mruby, or why yet another Ruby implementation
