sinamas 0b87d54229 libgambatte: halt re work
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.)
2019-03-31 23:46:26 +02:00
..
2019-03-31 23:46:26 +02:00
2014-07-24 13:00:59 +02:00
2014-07-24 13:00:59 +02:00
2019-03-31 23:46:26 +02:00
2014-07-24 13:00:59 +02:00
2014-07-24 13:00:59 +02:00