Z80-ASM
This is the official homepage of Z80-ASM.
Z80-ASM is a compiler/assembler and monitor (including disassembler and debugger) for the Z80 CPU.
It runs under Linux (probably also under other UNIX-flavours)
and DO$ (DJGPP version 2.03 checked).
It's written in C and source-code availible!
Since February 2004
Achim Flammenkamp
is the maintainer of Z80-ASM. He did many improvements and
bug fixes as well. See the README for quick infos.
On 2010-04-15, I downloaded the current CVS tar-ball of Z80-Asm from November 2006 on a Gentoo (Linux 2.6.23 x86_64) System, running gcc 4.3.4. It compiles without problems, only many warnings (almost all about signed/unsigned pointer argument mismatch). But the binaries work as they should. :)
Same effortless success on an Ubuntu 8.04.1 System (Kernel 2.6.26 on xenon) using gcc 4.2.4! Also works now under Ubuntu 11.04 with gcc 4.5.2.
News: Since 2018-05-21 the 2.4.1 version is availible. It contains additionally two bugfixes and compiles and runs (at least) under Gentoo (Linux 3.10.25 x86_64) System with gcc 4.7.3 and also under Ubuntu 16.04.9 with gcc 5.4.0.
As you maybe remember: Development until the last Z80-Asm 2.4-pre3 version was on the gcc 2.9.5, and later there were many gcc-"bugs"/incompatibilities, but now it seems okay using the current gcc. But things may change if compiler change. :-/
Download
2018-05-21
version 2.4.1 and its
Changelog.
2018-04-22
version 2.4 and its
Changelog.
This new tar-gz archive is nearly 3.5 MB large, mainly because of addition of a few extern PDF documents.
2018-04-16
version 2.4-pre4, the
latest diff to z80-asm-2.3.7 and the
Changelog.
2006-10-05
version 2.4-pre3 and the
latest diff to z80-asm-2.3.
2006-07-04
version 2.3.7 and its
Changelog.
2005-06-03
version 2.3 and its
Changelog.
2005-05-03
version 2.2 and its
Changelog.
2004-06-09
version 2.1c and its
Changelog.
2004-04-01
version 2.1 and its
Changelog.
2004-02-24 version 2.0c
is available. See Changelog-2.0c for all
changes since version 1.1.
2004-02-01: you can download version 1.1 updated by Achim Flammenkamp. It contains several bugfixes and improvements:
- user interface add key = to change the registers
A,B,C,D,E,H,L,IX,IY,A',B',C',D',E',H',L',I,(F')
- display and update the cycle counter and the refresh register
- BUG in f_ld LD rr,(nn) [only 1 byte loaded] fixed!
- BUG in f_ex EX (SP),IX break missing runs into EX (SP),IY; fixed!
- EI replaced by IFF1 & IFF2 (correct LD A,R & LD A,I)
- user interface @(reset), #(clear memory), *(clear all cpu register),
$( clear tick counter), &(SP init)
- console.c: BUG in c_init() use term_setting not undefined t fixed!
Here you can download
Petr Kulhavy's latest z80-asm version.
On 2001-09-30 he put this version for download with these bugfixes (compared to version 1.0):
- ld a,(bc) and ld a,(de) were "illegal instructions" in compiler
- ld a,(hl) and ld a,(bc) were executed as ld a,l
All these packages are tared and gziped files.
Package
Each Z80-ASM package contains a compiler for the Z80 assembling language and a monitor including an interactive debugger.
Compiler is a two-pass one, which knows all documented Z80 instructions. It has
labels, comments and since 2.1 can even evaluate constant arithmetic expressions. For Unix/Linux folks, here is the newest troffed z80-asm manual.
Debugger is interactive, it shows content of all registers, memory,
stack,
program. You can trace program, trace it step by step, modify program,
registers and content of memory, load and save parts of memory and of course set breakpoints.
The (default) look of z80-mon (click for help screen):
Installation
Everything you need to run the Z80-ASM is Linux or DO$ system (it should also
work on other Unixes) and GCC/DJGPP compiler.
To install the Z80-ASM you must do following:
- download and unpack the archive
- change into the just created z80-asm directory
- read the INSTALL file
- according to instructions you've read install the Z80-ASM :)
but typically a 'make' will do what you want.
Hardware Support
Besides the raw Z80-CPU with 64 KB RAM this Z80-ASM-Package also supports a quartz for the CPU, IO-buffering logic, extended memory banking, a Z80-CTC and daisy-chain interrupt-logic. Moreover
there is an LCD-display and a hardware clock availible. For details see the delivered hardware/README file.
Authors
Original author of Z80-ASM is
Petr Kulhavy.
Send bug reports, questions, critics, etc. to Achim Flammenkamp.
Copyright
Z80-ASM is spread under terms and conditions of the GNU General Public
License (version 2 and higher). This license can be found in doc/COPYING in
the archive.
You may also see the
Homepage of Petr Kulhavy.
Last updated:
2018-05-21 23:04 UTC+2
webmaster