Page 5 of 8

Re: ADFFS 2.65 public beta

Posted: Wed May 16, 2018 12:59 pm
by JonAbbott
JonAbbott wrote: Wed May 16, 2018 7:38 am it's a debounce issue with the Mouse, when you click "Start" to begin the game
As I suspected, Nevryon doesn't key debounce. It's not something I can fix in the boot script as the files in question are repeatedly loaded from both Disc 1 and Disc 2. A possible solution is for me to reimage the discs with slow sectors, which might give the player enough time to lift the mouse button to workaround the issue.

However, all is not lost. Grab the latest obey.zip and the SA version from the dev site, I've detailed what changes need to be made in its boot script.

Regards the crash when loading a 2nd time, I've yet to investigate although suspect its an issue with the BASIC26 Module being terminated.

Re: ADFFS 2.65 public beta

Posted: Wed May 16, 2018 8:55 pm
by JonAbbott
Vanfanel wrote: Tue May 15, 2018 5:19 pm Another problem with Nervryon: if you run it two times in a row without rebooting, the game hangs on quit the second time.
The cause of the hang was this bug feature in RISC OS. I had implemented a workaround when emulating earlier RISC OS versions, but I've now removed that restriction to save wasting a day diagnosing the problem again! It now replaces OS_Byte 13 to prevent RISC OS putting events into a locked state.

Updated Modules on the dev site.

Re: ADFFS 2.65 public beta

Posted: Thu May 17, 2018 3:35 pm
by JonAbbott
2.65l available in the OP, with the following changes:
  • Voice handlers no longer randomly shut off
  • OS_Byte 13 now prevents RISC OS putting events into a locked state

Re: ADFFS 2.65 public beta

Posted: Fri May 18, 2018 6:57 pm
by Vanfanel
@Jon:

-"Nevryon" does not cause itself or another games to hang on quit after running. Solved for both SA and normal version! SA version is great for installing, too!
Joystick works perfectly now, too!
EDIT: On Nervryon, I made my way to the score table, and entering characters show corrupt letter graphics.

-"Stunt Race 2000" has music problems on the menu, occasional distortion can be heard if you let the music play.

-"The Dungeon" has music problems on the menu, occasional distortion can be heard if you let the music play.

Re: ADFFS 2.65 public beta

Posted: Sun May 20, 2018 11:58 am
by JonAbbott
Vanfanel wrote: Fri May 18, 2018 6:57 pm Nevryon, I made my way to the score table, and entering characters show corrupt letter graphics.
I'll take a look.
Vanfanel wrote: Fri May 18, 2018 6:57 pm-"Stunt Race 2000" has music problems on the menu, occasional distortion can be heard if you let the music play.

-"The Dungeon" has music problems on the menu, occasional distortion can be heard if you let the music play.
I noticed that too in Pushy on a Pi3, but when I tested on a Pi2 I couldn't reproduce it, so assumed it was something on my Pi3 causing the issue. Sounds like I need to investigate further.

I've not managed to reproduce it in either Stunt Racer 2000 or Nevryon, original or SA versions, but Pushy is consistently doing it on my Pi3.

Re: ADFFS 2.65 public beta

Posted: Sun May 20, 2018 1:34 pm
by JonAbbott
Vanfanel wrote: Fri May 18, 2018 6:57 pm -"Stunt Race 2000" has music problems on the menu, occasional distortion can be heard if you let the music play.

-"The Dungeon" has music problems on the menu, occasional distortion can be heard if you let the music play.
Try the Modules on the dev site, I've lowered the priority of the 50hz ticker and moved the blitter into it, to see if it helps. Note that it may cause video issues such as dropped frames as audio will be higher priority, but will quickly prove if its an IRQ priority issue.

Re: ADFFS 2.65 public beta

Posted: Sun May 20, 2018 9:13 pm
by Vanfanel
@Jon: I have tried the modules on the dev site on my Pi3, and in fact the same exact audio issues are present on the same games.

Re: ADFFS 2.65 public beta

Posted: Mon May 21, 2018 8:57 am
by JonAbbott
Maybe there's also an IRQ issue in the games in question, which versions of the games does it occur in? Could you also confirm if you're using 50hz, just in case it's VSync timing related.

The change did fix Pushy, I've not tested Wizard Apprentice yet which I've just remembered was another it occurred on...on Pi3 only. I'm fairly certain the problem is being caused by the blitter as its worse with higher resolution modes, but I'm not sure why as IRQ/FIQ are enabled whilst it's running. I can only hazard a guess that something in the sound system isn't getting called when threaded.

I'll knock up a version of the Modules where you can turn the blitter off. That will at least prove if the blitter is the issue in your case.

Re: ADFFS 2.65 public beta

Posted: Mon May 21, 2018 10:00 am
by Vanfanel
@Jon: They are:
-The Dungeon: F1012901
-Stunt Racer 2000 [SA version]: F1044501 (The original Stunt Racer 2000 does not work anymore for comparision: it says "stunt racer has found an error")

Re: ADFFS 2.65 public beta

Posted: Mon May 21, 2018 10:19 am
by JonAbbott
JonAbbott wrote: Mon May 21, 2018 8:57 am I'll knock up a version of the Modules where you can turn the blitter off. That will at least prove if the blitter is the issue in your case.
Modules are on the dev site, hit CTRL-SHIFT-F11 to toggle the blitter on/off. You may have to hit it a few times before it turns off, just move the mouse each time you press it to see if it's stopped updating the screen.
Vanfanel wrote: Mon May 21, 2018 10:00 am -Stunt Racer 2000 [SA version]: F1044501 (The original Stunt Racer 2000 does not work anymore for comparision: it says "stunt racer has found an error")
Today's obey.zip should fix that, it didn't have enough sprite memory.