🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #24368

Some of the mysteries of Pexec solved

#24368
From: david
Date: Fri, 09 Jan 1987 13:48
21 lines
1382 bytes
Well, after a bit of trial and error hacking, I got Pexec's load-no-go
and just-go modes to work.  Load-No-Go takes the same parms are regular
Pexec  (mode, path, tail, env).  Just-Go does not work as advertised
in the latest GEMDOS doc's which state that the parms are
(mode, who_cares, who_cares, basepage_addr), with basepage_addr
as returned by load-no-go.

Use of this calling sequence produced rather nice looking crashes, 
but little else.  Since Atari documented the middle two parameters
as being unimportant, I changed the call to:
 
Pexec(mode = 4, basepage, basepage, basepage),

and lo and behold, it worked !  Isn't GEM Documentation wonderful ?
I don't know which is the needed pointer and which aren't, and I 
don't particularly want to take the extra time to figure 
it out as getting this thing to work has taken too long anyway!

David Rowley
Looking Glass Software
Waterloo, Ontario
Technical Details
Message-ID: <726@looking.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!looking!david

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!looking!david
From: david@looking.UUCP
Newsgroups: comp.sys.atari.st
Subject: Some of the mysteries of Pexec solved
Message-ID: <726@looking.UUCP>
Date: Fri, 9-Jan-87 08:48:44 EST
Article-I.D.: looking.726
Posted: Fri Jan  9 08:48:44 1987
Date-Received: Sat, 10-Jan-87 04:40:03 EST
Distribution: na
Organization: Looking Glass Software Ltd. Waterloo, Ontario
Lines: 21