VRAM command object exiting Y = 0 how to do it?

Por Daemos

Prophet (2170)

imagem de Daemos

04-02-2023, 16:01

So I have a problem. My engine scrolls up and down but the VRAM coordinates stay as they are so when a softsprite crosses the Y=0 boundary on screen the sprite gets copied on screen until Y=255 and then continues into the next page.

Logically this happens but are there any easy and fast solutions to make the command continue into Y = 0?

Entrar ou registrar-se para comentar

Por snake

Expert (71)

imagem de snake

09-04-2023, 22:14

I think checking vertical coordinate and eventually using two copy commands instead of one is the only solution. Considering software sprites in bitmap mode are very slow, i think overhead won't be significant.