Reduced number of HW interrupt inputs to 6 as per specs.
Implemented first version of IRQ masking.
Updated SW simulator (still missing IRQ delay).
IRQ test added to cputest.
HW irqs still fail when they hit some kinds of instruction.