Save Point
- ..
- .metadata17 B
- README.md853 B
- gemcatch.luau12.4 KB
- init.luau23.3 KB
- skyranger.luau20.8 KB
- trails.luau14.9 KB
README.md
mastersystem.homebrew
The Master System package's own homebrew carts, written here in Z80 assembly
and assembled in the engine with mastersystem.asm: a shared runtime (boot,
VDP setup, vblank wait, pads + Pause, sprite table, text, BCD scores, PSG
sound effects and a two-voice music player, RNG, battery RAM, line-interrupt
hook), a 5x7 font and tile helpers that turn pixel art written as strings into
SMS planar tiles, the SDSC + TMR SEGA headers, and one module per game. All of
it, and the ROMs it builds, is original work released under CC0 1.0
(public domain): copy, change and redistribute freely.
local H = require("mastersystem.homebrew")
H.build() -- assembles every game into /zero/source/mastersystem_roms/
Each game advances the byte at RAM $C000 once per logic step (the
logic-rate probe the speed checks read).