mirror of
https://github.com/a2-4am/4cade.git
synced 2024-09-27 12:57:21 +00:00
41 lines
772 B
Plaintext
41 lines
772 B
Plaintext
|
!cpu 6502
|
||
|
!to "build/FX/STAGGER.LR",plain
|
||
|
*=$6000
|
||
|
|
||
|
row = $fd
|
||
|
col1 = $fe
|
||
|
col2 = $ff
|
||
|
|
||
|
lda #$00
|
||
|
sta col1
|
||
|
lda #$27
|
||
|
sta col2
|
||
|
@outerloop
|
||
|
lda #$2E
|
||
|
sta row
|
||
|
@loop1 ldy col1
|
||
|
lda row
|
||
|
jsr HGRHalfBlockCopy
|
||
|
iny
|
||
|
jsr HGRStaggerCopy
|
||
|
ldy col2
|
||
|
lda row
|
||
|
jsr HGRHalfBlockCopy
|
||
|
dey
|
||
|
jsr HGRStaggerCopy
|
||
|
dec row
|
||
|
dec row
|
||
|
bpl @loop1
|
||
|
lda #$40
|
||
|
jsr WaitForKeyWithTimeout
|
||
|
bmi @exit
|
||
|
inc col1
|
||
|
inc col1
|
||
|
dec col2
|
||
|
dec col2
|
||
|
bpl @outerloop
|
||
|
@exit rts
|
||
|
|
||
|
!source "src/wait.a"
|
||
|
!source "src/fx/fx.hgr.common.a"
|