← Files ModRetro Chromatic PluginARCHIVED FILE

examples/hello-color/README.md

683 Bytes · Oct 5, 2026 · 18:37 UTC

↓ Download file

# Game Boy Color toolchain smoke test

`main.c` is an original, interactive Game Boy Color program. It displays the
currently pressed controller button and uses a custom four-color CGB palette.

Copy this folder to a writable location. From that copy, build with the `lcc`
executable from your installed official GBDK-2020 toolchain:

```sh
/absolute/path/to/gbdk/bin/lcc -Wl-yt0x00 -Wl-yo2 -Wm-yC -Wm-ynCHROMATICHELLO -o hello-color.gbc main.c
```

The command replaces `hello-color.gbc` in your copy. Use the
[setup guide](../../docs/setup.md) to locate or prepare a compiler. This is a
standalone C example; it does not use a native game project or the plugin's
`rom_build` tool.

SHA-256: 34a4d7b47143f0fe753f207d83ad759de82034bdbf4dcbc573c81e17f3119f42