🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

The mysteries of Pexec - Help

#24314
From: david
Date: Wed, 07 Jan 1987 15:19
26 lines
1527 bytes
I am writing a profiler for the ST, everything is done except for a few
crucial parts.  When I get an address from the interrupt,
I need to make it relative to the basepage of the currently executing
application.  As I see it there might be two ways of doing this.

GEMDOS might possibly keep a pointer to the basepage of the currently
running application, but I haven't been able to find one anywhere,
or I can use Pexec in two stages, one to load the program to profile,
(Pexec returns the load address in this mode), and then use Pexec 
to execute the program.

There is one problem, though these various modes are mentioned in the
Atari Docs, they are not fully documented.  The reader is referred to
the 'Pexec Cookbook', which according to Atari Canada, does not exist.
As of yet, I have not been able to get this method to work.

Neil, Landon ?  Comments ?

Any insight on this would be appreciated.

I will post the profiler to the net when it is finished.

David Rowley
Looking Glass Software
Waterloo, Ontario
...!utzoo!watmath!looking!david
Technical Details
Message-ID: <724@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: The mysteries of Pexec - Help
Message-ID: <724@looking.UUCP>
Date: Wed, 7-Jan-87 10:19:19 EST
Article-I.D.: looking.724
Posted: Wed Jan  7 10:19:19 1987
Date-Received: Thu, 8-Jan-87 01:47:30 EST
Distribution: na
Organization: Looking Glass Software Ltd. Waterloo, Ontario
Lines: 26