🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GEMDOS Extended Argument Standard

#37527
From: Pekka Sarnila
Date: Thu, 30 Mar 1989 09:25
22 lines
1355 bytes
 Would it be totaly unthinkable to make GEMDOS Pexec to support
some more intelligent parameter passing. What I would propose:

if lenght is say FF the last long (after null) would contain
the pointer to unix like parameter structure. In that case
Pexec would count the lenght of that structure and allocate
that much more space and copy (and reloc pointers) it to the
new processes memory area.

Or programms that expect unix like parameter would have different
magic number from which Pexec would know to treat it differently.
Startup would just pass the pointer then to main().
(This is what I do in my GEMDOS enhancer)


 
-- 
-------------------------------------------------------------------
Pekka Sarnila,  University of Jyvaskyla Finland
sarnila@tukki.jyu.fi
-------------------------------------------------------------------
Technical Details
Message-ID: <558@tukki.jyu.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!mcvax!kth!draken!tut!santra!tukki!sarnila
References: <1405@atari.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!mcvax!kth!draken!tut!santra!tukki!sarnila
From: sarnila@tukki.jyu.fi (Pekka Sarnila)
Newsgroups: comp.sys.atari.st
Subject: Re: GEMDOS Extended Argument Standard
Keywords: dlibs, xargs, argv, gemdos, argument passing
Message-ID: <558@tukki.jyu.fi>
Date: 30 Mar 89 09:25:47 GMT
References: <1405@atari.UUCP>
Reply-To: sarnila@tukki.jyu.fi (Pekka Sarnila)
Organization: University of Jyvaskyla, Finland
Lines: 21