Handles multiple layers onto one framebuffer.
Used to read the output from the raster and show it on the screen.
Defines palette handling functions. It provides various functions for safe palette handling.
The raster calls it every time it finishes the drawing to the framebuffers. Used to signal the output screen to switch out the framebuffers.