From e01c49390d589451e71ee07a155d0d28bbbc6711 Mon Sep 17 00:00:00 2001 From: redcode Date: Mon, 20 Jun 2022 14:49:06 +0200 Subject: [PATCH] README.md --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7319f0d..d1b6ed1 100644 --- a/README.md +++ b/README.md @@ -204,9 +204,31 @@ Frank Cringle's _Z80 Instruction Set Exerciser_ attempts to execute every Z80 op - # Installation +### Debian/Ubuntu + +First add the ZXE APT repository: + +```shell +apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv FE214A38D6A0C01D9AF514EE841EA3BD3A7E1487 +add-apt-repository 'deb [arch=amd64] https://zxe.io/repos/apt stable main' +``` + +Next, install the Z80 library package: + +```shell +apt install libz80 +``` + +In case you need to build software that requires the Z80 library, install the development package too: + +```shell +apt install libz80-dev +```` + +# Installation from sources + You will need [CMake](https://cmake.org) v3.14 or later to build the package and, optionally, recent versions of [Doxygen](https://www.doxygen.nl), [Sphinx](https://www.sphinx-doc.org) and [Breathe](https://github.com/michaeljones/breathe) to compile the documentation. Also make sure you have [LaTeX](https://www.latex-project.org) with PDF support installed on your system in case you want to generate the documentation in PDF format. The emulator requires some types and macros included in [Zeta](https://github.com/redcode/Zeta), a dependency-free, [header-only](https://en.wikipedia.org/wiki/Header-only) library used to retain compatibility with most C compilers. Install Zeta or extract its official source code package to the same directory of this `README.md` or its parent directory. Zeta is the sole dependency; the emulator is a freestanding implementation and as such does not depend on the [C standard library](https://en.wikipedia.org/wiki/C_standard_library).