# The Zilog Z80 reference core. The archetype of the z80 family: z80-rust, # z80-rust-fast, z80-wasm and z80-python-fast descend from it, and galemu runs on 0.3.0. name = "z80-python" kind = "core" # core | board | tool role = "reference" # reference | port | fast language = "python" repo = "alewman/z80-python" local = "../z80-python" visibility = "public" branch = "main" released = "v0.4.0" # the newest release on PyPI; commits after it are unreleased [[evidence]] what = "SingleStepTests/z80 (1,604,000 cases), z80test, ZEXDOC/ZEXALL, FUSE" where = "docs/validation.md" # What 0.4.0 took from m6800-python, which had both from the day it was built # (the bus at 14:34 and the tracking debugger at 18:11 on 2026-09-18; these # commits are the same evening). [[copied]] from = "m6800-python" path = "src/z80_python/cpu.py" from_path = "src/m6800_python/cpu.py" how = "design" since = "764ddd8" # 764ddd8: the bus became four callables the host passes in, replacing the # abstract methods a host used to override. m6800-python was built that way, # which is why its debugger could wrap the bus and z80-python's could not. [[copied]] from = "m6800-python" path = "src/z80_python/debug.py" from_path = "src/m6800_python/debug.py" how = "design" since = "1344ecc" # 1344ecc: access tracking, watchpoints, next_boundary and the console's # over/continue/watch commands, taken level with m6800-python's. # Outside references, read from the fetch scripts that pin them. [[reference]] url = "https://github.com/SingleStepTests/z80" declared_in = "scripts/fetch_test_vectors.py" pattern = '(?m)^REVISION = "([0-9a-f]{40})"' [[reference]] url = "https://github.com/superzazu/z80" declared_in = "scripts/fetch_interrupt_oracle.py" pattern = '(?m)^REVISION = "([0-9a-f]{40})"' [[reference]] url = "https://github.com/raxoft/z80test" declared_in = "scripts/fetch_z80test.py" pattern = 'releases/download/([^/]+)/'