home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!sun-barr!olivea!spool.mu.edu!yale.edu!ira.uka.de!smurf.sub.org!artcom0!hb.maus.de!ms.maus.de!Julian_Reschke
- From: Julian_Reschke@ms.maus.de (Julian Reschke)
- Newsgroups: comp.sys.atari.st.tech
- Subject: Re: Supexec
- Message-ID: <A53866@MS.maus.de>
- Date: 14 Dec 92 08:22:00 GMT
- References: <A57218@HB.maus.de>
- Organization: MausNet (Mitglied im IN e.V.)
- Lines: 26
- X-Gateway: MausGate/News 1.14D/hb
-
- Eric R. Smith (ersmith@netcom.com) wrote:
- >It certainly isn't documented. Under MiNT only 20 bytes of arguments
- >can be passed on the stack, and the called function's address is
- >*not* passed to the function, i.e.:
- > Supexec(foo, bar, baz)
- >results in a call like:
- > foo(bar, baz)
- >not
- > foo(foo, bar, baz).
-
- That would be 'good enough' if it can be guaranteed to work on all
- TOS versions.
-
- >[...]
- >Isn't that why there are separate "supervisor" and "master" stack
- >pointers on the 68030?
-
- Yes, but it's unused in TOS (ask Johannes_Hill@ms.maus.de (author
- of TempleMon) for details).
-
- All I 'need' is a *reliable* way to pass arguments to functions
- running in supervisor mode (without having to put them into global
- variables). If this can't be done with the existing calls, I'd vote
- for a new one in MiNT.
-
- Regards, Julian
-