SRC := init.180 ddtz.180
-SRC += fifoio.180 msgbuf.180 ser1-i.180 console.180
+SRC += console.180
+SRC += msgbuf-a.180 conbuf-a.180
+SRC += asci1-p.180
SRC += romend.180
INC := config.inc z180reg.inc z180.lib
#CP/M emulator
CPMEMU = zxcc
-#Location of CP/M binaries
+#Location of CP/M binaries
CPMBIN = /usr/local/lib/cpm/bin80
#AS = $(CPMEMU) $(CPMBIN)/m80.com
AS_QUIET = 1
LN_QUIET = 1
-#LNKCMD =
+#LNKCMD =
LN_VERB = /V
LN_PROG = 0
LN_DATA = C000
exit $${ERROR}
endef
-hdrom.c: hdrom.hex
+hdrom.c: hdrom.hex
srec_cat -o $@ -c_array $(basename $<) -C_COMpressed -include $< -Intel
hdrom.hex : $(OBJ)
@#$(cpm-link)
ld80 -o $@ -ms $(@:.hex=.map) -P $(LN_PROG) -D $(LN_DATA) $^
-%.rel %lst: %.180
+%.rel %.lst: %.180
@$(cpm-asm)
hdrom.map: hdrom.hex
-%.sym: hdrom.map %.lst
+%.sym: hdrom.map %.lst
@$(cpm-mksym)
.phony: clean realclean
if [ "$${ERROR}" != "0" ]; then cat $${OUTPUT}; fi ; \
rm $${OUTPUT}; \
exit $${ERROR}
-