Agemixer(11:06:01)
but probably the smallest size for the code: if the read scanline is other than previous+1, then we are just sync
Agemixer(11:03:55)
the slowest way is to check for chance of scanline using 62 or 64 cycle counts while the actual rasterline lenghtvis 63cy. (PAL machine)
Agemixer(11:01:33)
yet 4th way to sync chips is about halving the jitter, reading every scanline changes (slow method but not slowest)
Agemixer(10:58:39)
(badline DMA or sprite DMA, CpU has to stop executing for others chips accessing the bus)