Menu

#493 Emulator Pause function "slips" when game loaded from WAV file

future
open
nobody
None
5
2023-02-21
2023-02-21
No

I'm using fuse 1.6.0 Windows port. I have a WAV file of Elite's "Commando" (in 8-bit mono) and when I load from that wav file (accelerated loader) it all works fine. If I pause the emulator at some point, I see the red "paws" light up in the bottom right corner as expected and the emulator pauses.

But if I leave it in that state, at some time alter (usually within around 60 seconds), the emulator starts running again at high speed for a second or so, before returning to normal 100% speed. The red "paws" are still lit up, and there is no sound from the emulated game.

My guess is that some timer is firing (presumably due to the wav file input?) which sets the emulator running again in "accelerated" mode before returning to 100%, but it still says paused.
Pressing the "pause" sequence again stalls the emulator for about half a second, before it starts running again and the red paws turn grey again.

It only seems to do it once after loading from WAV. i.e. if i repeat the above once the emulator is running normally again, it does not reproduce.

The WAV file is trimmed at the end (so it's not playing an additional 60 seconds of silence to the emulator or anything like that). The emulator is in +3 mode.

I've tried playing with the "Accelerate loaders" and "Fastloading" options, but they don't make any difference. If I load the game with both turned off, I can still see the same behaviour.

There does seem to be a window in which this effect is noticed though. I've not experimented much with this, but if I load the game and leave it a few minutes, start playing and pause it, I don't see this effect, so perhaps there is a timer firing at some fixed point from the end of the wav file stopping, and if I pause within that window, I see this effect.

If I load the game (with accelerated and fastloading enabled), wait 2 minutes, then start playing the game and Pause it, I don't see this effect (I waited 2 minutes after pausing and it didn't unpause and continue).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.