home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / BEEHIVE / ZCAT / ALIAS-1.LBR / VFILER.CMD < prev    next >
OS/2 REXX Batch file  |  2000-06-30  |  3KB  |  46 lines

  1. !  TITLE:  Assembly Language CMD Macro File
  2. !  %d%u:;get 100 ws.com;poke 392 ff;go %f
  3. 1 %d%u:;get 100 nw.com;poke 74e ff;poke 787 ff;go %f;%h:
  4. 2!if %t=z80;%d%u:;era %n.bak;zas %n;if er;zlink %d:%n,a:grwlib/,a:grxlib/,a:vlib/,a:z3lib/,a:syslib/;era *.rel;else;echo errors;fi;else;echo --> not z80 type <-- ;fi
  5. 3!if %t=mac;%d%u:;era %n.bak;m80 =%n;sak /zp7 Errors, cancel link (^C)?;l80 /p:100,%n,a:vlib/s,a:z3lib/s,a:syslib/s,%n/n/u/e;era *.rel;else;echo  --> not mac type <-- ;fi
  6. 4!if %t=asm;%d%u:;era %n.bak;mac %n $-spz;sak /zp7 Errors, cancel load (^C)?;mload %n;era %n.hex;else;echo --> not asm file type <-- ;fi
  7. 5 ROOT:ldr WORK:sys-2.ndr;ASM:;ROOT:vmenu *.* asm.vmn
  8. 6!ROOT:xdir %d%u:*.* ogoh'u=all areas, p/d to printer/disk, <cr>=default: '
  9. 7 MAIL:;ROOT:menu t3.mnu
  10. 8 ROOT:vtype %$
  11. 9 if ex %d%u:%n.lbr;%d%u:;nulu -o %n -f;%h:;else;sak /p2 file not library;fi
  12. 0 %d%u:;BASE:lzed %$;%h:
  13. a ROOT:alias %$
  14. c!ROOT:crc %$
  15. l if %t=lbr;%d%u:;ROOT:llf %n;%h:;else;sak /p2 file not library;fi
  16. n %d%u:;ROOT:nulu -o %f -f;%h:
  17. p protect %$ 'Protect Attribute (r=r/o,a=archive,s=sys,1..8): '
  18.  !%d%u:;if xn crunch (y) or squeeze (n) file (y/n)? ;crunch %f;else;sq %f;fi;%h:
  19. s!%d%u:;echo squeeze (y) or crunch (n) file (y/n)? ;if in;sq %f;else;crunch %f;fi;%h:
  20. u!%d%u:;if %t=?q?;usq %f;else;if %t=?z?;uncr %f;else;echo not compressed file ;fi;fi;fi;%h:
  21. v ROOT:;vtype %$
  22. x!%d%u:;%n;%h:
  23. z!%d%u:;%n "Command Tail: ";%h:
  24. #
  25.                                                          Aliases Available
  26.                                                           GH  - Get Help
  27.                                                           GS  - Get Spelling
  28.                                                           SEE - See COMMAND.LBR
  29.  
  30.               >>> ASSEMBLY LANGUAGE PROGRAM DEVELOPMENT MENU <<<
  31.  
  32.     -----------------------------------------------------------------------
  33.      1 - EDIT Pointer File  (Newword)           <esc>   Alias (BALIAS) - A
  34.      2 - ASSEMBLE Z80's (ZAS & ZLINK)                CRC of File (CRC) - C
  35.      3 -    "     MAC'S   (M80 & L80)           List Files in LBR File - L
  36.      4 -    "     ASM'S (MAC & MLOAD)        Enter Library File (NULU) - N
  37.      5 - Program Development Area (VMENU)          Protect File (PROT) - P
  38.      6 - Directory of Current Disk (XDIR)    Compress File (Sq/Crunch) - S
  39.      7 - Telecommunicate      (Term3)      Uncompress File (Unsq/Uncr) - U
  40.      8 - View Pointer File    (VTYPE)                View File (VTYPE) - V
  41.      9 - Enter Library File    (NULU)                     Execute File - X
  42.      0 - EDIT Pointer File     (LZED)               Run File with Tail - Z
  43.     -----------------------------------------------------------------------
  44.  
  45.  (LZED)               Run File with Tail - Z
  46.     -------------