Is done with software, there is a framebuffer(the road area after the parallax backgrounds)where is drawn by the cpu on a pixel by pixel (really a byte = two pixels) based rendering.