home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.atari.st.tech
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!hanauma.jpl.nasa.gov!hyc
- From: hyc@hanauma.jpl.nasa.gov (Howard Chu)
- Subject: Re: Supexec
- Message-ID: <1992Dec15.230338.17672@elroy.jpl.nasa.gov>
- Sender: news@elroy.jpl.nasa.gov (Usenet)
- Nntp-Posting-Host: hanauma.jpl.nasa.gov
- Organization: SAR Systems Development & Processing, JPL
- References: <2b25c6d5@p15.f202.n281.z2.fidonet>
- Date: Tue, 15 Dec 1992 23:03:38 GMT
- Lines: 14
-
- In article <2b25c6d5@p15.f202.n281.z2.fidonet> p15.f202.n281.z2.fidonet!Vincent_Partington@nextjk.wlink.nl writes:
- >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.
-
- I've noticed in at least TOS 1.4 and TOS 1.6 that register a5 is zeroed when
- the called routine gets executed. That was rather distressing to discover...
- --
- -- Howard Chu @ Jet Propulsion Laboratory, Pasadena, CA
-
- All true wisdom is conveyed in one-line witticisms.
-