fill_background.asm - 89erik/NES-breakout GitHub Wiki
Tree: root/src/init/fill_background.asm
This file contains procedures for drawing the background. As bricks are drawn using background tiles, the fill background procedure needs to draw bricks in addition to the background. It works by iterating through all tiles of the screen, and for each tile checking with the brick data structure whether the tile should be filled with a brick using the sub routine CheckForBrick.