[A89] Re: change the SR
[Prev][Next][Index][Thread]
[A89] Re: change the SR
> move.w #0x0700,d0
> trap #1
> move.l (0x00000064),old_int1
> ...
> move.l (0x000000bc),old_trap15
> bclr.b #2,(0x00600001)
>
> move.l #MyInt1,(0x00000064)
> ...
> move.l #MyTrap15,(0x000000bc)
> bset.b #2,(0x00600001)
> trap #1
Thanks for the info. Hehe a little optimizy thingie(cmiiw): swap $2700 to
the SR so supervisor mode is enabled, then use move d0,sr insteed of trap #1
the second time.
btw which of the files do I have to start to use prosit none of the p-files
work.
Bye,
Cheiz
Follow-Ups:
References: