Z80 Preprocessor Blog
Preprocessor for PseudoSam assembler or ASZ80 (SDCC)
Brought to you by:
jpelletier
v2.2 is a port of the Z80 preprocessor on CP/M. There's no new feature, so v2.1 is the latest for other platforms.
Get the v2.1 sources;
rename prepz80_sdcc.tst to sdcc.tst;
mount the source directory on Yaze's disk p:
c:>sys mount p my_source_dir`
c:>pip c:=p:sdcc.tst
c:>pip c:=p:z80prep.c
c:>pip c:=p:strsubs.c
c:>pip c:=p:strsubs.h
To compile with Hitech C compiler 3.09 running on Yaze:
c:>c -c z80prep.c
c:>c -c strsubs.c
c:>c z80prep.obj strsubs.obj
Test
c:>z80prep sdcc.tst
The result is in the file sdcc.asm