From d0745e79416a3c3292201d1a733f1b5e7f6d05a7 Mon Sep 17 00:00:00 2001 From: 4am Date: Mon, 23 Nov 2020 12:23:54 -0500 Subject: [PATCH] shave some cycles (load X directly) --- src/fx/fx.dhgr.precomputed.1bit.a | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fx/fx.dhgr.precomputed.1bit.a b/src/fx/fx.dhgr.precomputed.1bit.a index 832292bfc..2cfa2aac2 100644 --- a/src/fx/fx.dhgr.precomputed.1bit.a +++ b/src/fx/fx.dhgr.precomputed.1bit.a @@ -70,9 +70,8 @@ Exit1Bit rts InputLoop ldy #0 input=*+1 - lda .coords, y ; first value: HGR row (only 0..95 will be in input array) + ldx .coords, y ; first value: HGR row (only 0..95 will be in input array) bmi Exit1Bit ; if > 127 then we're done - tax +ROW_X_TO_BASE_ADDRESSES +ROW_X_TO_MIRROR_ADDRESSES