This is an experiment in the vein of Nim on GBA to make Game Boy stuff written in Nim (through GBDK).
- an incomplete set of GBDK bindings (at least they're documented, I guess)
nim_src/gbdk/todo/*.h
are the original GBDK headers with the comments removed (that's the C in the github languages count), they aren't used—it's just to keep track how many functions are accessible from Nim so far :p
- a custom
nimbase.h
- two ported GBDK examples (
phys
andscroller
) and a test of my own - a buggy Arkanoid clone with a very (/s) original name: "Rebrick'd"
Uses neither Nimble nor Nake, but rather plain ol' Make. :p Though, I want to turn the Makefile into Nimble tasks in the future.
Other than that, you'll of course need GBDK-2020. Make sure to edit the Makefile to point to your GBDK installation.
The Makefile contains an asm-debug
target that compiles to ASM and puts it under _asmbuild
. Just in case you wanna look at what's in the ROM from the Nim-generated C source.
- GBDK-2020 under GPLv2 with Linking Exception
- LCC (integrated with GBDK) under the LCC License
- (I'm not sure what the GBDK examples are licensed as)
- "Rebrick'd" is based off of the Unbricked example game by Eldred Habert and gb-asm-tutorial contributors, licensed under CC BY-SA 4.0.
incBin
ingbdk/misc
module originates from Natu, which is under the Zlib license