Commit Graph

9 Commits

Author SHA1 Message Date
paulb-nl
611a58dcd2 CPU: Write on cycle T2&T3. (Fix Conker Pocket Tales glitches) 2021-04-11 15:50:47 +02:00
paulb-nl
f62e031f56 CPU: Change Interrupt/Halt behavior
- Run NOP instead of instruction if an Interrupt is asserted before
fetching the opcode.
- Start Interrupt at the end of a single M-Cycle instruction and not
Halted.
- DMG: Exit Halt if Interrupt is asserted at the beginning of the
M-Cycle (GBC: At the end of the M-Cycle).

Starting the Interrupt takes 4 M-Cycles. It can take an extra M-Cycle
depending on the above conditions.
2021-03-16 13:20:58 +01:00
paulb-nl
2ce35cccd5 CPU: Read on TCycle 3 instead of 2 2021-03-16 13:20:57 +01:00
paulb-nl
5025b66c28 Fix IRQ acknowledge edge case
The wrong IRQ could be acknowledged if a higher priority IRQ was
asserted at the second cycle.
2021-01-06 11:56:34 +01:00
RobertPeip
ca8b55dfb3 added savestates and rewind feature (#123) 2020-12-29 23:38:30 +08:00
paulb-nl
c26731fcab Interrupt fixes (Pinball Fantasies)
- CPU: Acknowledge IRQ between high & low byte stack push
  (ie_push, Pinball Fantasies)

- CPU: Remove delay from INT_n signal, tweak STAT IRQs.
  (hblank_ly_scx_timing, intr_2_0)
2020-12-22 13:23:42 +08:00
Bruno Duarte Gouveia
c5602f2fa6 T80: halt bug implemented 2020-06-27 22:06:55 +08:00
Bruno Duarte Gouveia
6602ca8795 T80: skip byte after a stop opcode, fixes the Konami Collection Startup bugs 2020-06-20 01:23:21 +08:00
sorgelig
d714b89453 Update sys. Re-organizing the sources. 2020-05-10 23:22:32 +08:00