;
                                  MEX2Z.COM                                   

             Size (recs) CRC   Version    Author/Latest Issue      Disk
               1k (5)    F154  1.0        Bruce Morgen 12/86       Z3COM6

  1- Usage  2- Notes                                                          


   MEX2Z is a simple pseudo-pipe between MEX (Version 1.14, although adaptable
to MEX+,  I'm sure) and ZCPR3.   It passes anything entered on the MEX command 
line after a CPM,  EXIT,  SYSTEM  or (except in MEX+,  for which  this program 
would have to be altered anyway)  BYE command to Z3 for processing.   Thus you 
could enter CPM ZFILER  and ZFILER would be invoked immediately on termination 
of MEX.  Control would pass back to MEX on exit from ZFILER.   Of course,  you 
can  also type EXIT CRUNCH WORK:MYTXT.FIL to perform  a system-level operation 
and immediately return  to MEX,  creating  a  temporary shell  effect whenever 
appropriate.  
:1

   Usage:


   Just put MEX2Z.COM  on your Z3 path  and invoke  MEX with an alias or ARUNZ 
command  line  like  YOURMEX;MEX2Z,   assuming  your  copy  of  MEX  is  named 
YOURMEX.COM, calling that command MEX - that's all there is to it.

:2

MEX2Z Notes:

   a. MEX2Z uses a  slightly modified version  of Joe Wright's FENV routine to
      detect and locate the environment descriptor.   This may create problems
      for  some  Apple systems  -  Apple users  might  want  to  substitute  a 
      conventional  ZCPR3  header with LD HL,(Z3EADR) sequence  and bypass the 
      first error test.   That aside,  it should work on any Z3 system.     

   b. MEX2Z  is assembled  with  ZAS  or Z80ASM  and  linked  by PROLINK  with 
      SFENV.REL and Z3LIB.  A Z80, NSC800 or HD64180 CPU is required.
