There are a few more hardcoded addresses which need changed:
debug.c:
void (*mvrFixQScale)(uint16_t *) = (void*) 0xFF1AA9C4; // 550D 1.0.8 &
1.0.9
void (*mvrSetDefQScale)(int16_t *) = (void*) 0xFF1AA4A0; // 550D 1.0.8
& 1.0.9
zebra.c:
#define yuv422_image_buffer 0x40D07800
shoot.c
if (*(int*)0x41d0) // that's focus confirmation (find it with mem-spy)
return (*(int*)(0x2dec)); // in display_sensor_active (again, find it
with mem-spy)
and maybe others (I dn't remember them now).
Question: how to move the hardcoded constants (like
yuv422_image_buffer) in the stubs file without breaking the code? I've
tried to add a NSTUB and then declaring something like "int
yuv422_image_buffer"; it compiles, but the value is not the good one.
> magiclantern-0.2alex-letstry1-60d_fw108.zip
> 317KViewDownload
>
> 60d-diff.zip
> 16KViewDownload