From 5c2a6c42d28307da452569461f8c86b88b897efc Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 27 Feb 2024 15:33:45 +0100 Subject: [PATCH] hold data in ram --- main.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.S b/main.S index 1a56f35..665929b 100644 --- a/main.S +++ b/main.S @@ -108,6 +108,8 @@ _start: ;; initialize stack pointer with value from linker mov.w #__stack, SP + ;; ---------------------------------------------- + ;; load data from template area in rom into ram mov.w #screendata, r7 mov.w #screendataend, r8 mov.w #screendata_tmpl, r9 @@ -117,6 +119,7 @@ _start_load_next: inc.w r9 cmp.w r7, r8 jnz _start_load_next + ;; ---------------------------------------------- init: ;; configuration of GPIO Ports