Posted: Thu Sep 06, 2012 10:10 pm
External IS level 2, but remember that the mask is a MASK. Just as you use level 3 to ALLOW level 4 and higher, you use level 1 to allow level 2 and higher. That simplified the interrupt hardware in the chip... when a level X int is asserted, just copy that level into the mask and you're safe! No need to make an adder circuit to put X+1 into the mask.Stef wrote:External is not level 2 ? but as we don't need it we usually set mask interrupt to 3 (so horizontal interrupt are not masked)Chilly Willy wrote:Unless you're using the light gun support in the controller code, then you need to use level 1, not level 3.![]()
Not a big deal... you'll know if you're using a light gun as you need to look if they're available and then set the controller support to turn on the gun(s).