Is someone experiencing like me glitches drawing in ARM11 mode? I have the problem that randomly the value of some pixels don't change (even if the new value is correctly stored in the buffer, I checked it). Drawing in other position of the screen makes appear gradually the previously not correctly showed pixels. Very strange. Probably some sync problem with GPU.
If you want I can post the ARM11 version of my TE3DS to show more clearly the problem.
It's very annoying now that I can use the touchpad and the joystick. I would like to code somethin new, but I'm stuck on this problem.
use
u32 mcrVal=0x0;
__asm__ ("mcr p15, 0, %[val], c7, c14, 4" :: [val] "r" (mcrVal)); //flush
__asm__ ("mcr p15, 0, %[val], c7, c10, 4" :: [val] "r" (mcrVal)); //Data Synchronization Barrier Register
after you wrote the buffer that should fix the problem + you need to sync to the frames (you can also swap the buffer manually with a GPU register (you can use the GPU register only on the arm11)) or write to both buffer
... and sdmmc library doesn't work anymore in ARM11.
well it only works on the arm9 what have you expected (you can use a static buffer in the mem to send data to the other processor)