diff --git a/src/fx/fx.hgr.precomputed.2bit.a b/src/fx/fx.hgr.precomputed.2bit.a index 2780100f2..a67886eb6 100644 --- a/src/fx/fx.hgr.precomputed.2bit.a +++ b/src/fx/fx.hgr.precomputed.2bit.a @@ -1,20 +1,9 @@ ;license:MIT -;(c) 2019 by 4am +;(c) 2019-2020 by 4am ; -mirror_src1 = $E8 ; word -mirror_dest1 = $EA ; word -mirror_src2 = $EC ; word -mirror_dest2 = $EE ; word -src1 = $F0 ; word -dest1 = $F2 ; word -src2 = $F4 ; word -dest2 = $F6 ; word -reverse_input = $FC ; word -input = $FE ; word - copymasks = $0200 ; $100 bytes but sparse, index is 0..4 but in high 3 bits, so $00, $20, $40, $60, $80 mirror_copymasks = $0201 -hgrlo = $0300 ; $C0 bytes +hgrlo = $0301 ; $C0 bytes hgrlomirror = $BD40 ; $C0 bytes mirror_cols = $BE00 ; $28 bytes hgr1hi = $BE40 ; $C0 bytes @@ -27,7 +16,7 @@ hgr1himirror = $BF40 ; $C0 bytes ldx #$27 ldy #$00 - tya - sta .mirror_cols,x + sta .mirror_cols, x iny dex bpl - @@ -70,71 +59,89 @@ hgr1himirror = $BF40 ; $C0 bytes !macro ROW_X_TO_2BIT_BASE_ADDRESSES { ; X = $01..$C0, mapping to row 0..191 - lda hgrlo-1,x - sta dest1 - sta src1 - lda hgr1hi-1,x - sta dest1+1 + lda hgrlo-1, x + sta