Magic Lantern Forum

Using Magic Lantern => General Help Q&A => Topic started by: sarnoff on January 15, 2013, 05:40:55 AM

Title: Enable Mirror/Reverse display on non-flip LCD?
Post by: sarnoff on January 15, 2013, 05:40:55 AM
Hey all, thanks for a great product and a very helpful forum! I tried searching but couldn't find an answer to this: is it possible to enable mirrored/reverse LiveView on an non-flip-out LCD camera? I have a Canon 500D and I use a flipbac device to view the screen. It's a mirror that attaches to the bottom of the lcd so I can look down while shooting and see the display, since my camera doesn't have a flip-out LCD (my ghetto cheap alternative). Is there any way to enable the display options to reverse the image so it appears normal in the reflection? I saw this option is coded into the ML for other cameras, is there a way to activate it in mine? I have the option to enable Upside-Down mode but that's not exactly what I need.
Title: Re: Enable Mirror/Reverse display on non-flip LCD?
Post by: scrax on January 16, 2013, 07:22:51 PM
can you compile ML?
With those line added to features.h in platform/500D folder I can compile ML without errors, but don't know if screen mirroring will work on 500D.


#define CONFIG_VARIANGLE_DISPLAY
#define DISPLAY_ORIENTATION 0


(second line is not in the correct place, but I've added it there for simplicity)
Title: Re: Enable Mirror/Reverse display on non-flip LCD?
Post by: sarnoff on January 20, 2013, 11:41:27 AM
I added those lines to features.h but got errors:

tweaks.o: In function `display_orientation_toggle':
tweaks.c:(.text+0x13bc): undefined reference to `NormalDisplay'
tweaks.c:(.text+0x13cc): undefined reference to `ReverseDisplay'
tweaks.c:(.text+0x13d4): undefined reference to `MirrorDisplay'
zebra.o: In function `redraw_do':
zebra.c:(.text+0x7fa4): undefined reference to `NormalDisplay'
collect2: ld returned 1 exit status
../../Makefile.inc:317: recipe for target `magiclantern' failed
make[1]: *** [magiclantern] Error 1
make[1]: Leaving directory `/home/Sarnoff/magic-lantern/platform/500D.111'
Makefile:47: recipe for target `500D' failed
make: *** [500D] Error 2
Title: Re: Enable Mirror/Reverse display on non-flip LCD?
Post by: scrax on January 20, 2013, 12:03:15 PM
Quote from: sarnoff on January 20, 2013, 11:41:27 AM
I added those lines to features.h but got errors:

tweaks.o: In function `display_orientation_toggle':
tweaks.c:(.text+0x13bc): undefined reference to `NormalDisplay'
tweaks.c:(.text+0x13cc): undefined reference to `ReverseDisplay'
tweaks.c:(.text+0x13d4): undefined reference to `MirrorDisplay'
zebra.o: In function `redraw_do':
zebra.c:(.text+0x7fa4): undefined reference to `NormalDisplay'
collect2: ld returned 1 exit status
../../Makefile.inc:317: recipe for target `magiclantern' failed
make[1]: *** [magiclantern] Error 1
make[1]: Leaving directory `/home/Sarnoff/magic-lantern/platform/500D.111'
Makefile:47: recipe for target `500D' failed
make: *** [500D] Error 2


There are some stubs.S missing for 500D don't know why it compiled at firs on mine, now I have the same error as you.

//For 600D
NSTUB( 0xFF33BF7C, MirrorDisplay )
NSTUB( 0xFF33BFDC, NormalDisplay )
NSTUB( 0xFF33BFAC, ReverseDisplay )

those are in the 600D folder, I don't know how you can find them on 500D, if you can found them it should work.
Title: Re: Enable Mirror/Reverse display on non-flip LCD?
Post by: sarnoff on January 20, 2013, 10:01:30 PM
Thanks. That compiled, but the menu option doesn't show up on my camera. I'll do some digging around.
Title: Re: Enable Mirror/Reverse display on non-flip LCD?
Post by: a1ex on January 20, 2013, 10:43:56 PM
Never ever use stubs for another camera. This will jump to some arbitrary address in Canon firmware, what if it jumps to EraseSectorOfRom? ;)