Re: A92: Need Help to replace interrupt vectors


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

Re: A92: Need Help to replace interrupt vectors




You also have to add a routine at the end of the program to restore the
original interrupt vector.  This is in the graylib_off or whatever it's
called.

> I tried to use the way to redirect an interrupt vector used by David
> Ellsworth in gray4lib and suggested by him in "convert.txt" (see below),
> but when my program terminates, it always freeze the calc.
> By the way, the only thing my new interrupt vector do is branch to the old
> interrupt vector.
>
>         move.w  #$0700,d0
>         trap    #1
>         move.l  $64,old_int_1
>         bclr.b  #2,$600001
>         move.l  #int_1,$64
>         bset.b  #2,$600001
>         trap    #1




References: