mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-05 20:29:32 +00:00
43 lines
750 B
Plaintext
43 lines
750 B
Plaintext
;license:MIT
|
|
;(c) 2018 by 4am
|
|
;
|
|
!cpu 6502
|
|
!to "build/FX/INTERLOCK.UD",plain
|
|
*=$6000
|
|
|
|
row1 = $fe
|
|
row2 = $ff
|
|
|
|
lda #$00
|
|
sta row1
|
|
lda #$5F
|
|
sta row2
|
|
@loop lda row1
|
|
asl
|
|
jsr HGRCalc
|
|
ldy #$27
|
|
- lda ($3c),y
|
|
sta ($26),y
|
|
dey
|
|
bpl -
|
|
lda row2
|
|
asl
|
|
clc
|
|
adc #$01
|
|
jsr HGRCalc
|
|
ldy #$27
|
|
- lda ($3c),y
|
|
sta ($26),y
|
|
dey
|
|
bpl -
|
|
lda #$30
|
|
jsr WaitForKeyWithTimeout
|
|
bmi @exit
|
|
inc row1
|
|
dec row2
|
|
bpl @loop
|
|
@exit rts
|
|
|
|
!source "src/wait.a"
|
|
!source "src/fx/fx.hgr.common.a"
|