283 Commits

Author SHA1 Message Date
Toni Wilen
283e985fdc Fix 68060 MMU MOVEM.L (An)+,<regs> if regs contain An. Small cleanup. 2023-12-13 21:27:56 +02:00
Dimitris Panokostas
b375799dd4
Minor fixes
- Fix missing #ifdef DEBUGGER in a few places
- Fixed decide_hdiw2 parameters when DEBUGGER is not available
- Removed redundant extra break statement in intputdevice.cpp
2023-11-02 16:13:43 +01:00
Thomas Huth
595454adaf Remove unused parameters (there is no "%" in the format string here) 2023-10-01 12:35:13 +02:00
Toni Wilen
fe444426bf MMU mode MOVEM.x <regs>,-(An) where <regs> includes target An update. 2023-09-17 11:06:51 +03:00
Toni Wilen
f27259a2e9 LPSTOP fix 2023-02-10 21:27:31 +02:00
Toni Wilen
f879b62451 Removed unneeded function 2022-11-28 19:15:23 +02:00
Toni Wilen
2c8b3fd26a Reformatting. 2022-11-19 19:48:51 +02:00
Toni Wilen
03dcb34827 Fix BKPT stacked PC 2022-11-19 19:42:08 +02:00
Toni Wilen
5715469411 68000 IPL fix 2022-10-30 17:56:27 +02:00
Toni Wilen
f2a9a01946 IPL wait state fix 2022-10-23 20:42:41 +03:00
Toni Wilen
b134c34f1a 68000 accurate IPL timing emulation 2022-10-19 15:24:01 +03:00
Toni Wilen
43bf50bef2 Separated two types of CPU emulation functions. (Returns value/returns void) 2022-10-06 22:07:35 +03:00
Toni Wilen
97361dd8cf Accurate 68000 IPL emulation updates 2022-10-01 19:51:54 +03:00
Toni Wilen
ac26506b6d Warning fixes, preparing for future ARM64 build. 2022-08-21 20:06:22 +03:00
Toni Wilen
3592a948fc Interrupt handling timing update, separate Paula internal INTREQ changes vs INTREQ CPU/Copper writes. 2022-08-07 20:50:50 +03:00
Toni Wilen
f65526dab1 STOP timing fix. 2022-07-20 20:58:54 +03:00
Toni Wilen
ab65865854 Yet another STOP emulation rewrite. Not yet fully cputester validated. 2022-07-11 11:40:18 +03:00
Toni Wilen
46ca03de7a STOP cycle-accuracy fix, stop state/wakeup added to DMA debugger. 2022-06-06 18:44:50 +03:00
Toni Wilen
08f964ad1b STOP update 2022-05-12 21:57:54 +03:00
Toni Wilen
0722d5d3fa SR modifying instruction IPL check update 2022-04-17 20:55:06 +03:00
Toni Wilen
f99d1c8360 68000 IPL detection timing fixes. 2022-04-17 18:06:23 +03:00
Toni Wilen
6d760d40ff Yet another 68000 IPL timing update. 2021-10-03 17:04:14 +03:00
Toni Wilen
5d7e943a79 Another 68000 IPL poll timing update. 2021-10-01 22:50:27 +03:00
Toni Wilen
717e10f796 RESET special case 2021-09-27 20:44:25 +03:00
Toni Wilen
1910345fc1 68000 IPL timing update 2021-09-27 17:57:07 +03:00
Toni Wilen
e55659e2aa Restore (an)+/-(an) modification before generating unimplemented instruction exception. 2021-01-17 13:44:39 +02:00
Toni Wilen
87a9be1b65 68000/10 MOVEM special case was also incorrectly enabled for 68020/030. 2020-12-16 19:48:57 +02:00
Toni Wilen
f5e3805b2d If long write, poll IPL after first word. 2020-12-06 15:58:44 +02:00
Toni Wilen
5b05c0a701 Do not do 68000 IPL sampling when writing last data, it is too late. 2020-09-26 18:07:57 +03:00
Thomas Huth
88a781dd24 Mark the nfgenerated variable with NOWARN_UNUSED
The variable is only used if NOFLAGS_SUPPORT_GENCPU is not set, so GCC
emits a compiler warning about a set-but-unused variable here. Let's
use the NOWARN_UNUSED() macro to suppress the unnecessary warning in
this case.
2020-08-22 10:11:18 +02:00
Toni Wilen
0ff7325649 Reformatting. 2020-07-29 15:57:38 +03:00
Toni Wilen
e6856a8ab8 Separated NOFLAGS_SUPPORT to NOFLAGS_SUPPORT_GENCOMP and NOFLAGS_SUPPORT_GENCPU 2020-07-28 16:06:18 +03:00
Toni Wilen
6bb71af5c2 Aranym JIT merge. 2020-07-27 19:56:31 +03:00
Toni Wilen
5a90fb5a36 CAS2 writes Rn2 first. 2020-07-13 22:51:13 +03:00
Toni Wilen
edf73ea6e3 DIVL causing exception should only reset (an)+/-(an) if 68060 unimplemented. 2020-07-06 22:28:14 +03:00
Toni Wilen
0e8f39de2d Fix CHK2 and STOP/LPSTOP internally generated exception stacked PC. 2020-06-26 10:08:42 +03:00
Toni Wilen
697fa411f4 Fix TRAPcc stacked PC. 2020-06-25 21:16:30 +03:00
Toni Wilen
13089af624 4400b8 2020-06-23 20:29:12 +03:00
Toni Wilen
71cb316dc2 68020/030 prefetch and MMU tweaks. 2020-06-08 20:54:03 +03:00
Toni Wilen
9b97a6b1d9 CPU model specific edge case updates. 2020-05-31 19:44:35 +03:00
Toni Wilen
ca9902640d Some 68010 cycle count fixes. 2020-05-23 18:50:44 +03:00
Toni Wilen
e6e0a47d24 More 68010 bus error fixes. 2020-05-21 21:12:33 +03:00
Toni Wilen
d34258d399 68010 address errors fixed. 2020-05-21 19:16:34 +03:00
Toni Wilen
3c29f6105f Some 68010 address error stack frame fixes. 2020-05-21 16:49:03 +03:00
Toni Wilen
5f648f27fb 68030 MMU fixes. Software fixed pipeline stage fixes and more compatible (prefetch) locked rmw and mmufixup fix. 2020-05-21 16:48:20 +03:00
Toni Wilen
71a11cce49 Fix 68000 MOVE write address error stacked PC. 2020-05-17 12:19:20 +03:00
Toni Wilen
580b3f2dad 68000 write bus error stack frame PC field fix. 2020-05-16 22:16:10 +03:00
Toni Wilen
adb40372c5 68000 prefetch bus error stacked PC fix. 2020-05-16 18:39:27 +03:00
Toni Wilen
fabb94e72e Memory shift instruction prefetch bus error flag fixes. 2020-05-16 18:11:46 +03:00
Toni Wilen
fa98992cf5 68000 read bus error PC field fixed. Prefetch bus errors only partially fixed. 2020-05-10 14:12:49 +03:00