Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!educ-isis!teexand From: teexand@ioe.lon.ac.uk (Andrew Dawson) Newsgroups: comp.sys.atari.st.tech Subject: How much stack space do system calls need Message-ID: <1990Oct31.092645.28872@ioe.lon.ac.uk> Date: 31 Oct 90 09:26:45 GMT Reply-To: teexand@ioe.lon.ac.uk (Andrew Dawson) Organization: Institute of Education University of London Lines: 16 Is there a defined figure somewhere that specifies how much stack space is needed for TOS/GEM calls? When writing TSRs and Desk Accessories I don't want to waste more space than is really necessary. Obviously I need enough to stack the call arguments plus the SR and return address, but how much more is then required for the call itself - Rwabs() for instance, seems to need quite a lot of space. Any ideas? =============================================================================== Andrew Dawson, Computer Unit, Windeyer Building, University College & Middlesex School of Medicine, Cleveland Street, London W1P 6DB, England. JANET: andrew@uk.ac.ucl.sm.uxm EARN/BITNET: andrew@uxm.sm.ucl.ac.uk INTERNET: andrew%uxm.sm.ucl.ac.uk@nsfnet-relay.ac.uk UUCP: ...!ukc!uxm.sm.ucl.ac.uk!andrew ===============================================================================