Re: A92: Need Help to replace interrupt vectors
[Prev][Next][Index][Thread]
Re: A92: Need Help to replace interrupt vectors
Vincent Bernardi wrote:
> 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
>
Of course you have to restore the old vectore, else Fargo re-relocates the
function linked into
AutoInt1, during it runs, and all crashs. (This is the same, like returning
from a program without
switching off grayscale, I did this some time ago, the results can be quite
strange)
Follow-Ups:
References: