Asman - I only quickly scanned the souce code but didn't run the .exe's
You have a vblank interrupt to keep things sync'd with the display but you are also waiting for vb in your main loop - I don't think you need to do both - in fact, I'm fairly sure when I've messed around with doing this in the past that it caused display problems...
Edit: Also - it looks like each interrupt you write the pointers to the sprite data into the copper list. Is this needed? If your sprites are animated then most likely yes but if not and you just want to move the sprites you shouldn't need to rewrite the sprite pointers into the copper list each frame. Obviously this won't cause any harm though...
Last edited by pmc; 28 April 2010 at 12:55.
Reason: read the source better, it's a vblank interrupt - not copper interrupt!
|