Using OR-color, parts of sprite in y-dir is masked away
It seems like, when using OR-color on a sprite, parts of it are masked away in the case where a sprite with EVEN higher priority moves alongside. Not very well explained, I know, so I made a case. Test this to see what I mean:
https://webmsx.org/?MACHINE=MSX2&ROM=https://drive.google.co...
Here we have these 3 16x16 sprites, with a full/filled square, like this:
Sprite 0: Color 0x02 "green", no CC-bit
Sprite 1: Color 0x04 "blue", no CC-bit
Sprite 2: Color 0x08 "red", CC-bit set
Sprite 0|2: OR-Color 0x02|0x08 = 0x0A "yellow"
Sprite 1|2: OR-Color 0x04|0x08 = 0x0C "dark green"
So, press cursor keys to move sprite 0, with the highest priority, around. Why is sprite 2 (the sprite with the CC-bit set) masked away according to the y-pos of a sprite that is "two steps" higher in priority? Sprite 1 did not mask off anything on sprite 2.
(Other keys: SPACE = TURN OFF CC-BIT, RETURN = TURN ON CC-BIT)
I've tested this in openmsx, bluemsx, webmsx and on a physical machine.
It's probably me that is blind, but I haven't seen this in the documentation. Where is it?