🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11260

Re: Help with Supervisor State

#11260
From: Bryce Nesbitt
Date: Mon, 30 Jan 1989 22:48
13 lines
900 bytes
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.
Technical Details
Message-ID: <5858@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cbmvax!bryce
References: <10510@well.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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