Pull the sprite plane banks into the test build

This commit is contained in:
Lucas Scharenbroich 2021-10-21 08:46:26 -05:00
parent d84ce1d8ed
commit 71fd9c29e3
2 changed files with 18 additions and 4 deletions

View File

@ -45,6 +45,12 @@ DOWN_ARROW equ $0A
; Allocate room to load data
jsr MovePlayerToOrigin ; Put the player at the beginning of the map
; Add a player sprite
lda #0 ; tile id
ldx #10 ; x-pos relative to playfield upper-left corner
ldy #10 ; y-pos relative to playfield upper-left corner
jsl AddSprite
lda #DIRTY_BIT_BG0_REFRESH ; Redraw all of the tiles on the next Render
tsb DirtyBits
@ -95,10 +101,6 @@ MovePlayerToOrigin
sec
sbc ScreenHeight
jsl SetBG0YPos
ldx #10
ldy #10
jsl AddSprite
rts
qtRec adrl $0000

View File

@ -23,3 +23,15 @@
DS 0
KND #$1001 ; Type and Attributes ($11=Static+Bank Relative,$01=Data)
SNA Tiles
; Segment #4 -- 64KB Sprite Plane Data
ASM SprData.s
KND #$1001 ; Type and Attributes ($11=Static+Bank Relative,$01=Data)
SNA SPRDATA
; Segment #5 -- 64KB Sprite Mask Data
ASM SprMask.s
KND #$1001 ; Type and Attributes ($11=Static+Bank Relative,$01=Data)
SNA SPRMASK