2020-12-01 02:58:42 +00:00
|
|
|
;license:MIT
|
|
|
|
;(c) 2018-2020 by 4am/qkumba
|
|
|
|
;
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/FX.INDEXED/HALF.FIZZLE",plain
|
2020-12-01 02:58:42 +00:00
|
|
|
*=$6000
|
|
|
|
|
2020-12-01 03:07:48 +00:00
|
|
|
!source "src/fx/fx.hgr.halfblock.fizzle.common.a"
|
2020-12-01 02:58:42 +00:00
|
|
|
|
2020-12-01 03:07:48 +00:00
|
|
|
+BUILD_HALFBLOCK_FIZZLE_DATA
|
2020-12-01 02:58:42 +00:00
|
|
|
|
2020-12-01 03:07:48 +00:00
|
|
|
+LDADDR Coordinates
|
|
|
|
+ST16 coord
|
2020-12-01 02:58:42 +00:00
|
|
|
@loop2
|
|
|
|
ldy #0
|
|
|
|
lda (coord),y
|
|
|
|
bmi @exit
|
|
|
|
tax
|
|
|
|
iny
|
|
|
|
lda (coord),y
|
|
|
|
tay
|
|
|
|
txa
|
|
|
|
jsr HGRHalfBlockCopy
|
|
|
|
lda #$07
|
2024-05-26 17:41:21 +00:00
|
|
|
jsr iWaitForKeyWithTimeout
|
2020-12-01 02:58:42 +00:00
|
|
|
bmi @exit
|
|
|
|
inc coord
|
|
|
|
bne +
|
|
|
|
inc coord+1
|
|
|
|
+ inc coord
|
|
|
|
bne +
|
|
|
|
inc coord+1
|
|
|
|
+ bne @loop2
|
|
|
|
@exit rts
|
|
|
|
|
|
|
|
+HGR_HALF_BLOCK_COPY_ROUTINES
|