Resources

A collection of Game Boy libraries and tutorials.

Game Boy VRAM Allocation Library

A simple Game Boy library for allocating video memory at runtime. Valloc uses a very basic block pattern which takes advantage of the fact that VRAM tiles can be addressed using a single byte.

Game Boy Sprite Objects Library

A small, lightweight library meant to facilitate the rendering of sprite objects, including Shadow OAM and OAM DMA, single-entry "simple" sprite objects, and Q12.4 fixed-point position metasprite rendering.

C Vectors Library

This library is meant to bring easy-to-use vectors to C, similarly to C++. It consists entirely of inline functions and macros, which makes code very fast and optimized.

Game Boy Interrupts tutorial

A tutorial on configuring and using the Game Boy's VBlank interrupt.