4cade/src/fx/fx.hgr.iris.a
2018-12-29 13:43:59 -05:00

43 lines
764 B
Plaintext

;license:MIT
;(c) 2018 by 4am
;
!cpu 6502
!to "build/FX/IRIS",plain
*=$6000
coord = $FE
lda #<@coords
sta coord
lda #>@coords
sta coord+1
ldy #0
@loop
lda (coord),y
tax
iny
lda (coord),y
tay
txa
jsr HGRHalfBlockCopy
lda #$6
jsr WaitForKeyWithTimeout
bmi @exit
inc coord
bne +
inc coord+1
+ inc coord
bne +
inc coord+1
+ ldy #$00
lda ($FE),y
bpl @loop
@exit rts
@coords
!source "src/fx/fx.hgr.iris.data.a"
!byte $80
!source "src/wait.a"
!source "src/fx/fx.hgr.common.a"