2018-12-29 18:43:59 +00:00
|
|
|
;license:MIT
|
|
|
|
;(c) 2018 by 4am
|
|
|
|
;
|
2018-10-30 01:27:11 +00:00
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/FX.INDEXED/BAR.DISSOLVE",plain
|
2018-10-30 01:27:11 +00:00
|
|
|
*=$6000
|
|
|
|
|
|
|
|
row1 = $fe
|
|
|
|
row2 = $ff
|
|
|
|
|
2022-08-26 01:56:15 +00:00
|
|
|
!source "src/fx/macros.a"
|
|
|
|
|
2018-10-30 01:27:11 +00:00
|
|
|
lda #$00
|
|
|
|
sta row1
|
|
|
|
lda #$BF
|
|
|
|
sta row2
|
|
|
|
@loop lda row1
|
|
|
|
jsr HGRCalc
|
|
|
|
ldy #$27
|
|
|
|
- lda ($3c),y
|
|
|
|
sta ($26),y
|
|
|
|
dey
|
|
|
|
dey
|
|
|
|
bpl -
|
|
|
|
lda row2
|
|
|
|
jsr HGRCalc
|
|
|
|
ldy #$26
|
|
|
|
- lda ($3c),y
|
|
|
|
sta ($26),y
|
|
|
|
dey
|
|
|
|
dey
|
|
|
|
bpl -
|
|
|
|
lda #$30
|
|
|
|
jsr WaitForKeyWithTimeout
|
|
|
|
bmi @exit
|
|
|
|
inc row1
|
|
|
|
dec row2
|
|
|
|
lda row1
|
|
|
|
cmp #$C0
|
|
|
|
bne @loop
|
|
|
|
@exit rts
|
|
|
|
|
|
|
|
!source "src/wait.a"
|
2020-11-14 02:24:30 +00:00
|
|
|
+HGR_CALC_ROUTINES
|