PicoMite V6.00.02 release candidates - all versions


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 12221
Posted: 10:14pm 13 Apr 2025      

  Quote  A very interesting feature I have found, while testing to see how much programs slowed while playing a mp3, is that they actually speed up??
My usual test program of bubble does this.

No mp3 at 1280 resolution 284mS per iteration.
Play mp3 at 1280 resolution 260mS per iteration.
Play mp3, but ended (or paused) at 1280 resolution 234mS per iteration! so a 20% speed up, for playing and imediately pausing a mp3?


I've isolated this issue to something to do with opening any file and leaving it open

Instead of playing an mp3 and pausing it just include the line
"Open "bootcount" For input As #1"
nothing else and you will get the performance back.

Now, if anyone can see where in the MMbasic code this is making the difference, please let me know. I thought it might be CheckSDCard(); but patching this out doesn't make the difference so at the moment I'm stumped.