Closed skiselev closed 7 months ago
Are you certain about this? The pushf
saves the caller's interrupt flag state, disables interrupts while reading the latched bytes and then restores IF
to the previous state with popf
. So if interrupts were off previously, it will return with them off and if they were on, it will return with them on again.
Is this causing issues with something?
@640-KB thank you for checking on this! Doesn't seem to be a bug, POPF will restore the flags at the end of the routine
io_wait_latch in delay.inc disables interrupts but doesn't enable them back
Reported by batus74@meta.ua