program: EI HALT
T80 enter halt state, INT later has no effect
Z80 manual says: During the execution of this instruction and the following instruction, maskable interrupts
which is true, however on the real Z80 sequence EI HALT work just fine. HALT works like NOP and interupts are disabled on first NOP execution and enabled on subsequent NOP executions.