Two sets of "gradient" selectable.

This commit is contained in:
Pecusx
2022-12-23 14:07:22 +01:00
parent d420ce06ca
commit 3936b2bf8c
7 changed files with 50 additions and 88 deletions
+16 -1
View File
@@ -114,9 +114,24 @@ OptionsNoRight
OptionsNoReturn
cmp #@kbcode._tab ; Tab key
bne OptionsNoTab
bit Gradient
bmi NextGradientNr
lda Gradient
eor #$80
@ eor #$80
sta Gradient
NextGradientNr
ldy GradientNr
iny
cpy #$03
bne NoGradientLoop
mva #$ff GradientNr
bne @-
NoGradientLoop
sty GradientNr
lda GradientAddrL,y
sta GradientColors
lda GradientAddrH,y
sta GradientColors+1
OptionsNoTab
jmp OptionsMainLoop
.endp