mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
add fx/fx.hgr.2pass.lr
This commit is contained in:
parent
797a519532
commit
eafd31134e
1
Makefile
1
Makefile
@ -30,6 +30,7 @@ asm: md
|
||||
$(ACME) src/fx/fx.hgr.bar.dissolve.a
|
||||
$(ACME) src/fx/fx.hgr.block.fizzle.a
|
||||
$(ACME) src/fx/fx.hgr.block.mosaic.a
|
||||
$(ACME) src/fx/fx.hgr.2pass.lr.a
|
||||
|
||||
dsk: md asm
|
||||
$(CADIUS) CREATEVOLUME build/"$(DISK)" "${VOLUME}" 32766KB >>build/log
|
||||
|
@ -1 +1 @@
|
||||
#
# transition effects for HGR slideshows
#
INTERLOCK.LR
BLOCK.MOSAIC
IRIS
FIZZLE
INTERLOCK.UD
BLOCK.FIZZLE
DIAGONAL
SPIRAL
BAR.DISSOLVE
[eof]
|
||||
#
# transition effects for HGR slideshows
#
TWOPASS.LR
INTERLOCK.LR
BLOCK.MOSAIC
IRIS
FIZZLE
INTERLOCK.UD
BLOCK.FIZZLE
DIAGONAL
SPIRAL
BAR.DISSOLVE
[eof]
|
@ -7,3 +7,4 @@ SPIRAL=Type(06),AuxType(6000),Access(C3)
|
||||
BAR.DISSOLVE=Type(06),AuxType(6000),Access(C3)
|
||||
BLOCK.FIZZLE=Type(06),AuxType(6000),Access(C3)
|
||||
BLOCK.MOSAIC=Type(06),AuxType(6000),Access(C3)
|
||||
TWOPASS.LR=Type(06),AuxType(6000),Access(C3)
|
||||
|
60
src/fx/fx.hgr.2pass.lr.a
Normal file
60
src/fx/fx.hgr.2pass.lr.a
Normal file
@ -0,0 +1,60 @@
|
||||
!cpu 6502
|
||||
!to "build/FX/TWOPASS.LR",plain
|
||||
*=$6000
|
||||
|
||||
row = $FF
|
||||
|
||||
lda #$00
|
||||
sta @h1
|
||||
sta @h2
|
||||
@outerloop1
|
||||
lda #$BF
|
||||
sta row
|
||||
@loop1 jsr HGRCalc
|
||||
@h1=*+1
|
||||
ldy #$00
|
||||
lda ($3c),y
|
||||
sta ($26),y
|
||||
dec row
|
||||
dec row
|
||||
lda row
|
||||
cmp #$FF
|
||||
bne @loop1
|
||||
|
||||
lda #$10
|
||||
jsr WaitForKeyWithTimeout
|
||||
lda $C000
|
||||
bmi @exit
|
||||
|
||||
inc @h1
|
||||
lda @h1
|
||||
cmp #$28
|
||||
bne @outerloop1
|
||||
|
||||
@outerloop2
|
||||
lda #$BE
|
||||
sta row
|
||||
@loop2 jsr HGRCalc
|
||||
@h2=*+1
|
||||
ldy #$00
|
||||
lda ($3c),y
|
||||
sta ($26),y
|
||||
dec row
|
||||
dec row
|
||||
lda row
|
||||
cmp #$FE
|
||||
bne @loop2
|
||||
|
||||
lda #$10
|
||||
jsr WaitForKeyWithTimeout
|
||||
lda $C000
|
||||
bmi @exit
|
||||
|
||||
inc @h2
|
||||
lda @h2
|
||||
cmp #$28
|
||||
bne @outerloop2
|
||||
@exit rts
|
||||
|
||||
!source "src/wait.a"
|
||||
!source "src/fx/fx.hgr.common.a"
|
Loading…
Reference in New Issue
Block a user