This is what I did for Chuck Rock 2 (and Wonderdog)
I had a table with an entry for each scanline, with the total number of copper instructions cumulative up to that line.
Then if the bitplanes need resetting at line X, I read value Y from table at position X, blit that part of the copperlist, then insert bitplane stuff, then blit the rest of the copperlist.
It took hardly any time in total.
This also allowed for any (variable) number of other copper instructions per line..
|