home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!Sirius.dfn.de!mailgzrz.TU-Berlin.DE!cs.tu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!wtrlnd!nextjk!fidonet!p15.f202.n281.z2.fidonet
- From: Vincent_Partington@p15.f202.n281.z2.fidonet
- Newsgroups: comp.sys.atari.st.tech
- Subject: Re: Supexec
- Message-ID: <2b25c6d5@p15.f202.n281.z2.fidonet>
- Date: Wed, 9 Dec 92 11:11:42 +0100
- Reply-To: p15.f202.n281.z2.fidonet!Vincent_Partington@nextjk.wlink.nl
- Distribution: world
- X-FSC-PID: LED 1.00
- Lines: 23
-
- In a message of <Tue 1 Dec 92 11:44>, Roger-Hunen (2:281/202.0) writes:
-
- R> I am writing a program that requires a routine executed in Supervisor
- R> mode. I use Supexec (XBIOS $26) for that. Is it documented what
- R> registers are preserved by Supexec, ie. what registers are passed
- R> unmodified to my routine?
-
- Well, d0-d2 and a0-a2 certainly will not be guaranteed to work because the
- TOS-routines use (some of) those to determine the address of the
- Supexec-routine. But maybe d3-d7 and a3-a6 will survive because tose are
- always the ones TOS-routines are guaranteed not to be changed.
- But to be on the safe side: pass the arguments via the stack ar a fixed
- paramter block.
-
- Ta!
- Vincent
-
- FidoNet : 2:281/202.15
- NeST : 90:500/202.15 <-- NEW ADDRESS!!!
- Usenet : vincent@nextjk.wlink.nl
-
- --- MARSmail v1.20/4D
- * Origin: For questions about Jekyll: N_JEKYLL (2:281/202.15)
-