Re: "New" Game - ZONKEY KONG! by DnD
Posted: Wed Apr 28, 2021 9:49 pm
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.
Discussion forums for users of the Sinclair 8-bit range of computers - ZX80, ZX81, ZX Spectrum, Z88, clones...
https://www.sinclairzxworld.com/
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.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.
The new joystick support works though!computergui wrote: ↑Thu Apr 29, 2021 1:47 amAgreed 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.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.