0b87d54229
Findings of note: - The "skip" glitch, when halt is cancelled early, is not limited to the DMG; it is also present on the CGB revision tested and on a GBA SP. - The skip glitch also applies to the case when IME is high, in which case, the pushed return address is decremented (so that it points to the halt instruction, rather than to the subsequent instruction; the halt is repeated on an eventual ret). - The timing for when pending interrupts can cancel the halt state is different on the DMG (as in they can be detected earlier as compared with on the CGB revision tested), excepting the first/second M-cycle. (To facilitate this, information about when IRQs occur is propagated in the implementation.)