gooofy / aqb

A BASIC Compiler and IDE for Amiga Computers
MIT License
74 stars 7 forks source link

Sprites not working in screen modes >15Khz #16

Closed marcoslm closed 1 year ago

marcoslm commented 2 years ago

I tested the "Sprite tutorials" which opens a window in Workbench screen. My Workbench runs in DBNTSC screen mode.

SpriteDemo1 : Sprite not displayed SpriteDemo2 : Runtime error 200 at "ILBM LOAD SPRITE" SpriteDemo3 : Sprite not displayed

This occurs in screen modes with a horizontal frequency greater than15Khz.

gooofy commented 2 years ago

sorry, cannot reproduce this - I just tried DBLNTSC (640x400) as well as PRODUCTIVITY (640x480) and SpriteDemo1 works just as it should.

marcoslm commented 2 years ago

I have found why. Test this modes in combination with "VGA Only" monitor (in devs/monitors, and reboot to apply).

gooofy commented 2 years ago

thanks for the additional info, I can reproduce the issue now. However, I doubt there is much I can do about this - disappearing sprites seem to be normal for these modes:

https://eab.abime.net/showthread.php?t=32725&highlight=dblntsc+sprites

indeed, I tried the "ssprite" RKRM example with this setup and it suffers the same issue.

blackborn66 commented 1 year ago

I also didn't see the sprites. Reason is for me, that I use higher color depth and resolution in UAE. I added a standard SCREEN in every sprite demo and it works for me. Maybe goofy can pull this from my fork so other testers will not stumble over it.

gooofy commented 1 year ago

Opening a custom screen is a good idea - I have pulled your changes now, thanks for your contibution :)