[60D] patches and early Magic Lantern version to test

450 views
Skip to first unread message

indy arm

unread,
Dec 19, 2010, 1:02:40 PM12/19/10
to ml-d...@googlegroups.com
Hi,

Please find a 60D version (with firmware 1.0.8!!) for test and/or improve it.
Code is based on latest Alex version (0.2 pre-release).

Since I do not own the camera myself, support will be difficult.
It may change in early 2011.

Again, be careful with this experimental software!

Indy
magiclantern-0.2alex-letstry1-60d_fw108.zip
60d-diff.zip

Alex

unread,
Dec 19, 2010, 11:28:53 PM12/19/10
to Magic Lantern firmware development
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

Piers

unread,
Dec 20, 2010, 12:07:12 AM12/20/10
to ml-d...@googlegroups.com
Can we put them all in one .h file - what's the advantage of the stubs?
Reply all
Reply to author
Forward
0 new messages