GB homebrew revisiting Pong.
Most of the toolchain is Windows-based.
Install Wine to properly run the tools:
$ sudo apt-get install wine
-
Install the sdcc compiler.
-
Add the
sdcc
executable to thePATH
environment variable:$ export PATH=$PATH:<full_path_to>/sdcc/bin
-
Install the gbdk-n SDK:
$ git clone https://github.com/andreasjhkarlsson/gbdk-n.git
-
Build the SDK:
$ cd gbdk-n $ make
-
Set up the
GBDKDIR
environment variable:$ export GBDKDIR=<full_path_to>/gbdk-n
Install gbtd22 image editor to edit .gbr
files in the gfx
folder and export bitmaps.
Install bgb emulator to play and debug the game.