Mercurial > repos > blastem
changeset 2585:c730067d5f77
Fix jsr in new CPU core
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 08 Feb 2025 16:37:15 -0800 |
parents | 5851240f71c9 |
children | 6c58cadeabe1 |
files | m68k.cpu |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/m68k.cpu Sat Feb 08 14:27:04 2025 -0800 +++ b/m68k.cpu Sat Feb 08 16:37:15 2025 -0800 @@ -2231,13 +2231,16 @@ invalid M 7 R 5 invalid M 7 R 6 invalid M 7 R 7 + local tmp 32 + + m68k_calc_ea M R 2 + tmp = ea a7 -= 4 scratch2 = a7 m68k_write32 pc - m68k_calc_ea M R 2 - pc = ea + pc = tmp cycles 4 m68k_prefetch