diff --git a/src/fx/fx.hgr.radial.a b/src/fx/fx.hgr.radial.a index 067da7ab5..fced2983f 100644 --- a/src/fx/fx.hgr.radial.a +++ b/src/fx/fx.hgr.radial.a @@ -1,5 +1,5 @@ ;license:MIT -;(c) 2019 by 4am +;(c) 2019-2020 by 4am/qkumba ; !cpu 6502 !to "build/FX/RADIAL",plain @@ -17,6 +17,9 @@ input = $FE ; word !source "src/fx/fx.hgr.precomputed.1bit.a" + +FX_INITONCE_1BIT CoordinatesFile, Start + +Start +BUILD_HGR_LOOKUP_TABLES hgrlo, hgr1hi +BUILD_HGR_MIRROR_LOOKUP_TABLES hgrlomirror, hgr1himirror +BUILD_MIRROR_COLS mirror_cols @@ -91,10 +94,9 @@ LoopBR ; bottom-right quadrant (opposite row, oppo DoneBR rts -!if * and 1 { - !byte 0 -} -Coordinates - !source "src/fx/fx.hgr.radial.data.a" -EndCoordinates - !byte $80 +CoordinatesFile + !byte 15 + !text "FX/RADIAL.DATA" + +Coordinates = Coordinates1Bit +EndCoordinates = Coordinates + $3480 diff --git a/src/fx/fx.hgr.radial.data.a b/src/fx/fx.hgr.radial.data.a index db920d4f9..4d2bcbe7b 100644 --- a/src/fx/fx.hgr.radial.data.a +++ b/src/fx/fx.hgr.radial.data.a @@ -1,3 +1,6 @@ +!cpu 6502 +!to "build/FX/RADIAL.DATA",plain +*=$8800 !byte $5E,%00000000 !byte $5E,%00100000 !byte $5E,%01000000 diff --git a/src/fx/fx.hgr.radial3.a b/src/fx/fx.hgr.radial3.a index 3bfea1ecc..7ba0defc9 100644 --- a/src/fx/fx.hgr.radial3.a +++ b/src/fx/fx.hgr.radial3.a @@ -1,5 +1,5 @@ ;license:MIT -;(c) 2019 by 4am +;(c) 2019-2020 by 4am/qkumba ; !cpu 6502 !to "build/FX/RADIAL3",plain @@ -18,6 +18,9 @@ input = $FE ; word !source "src/fx/fx.hgr.precomputed.1bit.a" + +FX_INITONCE_1BIT CoordinatesFile, Start + +Start +BUILD_HGR_LOOKUP_TABLES hgrlo, hgr1hi +BUILD_HGR_MIRROR_LOOKUP_TABLES hgrlomirror, hgr1himirror +BUILD_MIRROR_COLS mirror_cols @@ -83,10 +86,9 @@ Loop ldy #0 jmp Loop + rts -!if * and 1 { - !byte 0 -} -Coordinates - !source "src/fx/fx.hgr.radial.data.a" -EndCoordinates - !byte $80 +CoordinatesFile + !byte 15 + !text "FX/RADIAL.DATA" + +Coordinates = Coordinates1Bit +EndCoordinates = Coordinates + $3480