gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > FIFO interrupts disabled?

#158425 - HyperHacker - Wed Jun 11, 2008 5:32 am

What happens if the FIFO input transitions to non-empty while interrupts are disabled (i.e. REG_IME = IME_DISABLE)? Does the interrupt fire when you enable it again, or is it lost?
_________________
I'm a PSP hacker now, but I still <3 DS.

#158426 - DekuTree64 - Wed Jun 11, 2008 5:43 am

It will fire as soon as interrupts are enabled again.
_________________
___________
The best optimization is to do nothing at all.
Therefore a fully optimized program doesn't exist.
-Deku

#158427 - HyperHacker - Wed Jun 11, 2008 5:57 am

Excellent, thanks.
So the bug is elsewhere... <_<
_________________
I'm a PSP hacker now, but I still <3 DS.