Ticket #561 (Open)Mon Oct 17 18:30:35 UTC 2022
Incorrect colours in Hopper during fade effects
Reported by: | Cameron Cawley (3514) | Severity: | Minor |
Part: | RISC OS: Module | Release: | |
Milestone: | Status | Open |
Details by Cameron Cawley (3514):
This is noticeable in the title screen, as well as when fading out after game overs
Changelog:
Modified by Sprow (202) Fri, December 23 2022 - 17:44:59 GMT
- Severity changed from Normal to Minor
- Part changed from RISC OS: Software library to RISC OS: Module
The fade colours look normal to my eyes. eg. if I focus on the red or green parts of the HOPPER title text, as they fade they get darker as expected.
This is on a real Risc PC in 256 colour mode.
Could you provide a screenshot, eg. by showing a known sprite at a couple of fade levels by calling the PsychoEffects SWI.
Modified by Cameron Cawley (3514) Thu, January 26 2023 - 20:39:40 GMT
- Attachment added: hopper-old.png
Attached a screenshot taken on an Archimedes with Hopper v1.00 (Dec 3 1996) and PsychoEffect v1.00 (24 Jan 1995).
Modified by Cameron Cawley (3514) Thu, January 26 2023 - 20:41:14 GMT
- Attachment added: hopper-new.png
Attached a screenshot taken on the same machine with Hopper v1.05 (23-Dec-14) and PsychoEffect v1.02 (19 Jun 2014).
Modified by Sprow (202) Sun, February 05 2023 - 12:19:38 GMT
- Attachment added: a5k_emu.png
Curious. On an (emulated) A5000 the colours and fades look right – attached is from Red Squirrel with Hopper v1.05 (23-Dec-14) and PsychoEffect v1.02 (19 Jun 2014).
Specifically what ‘Archimedes’ are you using?
Modified by Sprow (202) Tue, June 06 2023 - 07:20:39 GMT
Colours also correct on a real A5000, which I happened to have out for testing a Wimp update at the weekend.
Modified by Sprow (202) Sun, June 25 2023 - 08:52:38 GMT
- Status changed from Open to WorksForMe
Modified by Cameron Cawley (3514) Sat, July 22 2023 - 15:51:40 GMT
- Status changed from WorksForMe to Open
Unfortunately, this bug appears on all combination of RISC OS and hardware that I’ve tried with:
- Archimedes 410/1 with RISC OS 3.10
- Arculator v2.1 with RISC OS 3.10
- RPCEmu v0.9.4 with RISC OS 3.70, 5.28 and 5.29
- Raspberry Pi 400 with RISC OS 5.28, plus AnyMode 0.06b
Modified by Sprow (202) Sun, July 21 2024 - 08:00:38 GMT
I came at this with a fresh pair of eyes, checked out the sources from Git (I’d previously been using a tree on my development computer that came from CVS) and immediately reproduced the odd colours you mention.
Comparing, the issue is that somewhere in translation from CVS to Git the file ‘LinFade.s’ has got mangled. It should be a table of exactly 4096 bytes, but the copy in Git is shorter, as though line endings or tabs have been substituted or something.
I’ve let ROOL know as it feels wrong to submit a change with the file replaced; then the historical versions would be incorrect despite having featured in previous stable releases. This needs some low level repository fixup. In the meantime if you get that file out of CVS instead, everything’s fine!