home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / atari / st / tech / 6275 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.3 KB

  1. 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
  2. From: Julian_Reschke@ms.maus.de (Julian Reschke)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Re: Supexec
  5. Message-ID: <A53866@MS.maus.de>
  6. Date: 14 Dec 92 08:22:00 GMT
  7. References: <A57218@HB.maus.de>
  8. Organization: MausNet (Mitglied im IN e.V.)
  9. Lines: 26
  10. X-Gateway: MausGate/News 1.14D/hb
  11.  
  12. Eric R. Smith (ersmith@netcom.com) wrote:
  13. >It certainly isn't documented. Under MiNT only 20 bytes of arguments
  14. >can be passed on the stack, and the called function's address is
  15. >*not* passed to the function, i.e.:
  16. >   Supexec(foo, bar, baz)
  17. >results in a call like:
  18. >   foo(bar, baz)
  19. >not
  20. >   foo(foo, bar, baz).
  21.  
  22. That would be 'good enough' if it can be guaranteed to work on all
  23. TOS versions.
  24.  
  25. >[...]
  26. >Isn't that why there are separate "supervisor" and "master" stack
  27. >pointers on the 68030?
  28.  
  29. Yes, but it's unused in TOS (ask Johannes_Hill@ms.maus.de (author
  30. of TempleMon) for details).
  31.  
  32. All I 'need' is a *reliable* way to pass arguments to functions
  33. running in supervisor mode (without having to put them into global
  34. variables). If this can't be done with the existing calls, I'd vote
  35. for a new one in MiNT.
  36.  
  37. Regards, Julian
  38.