R7 Decompilation progress
So, I've been decompiling the r7's firmware, and I've just crossed 10% decompiled. I figured I'd share some interesting findings.
- The self test is entirely fake (I think we all knew this)
Basically how the self test works, it just writes a fake alert frame into the same memory block that the alert screen draws from and then the splash screen handler triggers the alert screen. Theres no pass/fail, it returns 0 if it finished and 1 if you stopped it.
There is no screen buffer at all. I don't know why. Pixels are drawn directly to the display controller.
There are 7 alert commands. X is 1, K is 2, 5, 8, and 9 (8 and 9 seem to be for mrcd/gatso) and then Ka is 3 and 6. The DSP sends these attached to signal frames, I think. Not entire sure but it seems like that how it works.
There are a ton of other little things, and some nitty gritty things like the false alert filter and the connection to the DSP, but I don't fully understand those yet so I'm gonna hold on attempting to explain them.