From 4cb07e77bb2479260c6ec1917751a9ce29d66671 Mon Sep 17 00:00:00 2001 From: pepepper Date: Sun, 20 Feb 2022 04:54:23 +0900 Subject: [PATCH] Add framebuffer address change --- main.S | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.S b/main.S index 235447b..d5a947b 100755 --- a/main.S +++ b/main.S @@ -98,6 +98,13 @@ rtos_loop: str r1,[r2],#4 beq clear_loop + +//LCDIF CUR_BUF change + ldr r1,=0x40aa0000 //LCDIF_CTRL + ldr r3,=0x62000000 //new framebuffer addr + str r3,[r1,#0x50] + + ldr r0, =0x60000000 mrc p15, 0, r8, c14, c2, 1