Re: A89: I need help disabling interupts!


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

Re: A89: I need help disabling interupts!




It would not be possible to disable auto interrupt 2 without also disabling auto
interrupt 1.  To do this, use:

move.b #$0200,d0
trap #1
move d0,-(a7)            ;to save old SR
:
:
move (a7)+,d0
trap #1                       ;to restore SR

zach wrote:

> Does anyone know how to disable an individual auto-interupt!  I would like to
> disable auto-int 2 for the duration of my program, and I do not know how.
> Does anyone on the list know?



References: