implements code for ppu scanline rendering.