# gba-python > **Lineage:** **gba-python** → gba-rust (later) → gba-rust-fast (later) · > fixes start in gba-python and flow down by merges · > [family charter](https://github.com/alewman/emulator-lineage/blob/main/docs/charter.md) A readable, pure-Python emulator of Nintendo's Game Boy Advance, built as a board on [arm7tdmi-python](../arm7tdmi-python), with the Game Boy sound channels from [gb-apu-python](../gb-apu-python). **This repository is a clean restart (2026-11-19).** The earlier gba-python was written with a GPL emulator's source open and is archived; read [docs/restart.md](docs/restart.md) before working here, then [docs/handoff-brief.md](docs/handoff-brief.md) and [docs/status.md](docs/status.md). The Phase 0 hardware documents, judges and plan start at [docs/README.md](docs/README.md). **Status (2026-11-19): rungs 0 and 1** (the bus without a picture, and its cycle timing) are built and judged on hardware-calibrated test ROMs, verdicts read from the board's own screen: jsmolka 10/10, the mGBA suite's memory, I/O, DMA, BIOS-math, timing (2,020/2,020), timer and CPU groups all full, hw-test 10 of 11 text ROMs, krom's BIOS tests 25/25, 77 of the 137 screen-verdict ROMs with Nintendo's BIOS. Details, commits and what still fails: [docs/status.md](docs/status.md) and [docs/validation.md](docs/validation.md). **Rung 2 (2026-11-21):** SRAM, Flash (six chips), EEPROM, the GPIO port and S-3511 clock, battery files; Nintendo's Backup LIB sample passes all 47 of its cases and Pokémon Emerald accepts the clock. **Rung 3 (2026-11-21):** the picture is drawn a line at a time (modes 0-5, OBJs, windows, colour effects, mosaic); hw-test's line-level pictures match their expected images (bgx, bgpd, dispcnt-latch), and commercial title screens draw correctly. **Rung 4 (2026-11-21):** the picture is drawn where the beam is, so a register or video-memory write in mid-line takes effect at the right dot; the OBJs are fetched a line ahead within their cycle budget; the CPU and DMA wait on palette RAM, VRAM and OAM while the picture processor reads them. hw-test's status-irq-dma 12/12 and its green-swap and VRAM-fetch photographs match; 76 of the 137 screen-verdict ROMs with either BIOS. **Rung 5 (2026-11-23):** sound comes out: the four Game Boy channels (gb-apu-python's AGB row) and the two FIFOs are mixed with SOUNDBIAS's bias, clip and resolution, and `--wav FILE` records it. The mixer's levels rest on GBATEK's ranges only (no recording or detector to judge them); alyosha-tas's FIFO DMA timing ROMs pass 3 of 9. With the core's interrupt-mask fix (arm7tdmi-python `4f1822c`), 81 (Nintendo's BIOS) and 80 (free) of the 137 screen-verdict ROMs. ```sh .venv-pypy/bin/python -m gba_python ROM.gba --bios free --frames 600 --wav out.wav ``` **FIFO DMA timing and rung 7 (2026-11-24):** three provisional rules read from alyosha-tas's hardware-captured FIFO tests raise fifo_dma from 3/9 to 6/9 (83/137 screen verdicts, free BIOS, `510fb62`). Rung 7 (`65f9ebd`): a skip-BIOS start, `scripts/board_games.py` (the 39-ROM smoke list from `$NO_INTRO_DIR`: 35 pictures, 3 blanks where mGBA is blank too, 1 cartridge with a motion sensor that fails on every emulator tried) and a Tk window, not yet seen on a screen: ```sh .venv-pypy/bin/python -m gba_python.window ROM.gba --skip .venv-pypy/bin/python scripts/board_games.py --out /tmp/smoke --jobs 8 ``` ```sh ~/.local/bin/pypy3.11 -m venv .venv-pypy && .venv-pypy/bin/pip install -e '.[dev]' .venv-pypy/bin/python -m gba_python ROM.gba --bios free --frames 600 --png out.png .venv-pypy/bin/python -m pytest tests ``` Nothing third-party is committed: `python scripts/fetch_references.py` fetches the pinned documents, test suites and tools; `python scripts/build_referees.py --nba` builds the closed-box drivers for mGBA and NanoBoyAdvance. The BIOS is bring-your-own; commercial ROMs are read in place from `$NO_INTRO_DIR`. MIT (see `LICENSE`) for what is in this repository; fetched material keeps its own terms, recorded per entry in the pin lists.