diff --git a/res/DFX.CONF b/res/DFX.CONF index 52c229b9e..ca5b2080c 100644 --- a/res/DFX.CONF +++ b/res/DFX.CONF @@ -1,6 +1,7 @@ DHGR.FIZZLE2BIT DHGR.RIPPLE DHGR.RADIAL +DHGR.BAR.DISSLV DHGR.RADIAL4 DHGR.STAR DHGR.RADIAL3 diff --git a/src/fx/fx.dhgr.bar.dissolve.a b/src/fx/fx.dhgr.bar.dissolve.a new file mode 100644 index 000000000..42f4882e9 --- /dev/null +++ b/src/fx/fx.dhgr.bar.dissolve.a @@ -0,0 +1,82 @@ +;license:MIT +;(c) 2020 by 4am +; +!cpu 6502 +!to "build/FX/DHGR.BAR.DISSLV",plain +*=$6000 + +hgrlo = $0200 ; [$C0 bytes, main memory only] +hgr1hi = $0300 ; [$C0 bytes, main memory only] + + !source "src/fx/macros.a" + + ldx #(end-start) ; copy code to zero page +- lda start-1, x + sta $FF, x + dex + bne - + +BUILD_HGR_LOOKUP_TABLES_X_IS_ALREADY_0 hgrlo, hgr1hi + jmp loop + +start +!pseudopc 0 { +row1=*+1 +loop ldx #$00 + lda hgrlo, x + sta