Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cbmvax!bryce From: bryce@cbmvax.UUCP (Bryce Nesbitt) Newsgroups: comp.sys.amiga.tech Subject: Re: Help with Supervisor State Keywords: supervisor state Message-ID: <5858@cbmvax.UUCP> Date: 30 Jan 89 22:48:46 GMT References: <10510@well.UUCP> Reply-To: bryce@cbmvax.UUCP (Bryce Nesbitt) Distribution: comp Organization: Commodore Technology, West Chester, PA Lines: 13 In article <10510@well.UUCP> sjm@well.UUCP (Stephen Moehle) writes: | | stack = SuperState(); | i = 55; | UserState(stack); The UserState() function does not work in 1.2/1.3 Kickstarts. Sorry. Software interrupts run in supervisor mode. The "Supervisor()" function lets you trap to a supervisor function ending in RTE. Just put the address of the function in A5. D0 is preserved from the supervisor function.