From 530856dd404bea232f560ec82fa956649e7bf688 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 5 Nov 2022 00:26:46 -0400 Subject: Fix cycle counts. --- dla.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dla.s b/dla.s index 3d15ee6..fc5bdea 100644 --- a/dla.s +++ b/dla.s @@ -535,17 +535,17 @@ checkbounds: ; all the "cmp #0" here get their operands modified by set_limits. selfmod_xmin = * + 1 cpx #0 ; 2 - beq oob ; 3 + beq oob ; 2 selfmod_xmax = * + 1 cpx #0 ; 2 - beq oob ; 3 + beq oob ; 2 selfmod_ymin = * + 1 cpy #0 ; 2 - beq oob ; 3 + beq oob ; 2 selfmod_ymax = * + 1 cpy #0 ; 2 - beq oob ; 3 - ; checkbounds is 20 cycles when the pixel is in bounds. + beq oob ; 2 + ; checkbounds is 16 cycles when the pixel is in bounds. checkneigh: ; check neighbors. used to be a subroutine, inlined it. -- cgit v1.2.3