Page 7 of 8

Re: ADFFS 2.65 public beta

Posted: Wed May 23, 2018 10:18 am
by JonAbbott
JonAbbott wrote: Wed May 23, 2018 8:51 am it doesn't appear to be setting it if RAMFS is currently 0K. Manually increase your RAM disc for the time being.
Fixed in the latest Modules, although it will fail if there are files in RAM::0 and the largest free block is smaller than what's required. I'm not sure I can fix that edge case, RAMFS prevents its size being altered if there are files in it.

Re: ADFFS 2.65 public beta

Posted: Wed May 23, 2018 5:09 pm
by Vanfanel
@Jon, with new modules:
-I got original SR2000 to work in 2MB mode, so it has now menu and in-game music. Good! However, heavy distortion can be hear on the Pi3. With no music, there's no distortion.
-SR2000 SA version shows distortion too, same as original SR2000.
-"The Dungeon" seems perfect. No distortion anymore as previously.

I'd look at the SR2000 music player at this point...

Re: ADFFS 2.65 public beta

Posted: Wed May 23, 2018 11:38 pm
by JonAbbott
Updated Modules on the dev site. I've made extensive changes to allow for SWI optimization going forward, which has the potential to break stuff. Most of the day has been spent testing and fixing specific edge cases, but its possible I've missed something.
Vanfanel wrote: Wed May 23, 2018 5:09 pm -I got original SR2000 to work in 2MB mode, so it has now menu and in-game music. Good! However, heavy distortion can be heard on the Pi3. With no music, there's no distortion.
-SR2000 SA version shows distortion too, same as original SR2000.
See if it's an issue with the 32bit version of ExSound by making the following changes to the boot script:
  • Comment out the "RMEnsure ExSound..." line near the top
  • Remove "190|M" from the "KEY 0" line near the bottom

Re: ADFFS 2.65 public beta

Posted: Thu May 24, 2018 10:51 am
by Vanfanel
@Jon: I did these changes to the boot script, and I still get the same distortions. What a mistery....

I will be doing tests on more games with the new modules.

Re: ADFFS 2.65 public beta

Posted: Thu May 24, 2018 12:23 pm
by JonAbbott
Has to be interrupt latency, the question is...where?

Re: ADFFS 2.65 public beta

Posted: Fri May 25, 2018 12:01 pm
by JonAbbott
Vanfanel wrote: Thu May 24, 2018 10:51 am I did these changes to the boot script, and I still get the same distortions. What a mistery....
Does the distortion stop if you hold down the left and right arrow keys, whilst the cursor is in the middle of the screen?

Re: ADFFS 2.65 public beta

Posted: Fri May 25, 2018 5:53 pm
by Vanfanel
@Jon: No, the arrow keys being pressed don't do anything.

This distortion only happens some times. Music sounds well, then suddenly it's like "tssssk!", sounds well again for a while then "tssk! tssk!", then OK again... and so on. It's not constant. Sometimes I have to be on the menu for a while for it to start happening, sometimes it doesn't start until I am playing the game or letting the demo run...

Another note: after running HD-installed SR2000 (SA version), there's a system error when trying to reboot the OS itself via CTRL+SHIFT+F12. Sometimes there are also files in RAM:. I believe something is not cleared on quit.

Re: ADFFS 2.65 public beta

Posted: Fri May 25, 2018 8:07 pm
by JonAbbott
Vanfanel wrote: Fri May 25, 2018 5:53 pm This distortion only happens some times. Music sounds well, then suddenly it's like "tssssk!", sounds well again for a while then "tssk! tssk!", then OK again... and so on. It's not constant. Sometimes I have to be on the menu for a while for it to start happening, sometimes it doesn't start until I am playing the game or letting the demo run...
Hmm, that doesn't sound like interrupt latency, it sounds like corruption. Do you have a way to record it?
Vanfanel wrote: Fri May 25, 2018 5:53 pm Another note: after running HD-installed SR2000 (SA version), there's a system error when trying to reboot the OS itself via CTRL+SHIFT+F12. Sometimes there are also files in RAM:. I believe something is not cleared on quit.
It will leave files in RAM: if you don't quit via the game exit icon. See if you get the OS error if you quit via the exit icon.

Re: ADFFS 2.65 public beta

Posted: Mon May 28, 2018 12:55 am
by Vanfanel
@Jon: Here's an audio recording from SR2000 I made with my cellphone (I can't get audacity to record from the jack port on my laptop...).
You can easily tell the distortions happening every few seconds.

https://www.dropbox.com/s/19yeljr1gb73q ... .43.33.ogg

Also, no errors on system reset if I quit via the in-game QUIT menu option.

Re: ADFFS 2.65 public beta

Posted: Mon May 28, 2018 6:02 pm
by JonAbbott
Vanfanel wrote: Mon May 28, 2018 12:55 am Here's an audio recording from SR2000 I made with my cellphone
It doesn't sound like its coming from SoundDMA as its a lot louder than the music, it's static, but where its coming from I have no idea.