the SAM hardware allows the programmer to switch between screens and change the palette etc. whenever he likes, and there is a line interrupt available so that this can be done with the TV scan at a known point on the screen.