summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--z180/Makefile11
-rw-r--r--z180/Tupfile13
-rw-r--r--z180/asci1-i.180 (renamed from z180/ser1-i.180)0
3 files changed, 11 insertions, 13 deletions
diff --git a/z180/Makefile b/z180/Makefile
index bd46639..11f9093 100644
--- a/z180/Makefile
+++ b/z180/Makefile
@@ -1,7 +1,7 @@
SRC := init.180 ddtz.180
-SRC += fifoio.180 msgbuf.180 ser1-i.180 console.180
+SRC += fifoio.180 msgbuf.180 asci1-i.180 console.180
SRC += romend.180
INC := config.inc z180reg.inc z180.lib
@@ -11,7 +11,7 @@ OBJ := $(SRC:.180=.rel)
#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
@@ -24,7 +24,7 @@ AS_OPT := MFS
AS_QUIET = 1
LN_QUIET = 1
-#LNKCMD =
+#LNKCMD =
LN_VERB = /V
LN_PROG = 0
LN_DATA = C000
@@ -80,7 +80,7 @@ if [ "$${ERROR}" != "0" ]; then cat $${OUTPUT}; rm -f $@; fi ; \
exit $${ERROR}
endef
-hdrom.c: hdrom.hex
+hdrom.c: hdrom.hex
srec_cat -o $@ -c_array $(basename $<) -C_COMpressed -include $< -Intel
hdrom.hex : $(OBJ)
@@ -92,7 +92,7 @@ hdrom.hex : $(OBJ)
hdrom.map: hdrom.hex
-%.sym: hdrom.map %.lst
+%.sym: hdrom.map %.lst
@$(cpm-mksym)
.phony: clean realclean
@@ -123,4 +123,3 @@ realclean: clean
if [ "$${ERROR}" != "0" ]; then cat $${OUTPUT}; fi ; \
rm $${OUTPUT}; \
exit $${ERROR}
-
diff --git a/z180/Tupfile b/z180/Tupfile
index 1becb04..46aae4e 100644
--- a/z180/Tupfile
+++ b/z180/Tupfile
@@ -2,12 +2,12 @@ include_rules
PROG = hdrom
-SRC = init.180
+SRC = init.180
SRC += ddtz.180
-#SRC += fifoio.180 msgbuf.180 ser1-i.180 console.180
-SRC += msgbuf-a.180 conbuf-a.180 ser1-i.180 bioscio.180 chario.180
+#SRC += fifoio.180 msgbuf.180 asci1-i.180 console.180
+SRC += msgbuf-a.180 conbuf-a.180 asci1-i.180 bioscio.180 chario.180
# serial (asci1) console only:
-#SRC += ser1-i.180 console.180
+#SRC += asci1-i.180 console.180
SRC += romend.180
@@ -28,7 +28,7 @@ AS = $(CPMEMU) slr180.com
###############################################################################
-!AS-plain = |> $(AS) -%B/$(AS_OPT) |> %B.rel | %B.lst
+!AS-plain = |> $(AS) -%B/$(AS_OPT) |> %B.rel | %B.lst
!AS = |> ^ $(AS) -%B/$(AS_OPT)^ set +e; OUTPUT=\$(mktemp);\
$(AS) -%B/$(AS_OPT) > ${OUTPUT};\
@@ -36,7 +36,7 @@ grep -q '^ 0 Error(s) Detected' ${OUTPUT}; ERROR=$?;\
[ "${ERROR}" != "0" ] && cat ${OUTPUT};\
[ "${ERROR}" != "0" ] && rm -f %B.rel;\
rm -f ${OUTPUT}; exit ${ERROR} \
-|> %B.rel | %B.lst
+|> %B.rel | %B.lst
#!LINK = |> ld80 -o %o -ms %O.map -P $(LN_PROG) -D $(LN_DATA) %f |> | %O.map
!LINK = |> ld80 -o %o -ms %O.map -P $(LN_PROG) %f |> | %O.map
@@ -52,4 +52,3 @@ rm -f ${OUTPUT}; exit ${ERROR} \
#endif
-
diff --git a/z180/ser1-i.180 b/z180/asci1-i.180
index 2410e38..2410e38 100644
--- a/z180/ser1-i.180
+++ b/z180/asci1-i.180