Path: utzoo!utgpu!watserv1!ria!uwovax!7103_2622 From: 7103_2622@uwovax.uwo.ca (Eric Smith) Newsgroups: comp.sys.atari.st.tech Subject: Re: Spurious interrupt Message-ID: <6855.26de8fe3@uwovax.uwo.ca> Date: 31 Aug 90 20:27:15 GMT References: <883@ehviea.ine.philips.nl> <1166@uhnix2.uh.edu> <885@ehviea.ine.philips.nl> <1168@uhnix2.uh.edu> <1081@netmbx.UUCP> Lines: 17 In article <1081@netmbx.UUCP>, franky@netmbx.UUCP (Frank Bergemann) writes: > anybody here, who knows how to get the tos-routines (gemdos, (x)bios) > reentrant, to use in interrupts ? same question failed in german > nets. we don't know which adresses (or their contents) must be > saved and reinstalled before leaving an interrupt... > The BIOS and XBIOS routines are already somewhat re-entrant, and can be made more so by providing a bigger BIOS stack. GEMDOS is inherently non-reentrant. The safest strategy is probably just to set a flag in the interrupt routine, and then have the user code check the flag every so often and take the appropriate action. -- Eric R. Smith email: Dept. of Mathematics ersmith@uwovax.uwo.ca University of Western Ontario ersmith@uwovax.bitnet London, Ont. Canada N6A 5B7 ph: (519) 661-3638