From 540c3c581a8b3e42eb0f512e54aac8a86654e918 Mon Sep 17 00:00:00 2001 From: 4am Date: Tue, 17 Nov 2020 21:25:34 -0500 Subject: [PATCH] add EOF marker in code for non-radial precomputed DHGR effects --- src/fx/fx.dhgr.iris.a | 2 ++ src/fx/fx.dhgr.iris.data.a | 1 - src/fx/fx.dhgr.iris.white.a | 2 ++ src/fx/fx.dhgr.precomputed.a | 4 ++-- src/fx/fx.dhgr.ripple.a | 2 ++ src/fx/fx.dhgr.ripple.data.a | 1 - src/fx/fx.dhgr.ripple.white.a | 2 ++ src/fx/fx.dhgr.star.a | 2 ++ src/fx/fx.dhgr.star.data.a | 1 - src/fx/fx.dhgr.star.white.a | 2 ++ 10 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/fx/fx.dhgr.iris.a b/src/fx/fx.dhgr.iris.a index 4bfd9074c..330ad15e4 100644 --- a/src/fx/fx.dhgr.iris.a +++ b/src/fx/fx.dhgr.iris.a @@ -8,6 +8,8 @@ !source "src/fx/fx.dhgr.precomputed.a" +FX_INITONCE_DHGR CoordinatesFile, PostInit + lda #$80 + sta EndCoordinatesDHGR +COPY_SELF_TO_AUXMEM PostInit +FX_PRECOMPUTED_DHGR HGRHalfBlockCopy, Coordinates, $1 diff --git a/src/fx/fx.dhgr.iris.data.a b/src/fx/fx.dhgr.iris.data.a index e20e246fc..8c86be099 100644 --- a/src/fx/fx.dhgr.iris.data.a +++ b/src/fx/fx.dhgr.iris.data.a @@ -3841,4 +3841,3 @@ !byte 0,1 !byte 0,79 !byte 0,0 - !byte $80 ; EOF diff --git a/src/fx/fx.dhgr.iris.white.a b/src/fx/fx.dhgr.iris.white.a index fa1550783..f08386f47 100644 --- a/src/fx/fx.dhgr.iris.white.a +++ b/src/fx/fx.dhgr.iris.white.a @@ -8,6 +8,8 @@ !source "src/fx/fx.dhgr.precomputed.a" +FX_INITONCE_DHGR CoordinatesFile, PostInit + lda #$80 + sta EndCoordinatesDHGR +COPY_SELF_TO_AUXMEM PostInit +FX_PRECOMPUTED_DHGR HGRHalfBlockToWhite, Coordinates, $0 diff --git a/src/fx/fx.dhgr.precomputed.a b/src/fx/fx.dhgr.precomputed.a index 2b982cdbd..6ca4ae5a3 100644 --- a/src/fx/fx.dhgr.precomputed.a +++ b/src/fx/fx.dhgr.precomputed.a @@ -2,8 +2,8 @@ ;(c) 2018-9 by 4am ; coord = $FE -CoordinatesDHGR = $A000 ; $1E09 bytes ($1E08 on disk + 1 byte EOF marker) -;EndCoordinatesDHGR=CoordinatesDHGR+$1E08 +CoordinatesDHGR = $A000 ; $1E01 bytes ($1E00 on disk + 1 byte EOF marker) +EndCoordinatesDHGR=CoordinatesDHGR+$1E00 jmp Start diff --git a/src/fx/fx.dhgr.ripple.a b/src/fx/fx.dhgr.ripple.a index 9259f470e..660534a25 100644 --- a/src/fx/fx.dhgr.ripple.a +++ b/src/fx/fx.dhgr.ripple.a @@ -8,6 +8,8 @@ !source "src/fx/fx.dhgr.precomputed.a" +FX_INITONCE_DHGR CoordinatesFile, PostInit + lda #$80 + sta EndCoordinatesDHGR +COPY_SELF_TO_AUXMEM PostInit +FX_PRECOMPUTED_DHGR HGRHalfBlockCopy, Coordinates, $1 diff --git a/src/fx/fx.dhgr.ripple.data.a b/src/fx/fx.dhgr.ripple.data.a index 48cec8964..34f089125 100644 --- a/src/fx/fx.dhgr.ripple.data.a +++ b/src/fx/fx.dhgr.ripple.data.a @@ -3841,4 +3841,3 @@ !byte 37,63 !byte 0,25 !byte 0,0 - !byte $80 ; EOF diff --git a/src/fx/fx.dhgr.ripple.white.a b/src/fx/fx.dhgr.ripple.white.a index 894464d30..070ddf976 100644 --- a/src/fx/fx.dhgr.ripple.white.a +++ b/src/fx/fx.dhgr.ripple.white.a @@ -8,6 +8,8 @@ !source "src/fx/fx.dhgr.precomputed.a" +FX_INITONCE_DHGR CoordinatesFile, PostInit + lda #$80 + sta EndCoordinatesDHGR +COPY_SELF_TO_AUXMEM PostInit +FX_PRECOMPUTED_DHGR HGRHalfBlockToWhite, Coordinates, $0 diff --git a/src/fx/fx.dhgr.star.a b/src/fx/fx.dhgr.star.a index 4027719a7..7d45d8aa4 100644 --- a/src/fx/fx.dhgr.star.a +++ b/src/fx/fx.dhgr.star.a @@ -8,6 +8,8 @@ !source "src/fx/fx.dhgr.precomputed.a" +FX_INITONCE_DHGR CoordinatesFile, PostInit + lda #$80 + sta EndCoordinatesDHGR +COPY_SELF_TO_AUXMEM PostInit +FX_PRECOMPUTED_DHGR HGRHalfBlockCopy, Coordinates, $1 diff --git a/src/fx/fx.dhgr.star.data.a b/src/fx/fx.dhgr.star.data.a index 1c38ddc59..8829900c2 100644 --- a/src/fx/fx.dhgr.star.data.a +++ b/src/fx/fx.dhgr.star.data.a @@ -3841,4 +3841,3 @@ !byte 11,0 !byte 12,0 !byte 13,0 - !byte $80 ; EOF diff --git a/src/fx/fx.dhgr.star.white.a b/src/fx/fx.dhgr.star.white.a index 5e13a5650..e1b27c203 100644 --- a/src/fx/fx.dhgr.star.white.a +++ b/src/fx/fx.dhgr.star.white.a @@ -8,6 +8,8 @@ !source "src/fx/fx.dhgr.precomputed.a" +FX_INITONCE_DHGR CoordinatesFile, PostInit + lda #$80 + sta EndCoordinatesDHGR +COPY_SELF_TO_AUXMEM PostInit +FX_PRECOMPUTED_DHGR HGRHalfBlockToWhite, Coordinates, $0