From d9f7ce3e356102f62af03f51f73eeea73c762562 Mon Sep 17 00:00:00 2001 From: Brooke Vibber Date: Sat, 22 Aug 2026 14:27:52 -0700 Subject: [PATCH] whoops missed a bit --- mandel-core.s | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mandel-core.s b/mandel-core.s index 5080d7e..eefd557 100644 --- a/mandel-core.s +++ b/mandel-core.s @@ -819,10 +819,10 @@ arg2_pos: rts ; 6 cyc .endmacro -; min base ram: 19 * 2 + 81 + 28 * 2 + 6 = 181 -; max base ram: 19 * 2 + 92 + 28 * 2 + 6 = 192 -; min ext ram: 19 * 2 + 51 + 28 * 2 + 6 = 151 -; max ext ram: 19 * 2 + 70 + 28 * 2 + 6 = 170 +; min base ram: 5 + 19 * 2 + 81 + 28 * 2 + 6 = 186 +; max base ram: 23 + 19 * 2 + 92 + 28 * 2 + 6 = 215 +; min ext ram: 5 + 19 * 2 + 51 + 28 * 2 + 6 = 156 +; max ext ram: 23 + 19 * 2 + 70 + 28 * 2 + 6 = 193 .macro sqr16_impl xe .scope arg = FR0 ; 16-bit arg (clobbered) @@ -830,6 +830,7 @@ arg2_pos: ;inter = temp2 inter = FR1 + ; 5-23 cycles lda arg + 1 ; 3 cyc bpl arg_pos ; 2 cyc neg16 arg ; 18 cyc