Difference between revisions of "Talk:Memory layout"
Jump to navigation
Jump to search
(Created page with "VRAM Map While Running System Applets may be incorrect in browser on 4.5. I executed the following code, but the bottom screen didn't change. void _Noreturn _start() __attribute_...") |
|||
Line 11: | Line 11: | ||
} | } | ||
--[[User:173210|173210]] 09:13, 28 March 2015 (CET) | --[[User:173210|173210]] 09:13, 28 March 2015 (CET) | ||
+ | |||
+ | That code is wrong for writing to VRAM, you're writing to the .code area(if anything). You can't directly write to VRAM anyway. --[[User:Yellows8|Yellows8]] 15:44, 28 March 2015 (CET) |
Latest revision as of 15:44, 28 March 2015
VRAM Map While Running System Applets may be incorrect in browser on 4.5. I executed the following code, but the bottom screen didn't change. void _Noreturn _start() __attribute__((section (".text.start"))); void _Noreturn _start() { int32_t *p;
for (p = (int32_t *)0x48F000; (uintptr_t)p < 0x4C7400; p++) *p = 0; svcExitProcess(); } --173210 09:13, 28 March 2015 (CET)
That code is wrong for writing to VRAM, you're writing to the .code area(if anything). You can't directly write to VRAM anyway. --Yellows8 15:44, 28 March 2015 (CET)