You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use bitmap_addr to calculate the memory address from drawing coordinates. Address calculation requires three cycles, so we delay write enable (we) to match. We need to delay the colour index (cidx) similarly.
Current examples use a single colour for a shape, and the initialisation steps hide this issue. However, this bug is evident when a shape is drawn with multiple colours.
The text was updated successfully, but these errors were encountered:
The Sinescroll demo doesn't suffer from this issue and provides a template for a fix.
See code under: // delay pixel colour to match address calculation
We use
bitmap_addr
to calculate the memory address from drawing coordinates. Address calculation requires three cycles, so we delay write enable (we
) to match. We need to delay the colour index (cidx
) similarly.Current examples use a single colour for a shape, and the initialisation steps hide this issue. However, this bug is evident when a shape is drawn with multiple colours.
The text was updated successfully, but these errors were encountered: