mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 08:54:51 +00:00
ootw: intro: fade in DNA
should be slower, but not sure if I care enough to fix it
This commit is contained in:
parent
8ba4f9956b
commit
d2eb55029f
@ -1,8 +1,5 @@
|
||||
TODO:
|
||||
|
||||
Intro:
|
||||
gradually fade in DNA
|
||||
|
||||
general:
|
||||
+ move gr_make_quake out of gr_copy
|
||||
|
||||
|
19
ootw/intro.s
19
ootw/intro.s
@ -21,7 +21,7 @@ intro:
|
||||
lda #0
|
||||
sta DISP_PAGE
|
||||
|
||||
jmp peanutos
|
||||
jmp scanner
|
||||
|
||||
;===============================
|
||||
;===============================
|
||||
@ -2160,9 +2160,26 @@ draw_dna_loop:
|
||||
adc #4
|
||||
sta DNA_COUNT
|
||||
|
||||
; for DNA_PROGRESS 0,2,4,6,8,10,12 we only want to print
|
||||
; first X lines (gradually fade in)
|
||||
; after that, draw the whole thing
|
||||
|
||||
lda DNA_PROGRESS
|
||||
cmp #14
|
||||
bpl dna_full
|
||||
|
||||
asl
|
||||
cmp DNA_COUNT
|
||||
bpl draw_dna_loop
|
||||
bmi dna_full_done
|
||||
|
||||
dna_full:
|
||||
lda DNA_COUNT
|
||||
cmp #28
|
||||
bne draw_dna_loop
|
||||
|
||||
dna_full_done:
|
||||
|
||||
inc DNA_PROGRESS
|
||||
inc DNA_PROGRESS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user