add background_index var
This commit is contained in:
parent
ebdc99b941
commit
aeccbff288
|
@ -61,13 +61,16 @@
|
||||||
palettes: .res 25
|
palettes: .res 25
|
||||||
.export _palettes=palettes
|
.export _palettes=palettes
|
||||||
|
|
||||||
|
background_index: .res 1
|
||||||
|
.export _background_index=background_index
|
||||||
|
|
||||||
; Background data to send to PPU during VBLANK
|
; Background data to send to PPU during VBLANK
|
||||||
; Packet structure:
|
; Packet structure:
|
||||||
; byte 0 = v.ssssss (v= vertical draw, s= size)
|
; byte 0 = v.ssssss (v= vertical draw, s= size)
|
||||||
; byte 1-2 = ppu adress
|
; byte 1-2 = ppu adress
|
||||||
; byte 3-s = tile data
|
; byte 3-s = tile data
|
||||||
; packet of size 0 means there is no more data to draw
|
; packet of size 0 means there is no more data to draw
|
||||||
background: .res 128
|
background: .res 127
|
||||||
.export _background=background
|
.export _background=background
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue