X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/4bc81323e51ac138e733c14eeb6f283ae706e904..8eb73d1751705942b4f0891a90a669ce63b98866:/z180/Tupfile diff --git a/z180/Tupfile b/z180/Tupfile index ebdb1d1..c7d79fb 100644 --- a/z180/Tupfile +++ b/z180/Tupfile @@ -1,11 +1,14 @@ include_rules PROG = hdrom +CFBOOT = cfboot -SRC = r3init.180 +SRC = init.180 SRC += ddtz.180 -#SRC += fifoio.180 msgbuf.180 ser1-i.180 console.180 -SRC += 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 @@ -26,7 +29,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};\ @@ -34,9 +37,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 @@ -45,8 +49,10 @@ rm -f ${OUTPUT}; exit ${ERROR} \ : $(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 + #COMMAND="$(AS) -%B/$(AS_OPT)"; \ #endif -