From 465996a2e6f7feafecb95f055773f699a21cb204 Mon Sep 17 00:00:00 2001 From: hugova Date: Thu, 15 May 2025 17:32:42 +0200 Subject: [PATCH] used unsafe add to improve char_draw performance --- wip-hugo/routines/text/char_draw.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wip-hugo/routines/text/char_draw.s b/wip-hugo/routines/text/char_draw.s index 0dcfd2d..c0dca5c 100644 --- a/wip-hugo/routines/text/char_draw.s +++ b/wip-hugo/routines/text/char_draw.s @@ -48,7 +48,7 @@ calculate_screen_position: AND Y_pos ;; offset to add CLC ADC X_pos - Add_16 screen_position, screen_position + 1, A, #$00 + Add_16 screen_position, screen_position + 1, A, #$00, ! move_data: ;; One character is 8 byte, move these bytes to screen