[fa.info-cpm] Procedure Call

ARPAVAX:C70:info-cpm (10/10/82)

>From medin@Ucb-C70 Sun Oct 10 16:16:56 1982
I have a friend who wants to call a .COM file like PIP from Pascal MT+.
Anybody know if this can be done and how??

                                    Milo Medin
                                    Medin@UCB-C70

ARPAVAX:C70:info-cpm (10/11/82)

>From UCBARPA.dag@Ucb-C70 Sun Oct 10 23:19:22 1982
Received: from UCBARPA.BERKELEY.ARPA by UCBVAX.BERKELEY.ARPA (3.207 [9/26/82])
	id A19563; 10-Oct-82 20:30:25-PDT (Sun)
To: info-cpm at BRL, medin at Ucb-C70
Via:  Ucb-C70; 10 Oct 82 23:29-EDT
Via:  Brl; 10 Oct 82 23:39-EDT
Via:  Brl-Bmd; 10 Oct 82 23:49-EDT

Two possible ways...your Pascal may (though I doubt it) have a neat
little routine called 'exec' otrr 'system' or 'chain' yththat does a load
and go of a com file.  Otherwise, the only way to do a chain is to
load the com file in memory wuititha  relocatable loader routine and jump
to it.  There are a couple of soon to be released software pacakges
that allow com files to be rubnn from other programs and then continue
to execute those programs.  So far they do not include pascal, and at 
any rate are not yet available to the general public.

Davdid

PS: sooryrry about wierd typing...it looks ok here by I feart that backspace
ashas gone the way of the winds.