updated README and Makefile

This commit is contained in:
2026-05-25 23:14:28 +02:00
parent 20faef4555
commit b522d50cb9
2 changed files with 14 additions and 7 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
SRC=main
#EMU=mgba-qt
# change this to your prefered emulator
EMU=emulicious
all:
mkdir -p build
rgbasm src/$(SRC).asm -o build/$(SRC).o
rgblink build/$(SRC).o -o build/$(SRC).gbu -m build/$(SRC).map -n build/$(SRC).sym
rgbfix -v build/$(SRC).gbu -o build/$(SRC).gb
rgbfix -v build/$(SRC).gbu -o build/$(SRC).gb -m ROM -p 0xFF -t "breakout" -n 0 -r 0x00
clean:
rm ./build -r
+11 -4
View File
@@ -1,7 +1,14 @@
# Small z80 asm game
Featuring movement!
# Gameboy Breakout
Features a Title screen, one level, breakable blocks and a win/loose condition.
### Reference:
This game was created taking [gbdev.io's assembly course](https://gbdev.io/gb-asm-tutorial) as a base.
I used this guide to learn and for the structure of my game. All functions were reimplemented by me tough.
### How to:
assemble: `make all` [requires rgbds]
run : `make run` [requires mgba-qt]
assemble: `make all` [requires rgbds]
run : `make run` [requires emulicious]
cleanup : `make clean`
output is written to `build/main.gb`