View Single Post
Old 28 April 2010, 12:37   #2
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
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!
pmc is offline  
 
Page generated in 0.06917 seconds with 11 queries