mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
;
|
||
; Command File to Assemble the ALIAS Program by Richard Conn
|
||
;
|
||
|
||
;
|
||
; 1. Check for Needed Files
|
||
; These files are listed below in the IF EXIST tests
|
||
; The availability of PIP.COM, M80.COM, and L80.COM is assumed
|
||
;
|
||
if exist alias0.mac
|
||
if exist alias1.mac
|
||
if exist a:z3lib.rel
|
||
if exist a:syslib.rel
|
||
if exist z3base.lib
|
||
if exist sysenv.lib
|
||
|
||
;
|
||
; 2. Perform Assemblies of ALIAS0.MAC and ALIAS1.MAC
|
||
;
|
||
m80 =alias0
|
||
m80 =alias1
|
||
|
||
;
|
||
; 3. Allow User to Abort if Errors Occurred
|
||
;
|
||
if input
|
||
|
||
;
|
||
; 4. Cleanup Files
|
||
;
|
||
era alias0.bak
|
||
era alias1.bak
|
||
era alias.com
|
||
|
||
;
|
||
; 5. Link
|
||
;
|
||
l80 /p:100,alias0,a:z3lib/s,a:syslib/s,alias0/n,/u,/e
|
||
l80 /p:100,alias1,a:z3lib/s,a:syslib/s,alias1/n,/u,/e
|
||
|
||
;
|
||
; 6. Combine ALIAS0.COM and ALIAS1.COM to Form ALIAS.COM
|
||
;
|
||
pip alias.com=alias0.com,alias1.com
|
||
|
||
;
|
||
; 7. Clean Up Some Files
|
||
;
|
||
era alias0.com
|
||
era alias1.com
|
||
|
||
;
|
||
; 8. Exit IF INPUT (1 Level) and Remove REL Files
|
||
;
|
||
fi
|
||
era alias0.rel
|
||
era alias1.rel
|
||
|
||
;
|
||
; 9. Exit IFs (6 Levels)
|
||
;
|
||
fi;fi;fi;fi;fi;fi
|
||
|
||
|