mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-21 06:39:40 +02:00
Two sets of "gradient" selectable.
This commit is contained in:
+16
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user