From ecc138f2bc6a43146b22d0fb02478ae3188472b6 Mon Sep 17 00:00:00 2001 From: hugova Date: Thu, 6 Mar 2025 00:59:29 +0100 Subject: [PATCH] Redused number of instructions but to small a diffrence to messure with current test --- wip-hugo/routines/line/line_down.s | 29 +++++++++++---------------- wip-hugo/routines/memory/pixel_draw.s | 2 +- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/wip-hugo/routines/line/line_down.s b/wip-hugo/routines/line/line_down.s index edccd11..3fc4aaa 100644 --- a/wip-hugo/routines/line/line_down.s +++ b/wip-hugo/routines/line/line_down.s @@ -48,18 +48,13 @@ Add_16 >D, D, btp_mem_pos, X) STA (>btp_mem_pos, X) BCS move_8px_left - jmp increment_x_pos_end + jmp increment_pixel_x_end move_8px_left: -;; add +8 to btp_mem_pos. Find more of why in pixel_draw -Add_16 >btp_mem_pos, btp_mem_pos, D, D, V, D, V, btp_mem_pos, btp_mem_pos, D, dy_2, D, dy_2,