add background_index var
This commit is contained in:
parent
aeccbff288
commit
fe7b09d97b
|
@ -61,6 +61,7 @@
|
|||
palettes: .res 25
|
||||
.export _palettes=palettes
|
||||
|
||||
; Index for the background data
|
||||
background_index: .res 1
|
||||
.export _background_index=background_index
|
||||
|
||||
|
|
|
@ -68,6 +68,11 @@ extern uint8_t palettes[PALETTES_SIZE];
|
|||
#pragma zpsym ("palettes")
|
||||
|
||||
|
||||
// Index for the background data
|
||||
extern uint8_t background_index;
|
||||
#pragma zpsym ("background_index")
|
||||
|
||||
|
||||
// Background data to send to PPU during VBLANK
|
||||
// Packet structure:
|
||||
// byte 0 = v.ssssss (v= vertical draw, s= size)
|
||||
|
|
Loading…
Reference in New Issue