Commit Graph

13 Commits

Author SHA1 Message Date
feos
0c45a8a8ab
use UNLIKELY() macro (#554) 2024-04-20 20:16:54 +02:00
ekeeke
405c54555e [Core/CPU] improved 68k auto-vectored interrupts acknowledge cycle timing accuracy (fixes Pacman 2 - New Adventures crashes during Pac-Jr minigame levels transitions) 2024-02-20 18:54:00 +01:00
ekeeke
9f25226536 [Core/CD] improved emulation of Word-RAM access limitations in 2M mode (fixes regression in Mortal Kombat) 2024-01-16 14:00:21 +01:00
ekeeke
6cc8bbc277 [Core/CD] added emulation of Word-RAM access limitations in 2M mode (fixes graphical issues in Marko's Magic Football) 2023-11-18 19:38:33 +01:00
ekeeke
70cfbd909f [Core/CPU]
- fixed 68k timings of BCHG, BCLR, BTST Dn,#Imm and Dn,Dm instructions when bit number is less than 16 (cf. Yacht.txt)
- fixed 68k timings of CHK, TRAP, TRAPV, LINEA and LINEF exceptions (cf. Yacht.txt)
2023-01-06 09:03:30 +01:00
vadosnaprimer
d1e7cd6bea add CPU hooking functionality
can be used by a frontend to implement breakpoints or tracelogging
currently hooked: M68K executing/reading/writing, VDP reading/writing (only for MegaDrive)
2019-04-21 20:35:38 +03:00
Brian Koropoff
fe21bb5950 Tidy up overclock code
Also use full available precision for overclock ratio.
2017-10-07 17:24:37 -07:00
Brian Koropoff
f3e0641b1b Allow more fine-grained overclocking
Some games can benefit from a little overclocking but start behaving
strangely at 2x.  Make the internal overclock ratio a fixed point
number and add 3 fractional settings.
2017-10-04 22:07:45 -07:00
Brian Koropoff
2135365d5c Add experimental overclock option.
This reduces all cycle costs by half for the primary CPU.  There
is a delay upon loading before overclocking is applied as a
workaround for some games that detect PAL/NTSC systems by counting
cycles in a frame at startup.
2017-10-03 16:46:17 -07:00
EkeEke
ee0fd881f6 [Core/CPU] removed 68k stack access optimizations to prevent unintentional (or intentional) ROM corruption 2017-05-08 16:35:05 +02:00
EkeEke
9810f9d34b [Core/CPU] minor optimization to 68k read/write handlers 2017-05-08 15:59:32 +02:00
EkeEke
fa8929eb3d [Core/CPU] improved 68k auto-vectored interrupts acknowledge cycle timing accuracy (fixes background color corruption during Bubsy cutscenes) 2016-08-15 21:53:12 +02:00
EkeEke
aede1b9299 rearranged core & back-end specific code (part 2) 2013-06-17 22:31:31 +02:00