; ; M80.ZEX -- MACRO-80 Assembler and Linker ; Up to 4 Libraries Specified ; ; ^& Suppress FALSE IF Printout ; if nul $1 ;note Print Error Message echo ** Name of File to Assemble Required ** else ;note Perform Assembly M80 =$1 if input Abort if Errors Exist ERA $1.BAK ERA $1.COM if ~nul $5 ;note Link 4 Additional Libraries L80 /P:100,$1,$2/S,$3/S,$4/S,$5/S,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E goto done fi if ~nul $4 ;note Link 3 Additional Libraries L80 /P:100,$1,$2/S,$3/S,$4/S,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E goto done fi if ~nul $3 ;note Link 2 Additional Libraries L80 /P:100,$1,$2/S,$3/S,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E goto done fi if ~nul $2 ;note Link 1 Additional Library L80 /P:100,$1,$2/S,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E goto done else ;note Standard Link L80 /P:100,$1,A:Z3LIB/S,A:SYSLIB/S,$1/N,/U,/E ;=done Done with Link fi ;note on IF ~NUL Tests fi ;note on IF INPUT ERA $1.REL fi ;note on IF NUL ; ; Assembly Complete ;