View Single Post
Old 05 May 2005, 15:25   #6
cdoty
RasterSoft Dev
 
cdoty's Avatar
 
Join Date: Feb 2005
Location: Manteno IL
Posts: 58
Send a message via ICQ to cdoty Send a message via AIM to cdoty
I've posted the relevant parts of the source to http://www.emuvibes.com/Src.zip

It starts in Sprites.c with AddSprite, which does work correctly.

Then any changes in the sprite's position or graphics causes AddEraseBlock to be called.

These are restored starting in WaitVBlank in Routines.s. WaitVBlank calls RestoreBackground, which processes through the EraseBlock structure looking for any used EraseBlocks. RestoreBackground calls BlitBack for each block found.
cdoty is offline  
 
Page generated in 0.41472 seconds with 11 queries