Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!ucsfcgl!pett From: pett@socrates.ucsf.edu (Eric Pettersen%CGL) Newsgroups: comp.sys.atari.st Subject: Re: Pexec Message-ID: <10028@cgl.ucsf.edu.ucsfcgl.UUCP> Date: Fri, 23-Jan-87 12:53:34 EST Article-I.D.: cgl.10028 Posted: Fri Jan 23 12:53:34 1987 Date-Received: Sat, 24-Jan-87 00:43:26 EST References: <870121153959.391842@DOCKMASTER.ARPA> <536@atari.UUCP> Sender: daemon@ucsfcgl.UUCP Reply-To: pett@socrates.ucsf.edu.UUCP (PUT YOUR NAME HERE) Organization: UCSF Computer Graphics Lab Lines: 37 In article <536@atari.UUCP> apratt@atari.UUCP (Allan Pratt) writes: >> Could someone send me info on the form used for calling pexec. I need >> the actual call, ie address, plus the expected arguments and return. >> Thanx in Advance. /bill > >... > >There is another possibility: you are writing assembly code with a PD >assembler, and you haven't bought any of the books describing the ST's >operating system. In that case, BTFM! (BTFM = please go purchase a book.) > >/----------------------------------------------\ >| Opinions expressed above do not necessarily | -- Allan Pratt, Atari Corp. >| reflect those of Atari Corp. or anyone else. | ...lll-lcc!atari!apratt >\----------------------------------------------/ Gee, I bought $300 worth of documentation from Atari itself and it doesn't seem to have the correct method of invoking Pexec() in it. I still haven't figured it out. Presumeably, mode 4 (create basepage) would return a basepage address. Does the Atari documentation mention this? No. Once one has a basepage address how does one subsequently invoke Pexec() with this address and what other arguments are then used with the call? The Atari documentation doesn't say. Rumor has it that Mshrink() must be invoked to give the called process memory to execute in. Does the Atari documentation mention this? No. How does one calculate how much memory to keep in the invoking program and starting from what address? The Atari docs don't say. It seems a little ridiculous that after paying $300 for docs that I would have to pay X more dollars to either buy more docs or to get onto Compuserve to see the corrected docs. Is there some gratis method of getting the correct documentaion for Pexec(), Allan? Eric Pettersen UCSF Computer Graphics Lab ucbvax!ucsfcgl!pett