Added a bit more to tile map

Plus using tile-flipping
This commit is contained in:
greg 2016-12-15 01:01:33 -08:00
parent 21968ae8ef
commit ab8f986fe6
1 changed files with 10 additions and 2 deletions

View File

@ -79,7 +79,7 @@ Start:
Load_Block_to_VRAM Tiles, $0000, (8*2*3),
Load_Block_to_VRAM TileMap, $0400, 4
Load_Block_to_VRAM TileMap, $0400, 32
lda #%10000001 ; enable NMI and joypads
sta $4200
@ -173,5 +173,13 @@ Tiles:
;vhopppcc cccccccc o: priority bit p: palette number
; c: Starting character (tile) number
TileMap:
.db $02, $00, $02, $00
.db $02, $80, $02, $00
.db $02, $80, $02, $00
.db $02, $80, $02, $00
.db $02, $80, $02, $00
.db $02, $80, $02, $00
.db $02, $80, $02, $00
.db $02, $80, $02, $00
.db $02, $80, $02, $00
TileMapEnd:
.ENDS