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