This repository contains example programs for the Nintendo GameBoy video game console. The examples are related to articles on my blog (in french).
First you need to install some dependencies: GNU Make, GCC, bison, flex and git. This can be installed with the following command on Debian / Ubuntu:
sudo apt install build-essential bison flex git
Then, from the example root directory run the following commands:
make buildenv # Only the first time, this will download an compile GBDK to build the project make # Build the example
If it worked, you should have a
.gb file in the folder. You can run it with any GameBoy emulator. If you have Mednafen installed you can also run the following command:
The examples in this repository are licensed under WTFPL unless otherwise stated:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2004 Sam Hocevar <email@example.com> Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.