c_joerg
Is “fb_type†the “display type†which changes from 2 to 4?
I don't think so, but reyalp can correct me if I'm wrong.
You can get the displaytype by executing the following in chdkptp.
firmware 101a:
=return peek(0x9974)
firmware 120f:
=return peek(0x9990)
In other words, you peek the displaytype variable's address that you can find in stubs_min.S.
Can you get the displaytype in following cases (you can try rec & play mode, but they might be the same):
- LCD mode
- EVF mode
- HDMI mode
The framebuffer dimensions should be in sub_FC177FCA for 101a, but I see 640px widths there for types 0,3,4,5, which I find confusing.