Double stabilisation? The LDY $0A00,X bit of code reads from a data table to stabilise the raster bars.