matrix-rain-gb icon indicating copy to clipboard operation
matrix-rain-gb copied to clipboard

Matrix digital rain effect for the Game Boy

matrix-rain.gb

A Matrix rain effect for the Game Boy, written in LR35902 (Z80-like) assembler

Demonstrates

  • Memory write batching to optimize vblank utilization
  • DMA transfer
  • Look-up tables

Building

The Game Boy assembler RGBDS is needed.

Linux/Mac OS

Build and install as specified on the RGBDS project site.

Run make

Windows

From the shell for the Windows Subsystem for Linux, install RGBDS.

Run either make from the WSL shell or wsl make from PowerShell.

Output

Build targets are created in folder build. These include:

  • rom file matrix-rain.gb
  • debug symbols

Tools

  • RGBDS Z80 VS Code extension

  • BGB emulator/debugger for the Game Boy

Resources