Commit Graph

7 Commits

Author SHA1 Message Date
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
527fd6ecd8 [Core/VDP] improved VDP status read timing accuracy (fixes 'Marvel Land' demo mode) 2017-09-20 10:53:08 +02:00
EkeEke
5a74df31ee [Core/CPU] fixed 68k undocumented behaviors for ABCD/SBCD/NBCD instructions (thanks to flamewing for his test ROM) 2017-03-30 15:02:15 +02:00
EkeEke
aede1b9299 rearranged core & back-end specific code (part 2) 2013-06-17 22:31:31 +02:00