Couple things I noticed adding the 121a port:
The platform/shooting.c modemap appears to be a copy/paste of
G7X. If someone can go through and get the actual modes present on this camera, that would be appreciated.
The procedure is just set each available shooting mode in the canon UI, and note the PROPCASE_SHOOTING_MODE (53) value. You can use the debug menu propcase display. This will allow scripting to correct get and set modes by name, among other things.
Also, boot.c contains contains this thing
void CreateTask_spytask()
{
if ( *(int*)(0x9e7😎 & 0x00600000 )
{
if (( *(int*)(0xD20BF4A0) & 0x00002000) == 0) _CreateTask("SpyTaskMY", 0x19, 0x2000, spytask_my, 0);
_CreateTask("SpyTask", 0x19, 0x2000, spytask, 0);
}
}
It appears to only start spytask if the *(int*)(0x9e7😎 & 0x00600000 condition is true, and appears to have some special shortcut to generate a romlog.
Starting spytask conditionally seems incorrect. CHDK running with all the other hooks but not spytask will be broken in unpredictable ways.
If this is required for some reason, some explanation would be very welcome. If it's a development leftover, it should removed.
M10 does not have similar code.
The romlog dump shortcut seems like development thing that should be #if 0'd for normal builds, but if for some reason it is kept, it should be documented.
Thanks