Or it starts keypress scan?
That would be a good use for a periodic interrupt too, but we need to see some disassembled code at the ISR vector to get any further.
Ah I see, so the IRQ is masked automatically after power on reset, so I will need to look for a CLI instruction in the code?
Not necessarily. I am not that familiar with the 6802 microprocessor. This product was introduced late in the last century, and not by Intel whose products I am familiar with. This μP automagically clears and disables interrupts when an unmasked or enabled interrupt is serviced, obviating the need for a CLI instruction. However, the IRQ input, being an active-low level-triggered interrupt can be "wire ORed" with multiple interrupting devices. This allows the ISR to determine which device caused the interrupt and possibly rank them by priority, allowing another device to assert an interrupt by issuing a CLI instruction during the ISR. This is tricky business, stacking and prioritizing interrupts, probably a remnant from minicomputer architectures which early μPs attempted (and eventually succeeded) to replace. This is not the case where you are concerned as your schematic shows only one device, the output of the 555 oscillator, connected to the maskable IRQ input.
Here is a flow chart showing how IRQ interrupts are serviced:
Note that the interrupt is serviced only if the Im mask bit is cleared, and if the bit is cleared it is immediately set after saving the MPU status on the stack. This allows the ISR to continue without interruption, if desired. Later, an RTI instruction pops the previous status wherein the Im mask bit is cleared and the program continues from where it was interrupted. Notice that a CLI instruction is not necessary in this instance. OTOH, if multiple devices can assert IRQ by pulling it low, the ISR can issue a CLI instruction to allow those devices to be serviced on a priority basis, thus nesting the ISRs. Clearly this is not happening here, and the details are beyond the scope of the original question.
The above snippet is taken from a
PDF file describing assembler programming for the 6802.
This is all "down in the noise" concerning what the IRQ pulses are doing. Post some dis-assembled code to show what is going on if and when the interrupt is enabled and serviced.