emu86
emu86 copied to clipboard
Adaptative IPS
First ELKS port to 8018X revealed that a better timing accuracy is needed to predict the target responsiveness. As the main loop frequency is already measured, the idea is to compute ratios for timer frequency and CPU IPS, and adapt the emulator IPS to match the emulator timer frequency.
Example for the R8810: Tfreq = 5 MHz, Efreq = 3 MHz -> Rf = 0.6 Tips = 1.3 M -> Eips = 0,78 M -> Ri = 0.26 The emulator should execute 26 instructions per 100 iterations.
@cocus : what would be the OR566 frequencies ?