diff --git a/mandel.s b/mandel.s index 198e40c..985df82 100644 --- a/mandel.s +++ b/mandel.s @@ -38,8 +38,8 @@ palette_ticks = $c0 ; u8 chroma_ticks = $c1 ; u8 chroma_offset = $c2 ; u8 -palette_delay = 120 -chroma_delay = 120 +palette_delay = 23 +chroma_delay = 137 ; FP registers in zero page @@ -234,12 +234,12 @@ color_map: palette_start: - .byte $04 - .byte $08 .byte $0e + .byte $08 + .byte $04 palette_repeat: - .byte $03 - .byte $09 + .byte $0e + .byte $08 palette_entries = 3 @@ -1206,19 +1206,19 @@ skip_luma: ldy palette_offset lda palette_chroma,x ora palette_start,y - sta COLOR0 + sta COLOR2 - inx + ;inx iny lda palette_chroma,x ora palette_start,y sta COLOR1 - inx + ;inx iny lda palette_chroma,x ora palette_start,y - sta COLOR2 + sta COLOR0 rts .endproc