(0000024)
parabellum (administrator)
2009-11-03 14:42
edited on: 2009-11-04 10:05
|
The emulator detects end of frames using the 6522 T2 timer. After each end of frame, it waits for a specified delay, in order to achieve a constant framerate.
So far, we made the assumption that the T2 counter was always set to 30.000 (which is the default for most of the existing games), but Bedlam does set this counter to 49407 ($C0FF). Hence, ParaJVE was running the game at 160% of its original speed.
Now that it has been fixed, the emulator computes the ratio (T2 value / 30000), and use this as a factor to multiply the initial delay to wait for the next frame.
|