home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / atari / st / tech / 6278 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.2 KB  |  27 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!hanauma.jpl.nasa.gov!hyc
  3. From: hyc@hanauma.jpl.nasa.gov (Howard Chu)
  4. Subject: Re: Supexec
  5. Message-ID: <1992Dec15.230338.17672@elroy.jpl.nasa.gov>
  6. Sender: news@elroy.jpl.nasa.gov (Usenet)
  7. Nntp-Posting-Host: hanauma.jpl.nasa.gov
  8. Organization: SAR Systems Development & Processing, JPL
  9. References: <2b25c6d5@p15.f202.n281.z2.fidonet>
  10. Date: Tue, 15 Dec 1992 23:03:38 GMT
  11. Lines: 14
  12.  
  13. In article <2b25c6d5@p15.f202.n281.z2.fidonet> p15.f202.n281.z2.fidonet!Vincent_Partington@nextjk.wlink.nl writes:
  14. >Well, d0-d2 and a0-a2 certainly will not be guaranteed to work because the
  15. >TOS-routines use (some of) those to determine the address of the
  16. >Supexec-routine. But maybe d3-d7 and a3-a6 will survive because tose are
  17. >always the ones TOS-routines are guaranteed not to be changed.
  18. >But to be on the safe side: pass the arguments via the stack ar a fixed
  19. >paramter block.
  20.  
  21. I've noticed in at least TOS 1.4 and TOS 1.6 that register a5 is zeroed when
  22. the called routine gets executed. That was rather distressing to discover...
  23. -- 
  24.   -- Howard Chu @ Jet Propulsion Laboratory, Pasadena, CA
  25.  
  26. All true wisdom is conveyed in one-line witticisms.
  27.