View Single Post
Old 02 April 2022, 02:09   #14
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,014
Quote:
Originally Posted by a/b View Post
Set-up is ok if you preface it with e.g. $7fff to INTENA (disable everything, and btw calling exec's Disable() won't do the job properly). If you only do $c020 to INTENA, you are enabling VBL int3 but also leaving the rest as is (e.g. inherited from system, which has several other interrupts enabled).
I'd also do $0020 to INTREQ (in your case it doesn't matter I guess, but in general you might not want your interrupt to trigger right away because request bit was pre-set).
He already does $0020 to Intreq with the moveq #$20,d0
Galahad/FLT is offline  
 
Page generated in 0.04414 seconds with 11 queries