even better palette cycling

This commit is contained in:
Brooke Vibber 2024-12-30 11:33:55 -08:00
parent 64a6cf50f3
commit 71d8d93abc

View file

@ -38,8 +38,8 @@ palette_ticks = $c0 ; u8
chroma_ticks = $c1 ; u8 chroma_ticks = $c1 ; u8
chroma_offset = $c2 ; u8 chroma_offset = $c2 ; u8
palette_delay = 120 palette_delay = 23
chroma_delay = 120 chroma_delay = 137
; FP registers in zero page ; FP registers in zero page
@ -1208,13 +1208,13 @@ skip_luma:
ora palette_start,y ora palette_start,y
sta COLOR0 sta COLOR0
inx ;inx
iny iny
lda palette_chroma,x lda palette_chroma,x
ora palette_start,y ora palette_start,y
sta COLOR1 sta COLOR1
inx ;inx
iny iny
lda palette_chroma,x lda palette_chroma,x
ora palette_start,y ora palette_start,y