Date : Sat, 18 Jan 1986 22:58:33 GMT
From : "Jacob M. Parnas" <jparnas%vger.uucp@BRL.ARPA>
Subject: Re: Chaining programs
In article <60@ucdavis.UUCP>, u557593877ea@ucdavis.UUCP (Bruce K. Martin
Jr.) writes:
> Fellow netlanders--
> I am looking for a quick and dirty way to get one CP/M program to execute
> another. I have been told (by someone who didn't have the details) that
> it is possible to have the CCP perform this function (thereby relieving me
> of the problem of writeing a loader). If anyone has done this or could give
> me a pointer to some information, I would appreciate the help.
The best example that I have of this is contained in the source code to
the public domain program SYNONYM3. Basically what is done is that the
command line buffer in the CCP is stuffed with the command line to be
executed, the proper length and character position pointer is set and
control is transferred to the CCP. This does not work with ZCPR, and can
only be used if the program you are chaining from does not overwrite the
CCP. Get the source to SYNONYM3 from a BBS or your local user group and
have fun.
John M. Sully
...!ucbvax!ucscc!ucscl!suzuki