Re: A89: disabling interrupt 1
[Prev][Next][Index][Thread]
Re: A89: disabling interrupt 1
> 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.
> ???
You are running in user more. Changing interrupt levels is only
allowed in supervisor mode (of course). Someone familiar with the
TI's software internals should be able to tell you how to get into
supervisor mode.
Regards,
Zoltan
References: