Z80
From Free Pascal wiki
Overview
A Z80 port is currently under development in a branch:
https://svn.freepascal.org/svn/fpc/branches/z80/
To check it out, use subversion:
svn co https://svn.freepascal.org/svn/fpc/branches/z80/ fpc-z80
Requirements
The assembler and linker from the SDCC package are required:
Targets
Embedded
ZX Spectrum
The compiler produces ZX Spectrum tape files in the TZX file format. They are suitable for running in emulators. An open-source emulator that works is FBZX:
https://www.rastersoft.com/programas/fbzx.html
ROM images for the emulator are available here:
http://www.chiark.greenend.org.uk/~cjwatson/code/spectrum-roms/
and here:
http://www.shadowmagic.org.uk/spectrum/roms.html
They are copyrighted and are not free (as in freedom), but are legally available for use in emulators (not in real hardware), and are also repackaged and redistributed in Linux repositories such as RPMFusion - nonfree.