Blinky's Scary School menu don't work

User avatar
mambrino
Posts: 21
Joined: Sun May 24, 2020 6:56 pm
Has thanked: 7 times
Been thanked: 2 times

Blinky's Scary School menu don't work

Unread post by mambrino »

Hi,

I've tried different combinations of settings and game versions to play Blinky's Scary School in spectrum core, and none of them works for me. Tested 48/128k mode and tap/tzx/sna tosec files. All of them get stuck in the main menu and is not possible to start playing.

Does it work for you? Any suggestion for compatible settings?

Thanks ;)
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: Blinky's Scary School

Unread post by pgimeno »

This is due to a bug in the core's implementation of port 0xFE. I was suspicious that there was no Issue 2 / Issue 3 selector in the menu, and this has confirmed my fears.

If you go here: https://worldofspectrum.org/faq/referen ... erence.htm and scroll down to where it says "Bit 6 of IN-Port 0xfe is the EAR input bit", there's a test program there. This core fails the test; the result is that you're in a Spectrum emulator.

The menu of Blinky's Scary School relies on the 0xF7FE port returning 0xBE, 0xBD, 0xBB or 0xB7 depending on the key pressed; however this core always returns 0xFE, 0xFD, 0xFB or 0xF7 for the corresponding keys (bit 6 stuck to 1).

Abu Simbel Profanation had a similar problem that rendered it unplayable with the keyboard in some machines/emulators. Indeed it is unplayable in this core too.

If you have the ADC module, you can try playing audio through the ADC input to see if you can select an option (that should force bit 6 of the port to flicker, returning the expected values sometimes). I don't know if the game will work after that.

Edit: Also, the ZX Next core gets this right, so you can use it instead.
User avatar
mambrino
Posts: 21
Joined: Sun May 24, 2020 6:56 pm
Has thanked: 7 times
Been thanked: 2 times

Re: Blinky's Scary School

Unread post by mambrino »

Thanks for the info. As soon as i've played audio across the adb port, the game has worked perfectly. I have also tried to replace CP values next to IN A,FE and it works too. It seems that bit 6 is set always to 1 if no audio is received from adb input. Maybe someone who knows the code can add a menu option to change this behavior.
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: Blinky's Scary School menu don't work

Unread post by pgimeno »

It's not exactly a menu option to make this optional; it's something to be fixed in order for the core to behave as a real Spectrum. It can be fixed to a certain model, Issue 2 or Issue 3, or the model can be a menu choice, but the current behaviour does not match either, causing compatibility issues.

If someone can post it to the GitHub issue tracker, that'd be nice. I left GitHub for good.

https://github.com/MiSTer-devel/ZX-Spec ... Ter/issues
User avatar
mambrino
Posts: 21
Joined: Sun May 24, 2020 6:56 pm
Has thanked: 7 times
Been thanked: 2 times

Re: Blinky's Scary School menu don't work

Unread post by mambrino »

I have already open the issue:

https://github.com/MiSTer-devel/ZX-Spec ... /issues/21

Thanks again ;)

EDIT: Sorgelig has fixed the problem, now it works as expected for an issue 3
User avatar
pgimeno
Top Contributor
Posts: 669
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 246 times
Been thanked: 208 times

Re: Blinky's Scary School menu don't work

Unread post by pgimeno »

Thanks! It's something.

Sadly, Abu Simbel Profanation requires Issue 2 behaviour to work. Ideally it should be a menu choice.
User avatar
mambrino
Posts: 21
Joined: Sun May 24, 2020 6:56 pm
Has thanked: 7 times
Been thanked: 2 times

Re: Blinky's Scary School menu don't work

Unread post by mambrino »

ops, it's true, i've tested my abu simbel version and probably it's patched for issue 3 because it works with these changes. I reopen github issue to see if anything can be done.

Thanks
Post Reply