View Single Post
Old 30 September 2018, 10:01   #29
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Quote:
Originally Posted by roondar View Post
In other words, I can reset the sprite width to 16 pixels wide, but because the writing to SPRxDATA/B needs to happen after the reset there is never enough time to actually create that sprite layer I hoped to achieve.
I didn't test SPRxDATx writes but it is possible copper/cpu write to SPRxDATx do nothing or write garbage if FMODE is set to 32 or 64 wide sprites.

Quote:
*) it seems that an update to FMODE after the last words (i.e. pixels 48-63) of a sprite have started drawing does not cause a gap. I've not tested this in great detail, but this is what seems to be the result of at least one of my tests.
In my tests FMODE change is safe during last 32 pixels. You can easily confirm that there is no other side effects by writing to FMODE back to back, first write sets sprite to 16 or 32 wide, then back to 64 wide: sprite should have has small gap in last 32 pixel part but some pixels still remaining.
Toni Wilen is offline  
 
Page generated in 0.04519 seconds with 11 queries