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
/
ZSYS
/
ZSYSARK
/
Z3HLP02.ARK
/
M.LBR
/
MEX+2Z.HZP
/
MEX+2Z.HLP
Wrap
Text File
|
1990-03-23
|
3KB
|
53 lines
;
MEX+2Z.COM
Size (recs) CRC Version Author/Latest Issue Disk
2k (11) 6A31 1.3 Bruce Morgen 3/89 Z3COM6
1- Usage 2- Notes
MEX+2Z is a MEX-to-ZCPR3 chaining program. It gives the MEX command 'CPM'
a shell capability like that in the 16-bit version's SHELL command. Version
1.3 eliminates the need for separate MEX and Mex-Plus versions - one program
now handles both.
Derived from MEX2Z.COM by Bruce Morgen.
:1
Usage
MEX+2Z is used as follows:
1) Set the real MEX.COM file so that it will not be invoked by a command
of the form "MEX". This can be done by renaming it (e.g., to REALMEX)
or by putting it in a directory that is not along the search path.
2) Rename MEX+2Z.CIM to MEX.COM and place it along your path.
On exit from MEX, MEX+2Z runs and looks for the MEX command line left in
memory. It scans for the CPM command, takes anything in the command after
that, and puts it into the ZCPR3 command line with ";MEX" after it so that
the MEX alias will be run again after the other commands are finished. With
version 1.2, the baud rate constant will be passed to MEXRR as a parameter so
that it can poke it into place so that MEX will come back at its old rate. If
you leave MEX with the command "CPM CRUNCH FN.FT", the file will be crunched
and then you will return to MEX.
:2
MEX+2Z Notes
a. Version 1.3 eliminates the need for alias or ARUNZ support and the need
for separate MEX and Mex-Plus versions.
b. Version 1.2 sets up MEX+2Z as a type-3 program. By loading at 200h, it
can save MEX's current baud rate and restore it when it chains back to
MEX. MEX+2ZE.COM is for use with an ARUNZ alias.
c. Version 1.1 improves processing of the MEX command line to make it more
reliable and make it work with multiple commands in MEX-PLUS. The code
makes use of the way MEX-PLUS maintains the command line. With MEX114
the command line length is not stored at the beginning of the command
line; a value of zero is stored there. Bruce's original technique of
scanning for the terminating carriage return must be used. The MEXPLUS
equate takes care of this.