Re: A92: Need Help to replace interrupt vectors


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

Re: A92: Need Help to replace interrupt vectors




Vincent Bernardi schrieb:
>
> 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
>
> Thanks in advance,
> Vincent Bernardi
>
>
You should perhaps reinstall the old vector before terminating your program, 
would work without crash, I suppose		A.K.


References: