SDCC Z80-only toolchain with uCsim sz80 (single-stage, includes make/git).
6.5K
Support: wischner.co.uk/support
wischner/sdcc-z80 is a Docker image for Z80 C development with SDCC and the bundled Z80 simulator.
It is intended as a lean, reusable base for retro Z80 projects and for higher-level target-specific images in the Wischner toolchain family.
sdasz80sdldz80uCsim with the sz80 wrapperxlink, xdbg, and xdbg-z80libxdbg*.a, libxdbgstub.a, and the xdbg / xdbgstub headers in /usr/localmakegitCompile a source file:
docker run --rm \
-u $(id -u):$(id -g) \
-v "$PWD":/work -w /work \
wischner/sdcc-z80:latest \
sdcc --debug hello.c
Run it in the simulator:
docker run --rm \
-u $(id -u):$(id -g) \
-v "$PWD":/work -w /work \
wischner/sdcc-z80:latest \
sz80 hello.ihx
_CODE defaults to 0x0100 instead of 0x0200, which matches the standard CP/M program load address._DATA is no longer forced to 0x8000; it now follows _CODE by default unless you override it with --data-loc.--code-loc <addr> and --data-loc <addr>.sdcdb, but this image includes the retro-vault/xyz
debugger pieces (xdbg and xdbg-z80). Terminal xdbg is the most reliable
workflow; DDD compatibility is best-effort rather than full GDB parity.wischner/sdcc-z80-zx-spectrumwischner/sdcc-z80-cpm3wischner/sdcc-z80-idpContributions are welcome. Please open an issue or pull request: https://github.com/wischner/docker-toolchains
Content type
Image
Digest
sha256:829a67f1f…
Size
228.7 MB
Last updated
about 2 months ago
docker pull wischner/sdcc-z80