summaryrefslogtreecommitdiff
path: root/z180/Tupfile
diff options
context:
space:
mode:
Diffstat (limited to 'z180/Tupfile')
-rw-r--r--z180/Tupfile62
1 files changed, 0 insertions, 62 deletions
diff --git a/z180/Tupfile b/z180/Tupfile
deleted file mode 100644
index 0c3f95e..0000000
--- a/z180/Tupfile
+++ /dev/null
@@ -1,62 +0,0 @@
-include_rules
-
-PROG = hdrom
-CFBOOT = cfboot
-CPUINFO = cpuinfo
-
-SRC = init.180
-SRC += ddtz.180
-SRC += msgbuf-a.180 conbuf-a.180
-#SRC += bioscio.180 chario.180
-SRC += console.180
-SRC += asci-p.180
-SRC += romend.180
-
-
-AS_OPT = MFS
-
-LN_PROG = 0
-LN_DATA = C000
-
-
-###############################################################################
-# Executables
-
-CPMEMU = zxcc
-
-#AS = $(CPMEMU) ccpline.com
-AS = $(CPMEMU) slr180.com
-
-
-###############################################################################
-
-!AS-plain = |> $(AS) -%B/$(AS_OPT) |> %B.rel | %B.lst
-
-!AS = |> ^ $(AS) -%B/$(AS_OPT)^ set +e; OUTPUT=\$(mktemp);\
-$(AS) -%B/$(AS_OPT) > ${OUTPUT};\
-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
-
-#!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
-
-#ifndef DEBUG
-
-: foreach $(SRC) |> !AS |> {objs}
-: {objs} |> !LINK |> $(PROG).hex
-: $(PROG).hex |> srec_cat -o %o -c_array %B -C_COMpressed -include %f -Intel |> $(PROG).c | $(PROG).h
-
-
-: $(CFBOOT).180 |> $(AS) -%B/HFS |> %B.hex | %B.lst
-: $(CFBOOT).hex |> srec_cat -o %o -c_array %B -C_COMpressed -include %f -Intel |> $(CFBOOT).c | $(CFBOOT).h
-
-: $(CPUINFO).180 |> $(AS) -%B/HFS |> %B.hex | %B.lst
-: $(CPUINFO).hex |> srec_cat -o %o -c_array %B -C_COMpressed -include %f -Intel |> $(CPUINFO).c | $(CPUINFO).h
-
-#COMMAND="$(AS) -%B/$(AS_OPT)"; \
-
-
-#endif