X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/071402f056bc1633be44e2c5c0e4697a5c49fc21..32154e5a9e9bf0a52269b3715711b76dc8fcac0f:/z180/Tupfile diff --git a/z180/Tupfile b/z180/Tupfile index b79d098..50ede98 100644 --- a/z180/Tupfile +++ b/z180/Tupfile @@ -2,9 +2,12 @@ include_rules PROG = hdrom -SRC = r3init.180 +SRC = init.180 SRC += ddtz.180 -SRC += fifoio.180 msgbuf.180 ser1-i.180 console.180 +SRC += msgbuf-a.180 conbuf-a.180 +#SRC += bioscio.180 chario.180 +SRC += console.180 +SRC += asci-p.180 SRC += romend.180 @@ -14,8 +17,6 @@ LN_PROG = 0 LN_DATA = C000 -DEFS = -DSTM32F1 -DBAUD=115200 - ############################################################################### # Executables @@ -27,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};\ @@ -35,9 +36,10 @@ 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) -D $(LN_DATA) %f |> | %O.map +!LINK = |> ld80 -o %o -ms %O.map -P $(LN_PROG) %f |> | %O.map #ifndef DEBUG @@ -50,4 +52,3 @@ rm -f ${OUTPUT}; exit ${ERROR} \ #endif -