4cade/src/fx/fx.hgr.interlock.ud.a

45 lines
780 B
Plaintext
Raw Normal View History

2018-12-29 18:43:59 +00:00
;license:MIT
;(c) 2018 by 4am
;
!cpu 6502
!to "build/FX.INDEXED/INTERLOCK.UD",plain
*=$6000
2018-10-29 02:59:51 +00:00
row1 = $fe
row2 = $ff
2022-08-26 01:56:15 +00:00
!source "src/fx/macros.a"
2018-10-29 02:59:51 +00:00
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
2018-10-29 00:05:59 +00:00
clc
2018-10-29 02:59:51 +00:00
adc #$01
jsr HGRCalc
ldy #$27
- lda ($3c),y
sta ($26),y
dey
bpl -
lda #$30
2018-10-29 11:21:47 +00:00
jsr WaitForKeyWithTimeout
2018-10-29 00:05:59 +00:00
bmi @exit
2018-10-29 02:59:51 +00:00
inc row1
dec row2
2018-10-29 00:05:59 +00:00
bpl @loop
@exit rts
!source "src/wait.a"
+HGR_CALC_ROUTINES