Closed dirkwhoffmann closed 5 months ago
Thread settings have moved to the Performance panel:
The new version supports time-slicing; that is, a single frame can be computed in smaller chunks (up to 4). By increasing the number of time slices, the emulator can become more responsive, depending on how a C64 game polls the joystick ports. However, there won't be any difference for most games (especially those that poll the joystick lines once per frame).
At the moment, VirtualC64 emulates the C64 frame by frame. That is, the emulator thread computes an entire frame, sleeps, computes an entire frame, sleeps, etc.
With the reworked execution routine, it is easy to make this more flexible by letting the thread compute, e.g., half a frame or the third of a frame. Smaller execution chunks could (in theory) make the emulator more responsive as it could recognize some joystick movements already in the middle of a frame rather than at the end.