home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / beehive / zcat / zaslink.zex < prev    next >
Text File  |  1991-01-31  |  1KB  |  28 lines

  1. ^.
  2. ^#
  3. ^<^|
  4. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;^|
  5. ;                                                                      ;^|
  6. ;     ZASLINK.ZEX -- Z-System ZAS Macro Assembler and ZLINK Linker     ;^|
  7. ;                    with ZAS error checking.                          ;^|
  8. ;                                                                      ;^|
  9. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;^|
  10. ^>
  11. ^&
  12. if ~exist $1.Z80    ;note if file does not exist^|
  13.   ECHO ^G                       *** $1.Z80 NOT FOUND ***^|
  14. else^|
  15.   ZAS $1^|
  16.   if ~er            ;note if no assembly errors^|
  17.     ERA $1.COM^|
  18.     ZLINK $1,A:PDMLIB/,A:GRWLIB/,A:GRXLIB/,A:VLIB/,A:Z3LIB/,A:SYSLIB/ $$C100^|
  19.     ERA $1.REL^|
  20.     ERA $1.BAK^|
  21.     Z3INS A15:SYS $1.COM^|
  22.     ECHO --                          ZASLINK COMPLETE^|
  23.   else^|
  24.       ECHO ^G             *** FATAL ERROR IN ASSEMBLY, ZASLINK ABORTED ***^|
  25.   fi               ;note if ~er^|
  26. fi                 ;note if ~exist^|
  27. ^#
  28.