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
The mask should be channel A and the source channel B for the blit of the bob, the template is doing the reverse.
This doesn't cause any noticeable effect onscreen in the demo because the bob is being drawn over a cleared background, but this is confusing for anyone looking at the code.
I've corrected the lines below in main.c, You can verify this is correct by looking at 6.4 in the Amiga Hardware Reference Manual.
custom->bltcon0 = 0xca | SRCA | SRCB | SRCC | DEST | ((x & 15) << ASHIFTSHIFT); // A = mask, B = source, C = background, D = destination
...
custom->bltapt = src + 32 / 8 * 1;
...
custom->bltbpt = src;
The text was updated successfully, but these errors were encountered:
The mask should be channel A and the source channel B for the blit of the bob, the template is doing the reverse.
This doesn't cause any noticeable effect onscreen in the demo because the bob is being drawn over a cleared background, but this is confusing for anyone looking at the code.
I've corrected the lines below in main.c, You can verify this is correct by looking at 6.4 in the Amiga Hardware Reference Manual.
The text was updated successfully, but these errors were encountered: