As little as it contributes: Clock Signal — which emulates the Electron and the Archimedes — has a similar scheme to the above, although it used to be more similar and it isn't universally available.
Where possible, the current state of the emulated screen is drawn to your screen at whatever output rate your screen is set to. The state of the emulated screen isn't quite continuous but it's also not artificially divided into whole frames or whole lines. So if you have a 120Hz monitor then it should just output at 120Hz.
It also for a while used a fixed internal tick rate of 1000Hz for updating emulator activity but now it runs just-in-time upon any received keypress, the beginning of vertical retrace or an audio queue exhaustion.
This at least is all true of the macOS version. SDL, and especially Qt, but substantial obstacles in the way to doing exactly the same everywhere.
An audio-based test for input latency might actually be more effective than a video-based one since most machines can still accept analogue speakers which introduce virtually no outside-the-box latency. That is, for emulators that don't just turf out audio once per frame into a buffer big enough that they can afford to do that.
Where possible, the current state of the emulated screen is drawn to your screen at whatever output rate your screen is set to. The state of the emulated screen isn't quite continuous but it's also not artificially divided into whole frames or whole lines. So if you have a 120Hz monitor then it should just output at 120Hz.
It also for a while used a fixed internal tick rate of 1000Hz for updating emulator activity but now it runs just-in-time upon any received keypress, the beginning of vertical retrace or an audio queue exhaustion.
This at least is all true of the macOS version. SDL, and especially Qt, but substantial obstacles in the way to doing exactly the same everywhere.
An audio-based test for input latency might actually be more effective than a video-based one since most machines can still accept analogue speakers which introduce virtually no outside-the-box latency. That is, for emulators that don't just turf out audio once per frame into a buffer big enough that they can afford to do that.
Statistics: Posted by ThomasHarte — Wed Dec 18, 2024 5:40 pm