Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!genrad!panda!talcott!harvard!seismo!mcvax!ukc!reading!minster!nigel From: nigel@minster.UUCP (nigel) Newsgroups: net.micro.atari Subject: Re: calling programs Message-ID: <672@minster.UUCP> Date: Thu, 23-Jan-86 06:15:46 EST Article-I.D.: minster.672 Posted: Thu Jan 23 06:15:46 1986 Date-Received: Sun, 26-Jan-86 05:31:34 EST References: <1122@cvl.UUCP> Reply-To: nigel@minster.UUCP (nigel) Distribution: net Organization: University of York, England Lines: 12 In article <1122@cvl.UUCP> eli@cvl.UUCP writes: > >Anyone out there used the gemdos Pexec command? It supposedly allows one >to call other programs from a main program. I've tried everything I could >think of to get it to work, but I've had no luck. It keeps returning error >code -39. According to the gemdos manual, this indicates not enough memory. A CPM 68K program has all the memory allocated to it, so there is none left when you try to do a Pexec(). I suspect you have used gems.o, rather than gemstart.o (if you have the ISV development system), as the latter reallocates memory for you. Alternatively, use the Mshrink() command.