2018-12-29 13:43:59 -05:00
|
|
|
;license:MIT
|
2020-11-30 18:22:06 -05:00
|
|
|
;(c) 2018-2020 by 4am/qkumba
|
2018-12-29 13:43:59 -05:00
|
|
|
;
|
2018-10-30 18:27:51 -04:00
|
|
|
!cpu 6502
|
2021-10-15 21:34:39 -04:00
|
|
|
!to "build/FX.INDEXED/BLOCK.FIZZLE",plain
|
2018-10-30 18:27:51 -04:00
|
|
|
*=$6000
|
|
|
|
|
2020-11-30 18:22:06 -05:00
|
|
|
!source "src/fx/fx.hgr.block.fizzle.common.a"
|
2018-10-30 18:27:51 -04:00
|
|
|
|
2020-11-30 18:22:06 -05:00
|
|
|
+BUILD_BLOCK_FIZZLE_DATA
|
|
|
|
|
|
|
|
+LDADDR Coordinates
|
|
|
|
+ST16 coord
|
|
|
|
@loop2
|
2018-10-30 18:27:51 -04:00
|
|
|
ldy #0
|
|
|
|
lda (coord),y
|
|
|
|
bmi @exit
|
|
|
|
tax
|
|
|
|
iny
|
|
|
|
lda (coord),y
|
|
|
|
tay
|
|
|
|
txa
|
|
|
|
jsr HGRBlockCopy
|
|
|
|
lda #$0C
|
|
|
|
jsr WaitForKeyWithTimeout
|
|
|
|
bmi @exit
|
|
|
|
inc coord
|
|
|
|
bne +
|
|
|
|
inc coord+1
|
|
|
|
+ inc coord
|
|
|
|
bne +
|
|
|
|
inc coord+1
|
2020-11-30 18:22:06 -05:00
|
|
|
+ bne @loop2
|
2018-10-30 18:27:51 -04:00
|
|
|
@exit rts
|
|
|
|
|
|
|
|
!source "src/wait.a"
|
|
|
|
!source "src/fx/fx.hgr.common.a"
|
2020-11-13 21:24:30 -05:00
|
|
|
+HGR_BLOCK_COPY_ROUTINES
|