Run an LLM on GBA what more can I say?
Find a file
2025-10-09 00:05:56 -05:00
.vscode add vscode recommended extensions and intellisense setup 2023-09-28 10:50:00 +02:00
include 0.6.0: simplify directory layout, improve default build flags 2023-09-28 10:35:40 +02:00
meson drop dusk and heartlib since they're both unmaintained 2024-03-27 10:55:05 +01:00
src implement gbalm proof of concept 2025-10-09 00:01:10 -05:00
subprojects feat: support agbpack multiboot image compressor tool from asiekierka 2025-09-01 10:29:57 -05:00
tokenizer implement gbalm proof of concept 2025-10-09 00:01:10 -05:00
.gitignore implement gbalm proof of concept 2025-10-09 00:01:10 -05:00
bin2s.py implement gbalm proof of concept 2025-10-09 00:01:10 -05:00
callBin2S.py implement gbalm proof of concept 2025-10-09 00:01:10 -05:00
LICENSE.txt implement gbalm proof of concept 2025-10-09 00:01:10 -05:00
meson.build implement gbalm proof of concept 2025-10-09 00:01:10 -05:00
meson_options.txt Merge development setup into main, add dev build option 2024-01-25 15:01:50 +01:00
model_data.bin implement gbalm proof of concept 2025-10-09 00:01:10 -05:00
PROJECTS.md Add PROJECTS.md 2024-01-25 15:58:26 +01:00
prompt_tokens.bin implement gbalm proof of concept 2025-10-09 00:01:10 -05:00
README.md chore: fix README 2025-10-09 00:05:56 -05:00
vocab.bin implement gbalm proof of concept 2025-10-09 00:01:10 -05:00

gbalm

gbalm is a small language model for the Game Boy Advance.

Building

You will need a default installation of the arm-none-eabi-gcc compiler to build. You will need meson, ninja, and xxd as well, and maybe other things.

For example on Ubuntu:

sudo apt update
sudo apt install gcc-arm-none-eabi
meson setup --wipe --buildtype=release -Db_lto=true --cross-file=meson/gba.ini build-gba
# or, for debug symbols
meson setup --wipe --buildtype=debugoptimized -Db_lto=false --cross-file=meson/gba.ini build-gba

# compile, output is in build-gba/gbalm.gba
meson compile -C build-gba

License

gbalm is licensed under the GPLv3 license. See LICENSE.txt for more information.