Checkpoint

This commit is contained in:
Lucas Scharenbroich 2022-08-16 19:47:19 -05:00
parent 3fce46872d
commit bd1de7f83c
2 changed files with 42 additions and 1 deletions

41
demos/tf4/Tiles.s Normal file
View File

@ -0,0 +1,41 @@
TileData
; Reserved space (tile 0 is special...
ds 128
; Tile ID 1
; From image coordinates 0, 0
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex 00000000
hex 00000000
hex 00000000
hex 00000000
hex 00000000
hex 00000000
hex 00000000
hex 00000000
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex ffffffff
hex 00000000
hex 00000000
hex 00000000
hex 00000000
hex 00000000
hex 00000000
hex 00000000
hex 00000000

View File

@ -56,7 +56,7 @@ _Render
jsr _RenderSprites ; Once the BG0 X and Y positions are committed, update sprite data
jsr _UpdateBG0TileMap ; and the tile maps. These subroutines build up a list of tiles
jsr _UpdateBG1TileMap ; that need to be updated in the code field
; jsr _UpdateBG1TileMap ; that need to be updated in the code field
jsr _ApplyTiles ; This function actually draws the new tiles into the code field