From a5807e8577c83b640e1e76b39c3ba872ed48ce38 Mon Sep 17 00:00:00 2001 From: 4am Date: Mon, 23 Nov 2020 12:21:37 -0500 Subject: [PATCH] shave some cycles (load X directly) --- src/fx/fx.hgr.precomputed.1bit.a | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fx/fx.hgr.precomputed.1bit.a b/src/fx/fx.hgr.precomputed.1bit.a index 68664c718..c2a7b992e 100644 --- a/src/fx/fx.hgr.precomputed.1bit.a +++ b/src/fx/fx.hgr.precomputed.1bit.a @@ -278,9 +278,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