aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-11-05 00:26:46 -0400
committerB. Watson <urchlay@slackware.uk>2022-11-05 00:26:46 -0400
commit530856dd404bea232f560ec82fa956649e7bf688 (patch)
tree1b06ad088ded0f35be6df02c1704679673a76eee
parentaaf904c87b3cfd95d3dde1c569cc3356bf803eb8 (diff)
downloaddla-asm-530856dd404bea232f560ec82fa956649e7bf688.tar.gz
Fix cycle counts.
-rw-r--r--dla.s10
1 files 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.