Skip to content

ZoomTen/nim-gb-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nim on GB?

This is an experiment in the vein of Nim on GBA to make Game Boy stuff written in Nim (through GBDK).

What's in here?

  • 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 and scroller) and a test of my own
  • a buggy Arkanoid clone with a very (/s) original name: "Rebrick'd"

What do I need?

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.

Attribution and License Info