From 589fd5d7387aa2045fdad8ba351b8a2dff5c05c2 Mon Sep 17 00:00:00 2001 From: hugova Date: Thu, 3 Apr 2025 16:17:30 +0200 Subject: [PATCH] push changes from line_down to line_up_inv line_down_inv --- wip-hugo/routines/line/line_down_inv.s | 10 +++++++--- wip-hugo/routines/line/line_up_inv.s | 6 ++++-- wip-hugo/source.s | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/wip-hugo/routines/line/line_down_inv.s b/wip-hugo/routines/line/line_down_inv.s index e620f36..df8b909 100644 --- a/wip-hugo/routines/line/line_down_inv.s +++ b/wip-hugo/routines/line/line_down_inv.s @@ -41,7 +41,11 @@ selfmod: end_selfmod: jsr pixel_draw LDY #$00 - LDX Y_pos + LDA Y_end + SEC + SBC Y_pos + TAX + ;LDX Y_pos for_y: LDA byte_to_paint ORA (>btp_mem_pos), Y @@ -54,8 +58,8 @@ move_8px_down: LDY #$00 Add_16 >btp_mem_pos, D, btp_mem_pos), Y @@ -55,7 +58,6 @@ move_8px_up: Sub_16>btp_mem_pos, D,