Skip to content

Usage Guide

rose edited this page May 14, 2019 · 1 revision

Lazyboy Usage Guide

Building ROMs

Lazyboy does not (yet) build ROMs itself. Instead, the compileROM function returns stringified assembly in the RGBASM format.

Therefore, in order to build a ROM, RGBDS is required. A Makefile can be found in the examples directory, which can easily be invoked as follows (let's assume the output assembly was written to "main.asm"):

$ make NAME=main
rgbasm -o main.obj main.asm
rgblink -m main.map -n main.sym -o main.gb main.obj
rgbfix -p0 -v -tmain -n1 -flhg main.gb

This will build a ROM (main.gb) which has been automatically fixed and is fully runnable.

Clone this wiki locally