about summary refs log tree commit diff stats
path: root/README
blob: b86cba4710af960ce6e21491679c521afa2ad411 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Hello world for Nintendo Game Boy

=== About ===
This is the source code for a simple "Hello World" for the Nintendo Game Boy 
(1989). This is here as a refrence to see how asm works for the Game Boy.

=== Compile ===
In order to compile, you will need RGBDS[0] installed. Then run the following 
commands:


rgbasm -o main.o main.asm

rgblink -o hello-world.gb main.o

rgbfix -v -p 0 hello-world.gb


You should now have a Game Boy ROM that will run in any emulator or even the 
real hardware is using a flashcart!

=== Links ===
[0]: https://rgbds.gbdev.io/