diff options
| author | B. Watson <urchlay@slackware.uk> | 2022-11-05 00:26:46 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2022-11-05 00:26:46 -0400 |
| commit | 530856dd404bea232f560ec82fa956649e7bf688 (patch) | |
| tree | 1b06ad088ded0f35be6df02c1704679673a76eee | |
| parent | aaf904c87b3cfd95d3dde1c569cc3356bf803eb8 (diff) | |
| download | dla-asm-530856dd404bea232f560ec82fa956649e7bf688.tar.gz | |
Fix cycle counts.
| -rw-r--r-- | dla.s | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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. |
