Page 4 of 5

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Wed Apr 28, 2021 9:49 pm
by Spinnetti
PS, Should be able to select any of the normal keys now too, thanks to a fine debug by Don. First post updated with lastest version.

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Wed Apr 28, 2021 10:15 pm
by JohnsBargs
Well, it still doesn’t like QAOP - P doesn’t work - but otherwise it seems hunky-dory on both Windows and Retropie. Yay!

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Wed Apr 28, 2021 11:02 pm
by Spinnetti
Weird! Thanks... I use QZBM. QAO worked for me but not P... I guess just some combos of emulator, OS and keyboard are gonna be flaky.

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Thu Apr 29, 2021 12:30 am
by BarryN
The QAOP problem has nothing to do with any emulator. On my Timex Sinclair 1000, if I try to set a keyboard config of O left, P right, Q up, A down, the first problem I have is the config routine won't acknowledge the A, if I then use a Z instead of A, then O doesn't work in the game. Before anyone asks, my keyboard on my Timex Sinclair 1000 works fine for everything else. The SZ81 emulator which I have contributed code to behaves exactly the same as my physical machine, including even the key bounce issues where one one is sometimes detected as two or more key presses during the keyboard key setup.

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Thu Apr 29, 2021 1:47 am
by computergui
BarryN wrote: Thu Apr 29, 2021 12:30 am The QAOP problem has nothing to do with any emulator. On my Timex Sinclair 1000, if I try to set a keyboard config of O left, P right, Q up, A down, the first problem I have is the config routine won't acknowledge the A, if I then use a Z instead of A, then O doesn't work in the game. Before anyone asks, my keyboard on my Timex Sinclair 1000 works fine for everything else. The SZ81 emulator which I have contributed code to behaves exactly the same as my physical machine, including even the key bounce issues where one one is sometimes detected as two or more key presses during the keyboard key setup.
Agreed with your assessment. Our code calls the keyboard routine in ROM for both setting the values in the beginning and checking in the game. The values returned should be the same. Whether it’s the emulator or hardware. We found an issue where we didn’t recognize keys if the horizontal and vertical values returned from the ROM routine were equal. This is a more challenging bug. It works for nearly every key combo, and gets passed the initial setting of the keys yet fails in game. As much as I’m ready to close out this project, I’ll want to figure it out.

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Thu Apr 29, 2021 4:58 am
by BarryN
computergui wrote: Thu Apr 29, 2021 1:47 am
BarryN wrote: Thu Apr 29, 2021 12:30 am The QAOP problem has nothing to do with any emulator. On my Timex Sinclair 1000, if I try to set a keyboard config of O left, P right, Q up, A down, the first problem I have is the config routine won't acknowledge the A, if I then use a Z instead of A, then O doesn't work in the game. Before anyone asks, my keyboard on my Timex Sinclair 1000 works fine for everything else. The SZ81 emulator which I have contributed code to behaves exactly the same as my physical machine, including even the key bounce issues where one one is sometimes detected as two or more key presses during the keyboard key setup.
Agreed with your assessment. Our code calls the keyboard routine in ROM for both setting the values in the beginning and checking in the game. The values returned should be the same. Whether it’s the emulator or hardware. We found an issue where we didn’t recognize keys if the horizontal and vertical values returned from the ROM routine were equal. This is a more challenging bug. It works for nearly every key combo, and gets passed the initial setting of the keys yet fails in game. As much as I’m ready to close out this project, I’ll want to figure it out.
The new joystick support works though! :)

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Sat May 01, 2021 3:59 am
by Spinnetti
Ok, totally redid the key handling, saved 53 bytes of object code, and controls feel "smoother" (at least to me). Give it a test for me please? - Try your favorite key combos and your zxpand joystick - hopefully I didn't break that! If it all works, I'll update the first post with the latest code. Thanks!

Cheers,

D.

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Sat May 01, 2021 8:17 am
by BarryN
Well, so far I have tested it on SZ81 and QAOP now seems to work. I will test it on the real Timex Sinclair 1000 later and let you know how that goes.

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Sat May 01, 2021 10:49 am
by JohnsBargs
Yep, QAOP now working for me on EightyOne.

Re: "New" Game - ZONKEY KONG! by DnD

Posted: Sat May 01, 2021 1:12 pm
by Spinnetti
Awesome,

Thanks Gents.