This is to ensure that changes made by the copper happens after the beginning of a new scanline to prevents glitches or artifacts on the display
The Amiga's display hardware (the Denise chip) performs its initial setup for a new scanline at the beginning of that line, but there is a small processing delay before the actual pixels are rendered. By waiting for the horizontal position to reach 7, you ensure the Copper is synchronized with the start of a new scanline, giving the system enough time to prepare the new line.
ok thanks, so the most likely thing i found i think is this one:
The time-slot allocation per horizontal line is:
4 cycles for memory refresh
3 cycles for disk DMA
4 cycles for audio DMA (2 bytes per channel)
16 cycles for sprite DMA (2 words per channel)
80 cycles for bitplane DMA (even- or odd-numbered slots)
so i imagine that the "glitch" happening when waiting for horizontal cycles prior to 7 is that if you have to change something visible there, there's no guarantee of it being flicker-less (especially when audio and disk activity can pop in and out).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.