Re: A89: disabling interrupt 1


[Prev][Next][Index][Thread]

Re: A89: disabling interrupt 1




In a message dated 10/18/99 4:08:38 AM Eastern Daylight Time, 
zoltan@bendor.com.au writes:

> If you mean interrupt level 1 (as opposed to vector number 1, which is 
>  the reset PC) then
>  
>     move.w #$2100,%sr
>     
>  should pretty well work.

l tried doing that in the .asm library l am writing, where this is the only 
code:
...
keylib@0002:
    move.w #$2100,sr
    rts
...

and it exits out with a "privilege violation" when that function is called. 
???

--TurboSoft

Visit the TURBOSOFT HOMEPAGE:  The most current Basic and C programs created 
by TurboSoft for the 89, and the most 89 web links.
<A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>


Follow-Ups: