Skip to content

atirut-w/zdk

Repository files navigation

ZDK

C compiler and libraries for Z80 development.

Build Dependencies

  • ANTLR4 for generating the C parser. Your distribution of choice should already have a package for ANTLR4, but you can also download from the official website.

Warning

Ubuntu's package for ANTLR4 is outdated and generates invalid C++ code. You should download the JAR from the official website and use that instead.

Dependencies

  • GNU binutils (--target=z80-elf) for assembling and linking. Refer to the LURe build script for an example of how to build binutils for the Z80 target, or use LURe to build it for you.
  • LLVM for intermediate representation.

General Goals

  • C90 compiler.
  • A platform-agnostic implementation of the C90 standard library.