Simultaneous vblank and hblank interruption?

Page 2/2
1 |

Par Metalion

Paragon (1628)

Portrait de Metalion

17-06-2022, 14:27

aoineko wrote:

I read that BIOS default ISR used reti

No, the BIOS ISR does not use reti, it uses a simple ei / ret.
Here is the exit of the ISR (INTRET) :

        POP     IX              ;Restore all registers
        POP     IY
        POP     AF
        POP     BC
        POP     DE
        POP     HL
        EX      AF,AF'
        EXX
        POP     AF
        POP     BC
        POP     DE
        POP     HL
        EI
        RET
Page 2/2
1 |