Added a bit more to tile map
Plus using tile-flipping
This commit is contained in:
parent
21968ae8ef
commit
ab8f986fe6
12
test_gfx.asm
12
test_gfx.asm
@ -79,7 +79,7 @@ Start:
|
|||||||
|
|
||||||
Load_Block_to_VRAM Tiles, $0000, (8*2*3),
|
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
|
lda #%10000001 ; enable NMI and joypads
|
||||||
sta $4200
|
sta $4200
|
||||||
@ -173,5 +173,13 @@ Tiles:
|
|||||||
;vhopppcc cccccccc o: priority bit p: palette number
|
;vhopppcc cccccccc o: priority bit p: palette number
|
||||||
; c: Starting character (tile) number
|
; c: Starting character (tile) number
|
||||||
TileMap:
|
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
|
.ENDS
|
||||||
|
Loading…
Reference in New Issue
Block a user