Page 14 of 14

Re: Chroma 81 - SCART and Colour interface for the ZX81

Posted: Fri Jan 12, 2018 8:40 pm
by gammaray
mrtinb wrote:
Fri Jan 12, 2018 8:30 pm
gammaray wrote:
Fri Jan 12, 2018 6:53 pm
Is Chroma compatible with the UDG characters using the UDG board by Andy, is it?
If I remember correctly Chroma implements UDG by itself.
Sorry, I thought this needed a on of the Fruitcake ROM cards. RTFM...

Re: Chroma 81 - SCART and Colour interface for the ZX81

Posted: Fri Jan 12, 2018 9:11 pm
by sirmorris
gammaray wrote:
Fri Jan 12, 2018 6:53 pm
I believe it was said not to work with ZXpand...
Don't believe everything you read.

Re: Chroma 81 - SCART and Colour interface for the ZX81

Posted: Sat Jan 13, 2018 1:22 pm
by Fruitcake
RobertK wrote:
Fri Jan 12, 2018 8:06 pm
It's no big issue, but do you know why in the EightyOne emulator the PC's cursor keys worked with the previous version, but not with this one? Here both keys move the base to the left. It's no big problem as this seems to affect only the emulator.
The patch checked for the standard game keys (SHIFT and Z) but if neither were pressed then it checked for the 5 and 8 cursor keys. When using EightyOne, the arrow keys on the PC keyboard map to SHIFT+5 and SHIFT+8. Therefore pressing either of these will cause SHIFT to be pressed. Because the game code checks for SHIFT first, it interprets both arrow keys as a request to move to the left!

A possible solution is to change how EightyOne handles the arrow keys, changing the interpretation from "5,6,7,8 (Shifted)" to "5,6,7,8" under Options > Keyboard.

However, a more robust solution is to simply reverse the order in which the game checks for the keys, i.e. if it does not detect keys 5 or 8 being pressed then it goes on to check for the SHIFT and Z keys. The attached version uses this approach.

spaceraiders(cursor_then_standard_keys).zip
(2.44 KiB) Downloaded 2 times

Re: Chroma 81 - SCART and Colour interface for the ZX81

Posted: Sat Jan 13, 2018 7:35 pm
by RobertK
Fruitcake wrote:
Sat Jan 13, 2018 1:22 pm
However, a more robust solution is to simply reverse the order in which the game checks for the keys, i.e. if it does not detect keys 5 or 8 being pressed then it goes on to check for the SHIFT and Z keys. The attached version uses this approach.
This version is perfect, thanks!

Attached is the .col file that I have declared to be the final version. Furthermore I have attached a standalone .txz file so that non-Chroma-owners can try the patched and colourized game in the EightyOne emulator, you just need to activate Chroma colour (menu "Options" - "Hardware" - change "Colour" to Chroma).