View Single Post
Old 30 September 2019, 22:43   #22
deimos
Registered User

 
Join Date: Jul 2018
Location: Londonish / UK
Posts: 489
Quote:
Originally Posted by meynaf View Post
The problem here is that VERTB and BLIT share the same interrupt vector.
And the IRQ is set even if not enabled (this is actually useful, you may want to poll events this way).

Therefore the code will work fine by simply replacing :
Code:
UWORD intreqr = custom->intreqr;
by :
Code:
UWORD intreqr = custom->intreqr & custom->intenar;
Yes, that's exactly what I've done. Everything now works and seems solid.
deimos is offline  
 
Page generated in 0.04409 seconds with 11 queries