Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - pravdomil

#26
Quote from: dsManning on September 17, 2013, 12:18:28 AM
Would it be possible to program one of the 'lesser used' buttons (by my day to day use at least) like the DoF preview button, to quickly set 1 out of 3 (Shutter, Fstop, ISO) and have the other two variables 'auto expose' using the same projected graph, based off the 1 constant you set?
well this is most requested feature, firstly this has to be implemented: http://www.magiclantern.fm/forum/index.php?topic=7816
#28
Reverse Engineering / Re: Finding AE sensors
September 30, 2013, 01:43:12 PM
Quote from: 1% on September 01, 2013, 06:23:36 PM
you can cache hack and take over the copyolcdata function and read out its parameters then send it on its way? Somehow this is done for the cmos/adtg functions?

could please you send me some hints how to do it?
#29
Archived scripts / Re: PicoC scripting API
September 30, 2013, 12:18:04 AM
A1ex could you please send your script, that generates this API from comments? I would like to make ML modules API.
#30
General Development / Re: Flexible info screen
September 29, 2013, 10:21:35 AM
and what about button assigment? like the canon info screen?
You can select items and invoke custom callback function and give a pressed key as arg0.¨
http://www.magiclantern.fm/forum/index.php?topic=7816.0
#31
General Development / Re: Bars facelift
September 28, 2013, 03:20:02 PM
nice, and do you have idea for movie mode? Sound, buffer, time etc?
For custom content we can use flexinfo?
#32
General Development / Re: Small facelift
September 24, 2013, 12:47:10 PM
nice UI, but I want to solve how to show both helps (.help, .help2) and warnings at same time
sometimes I have to turn on LV or switch something on/off to hide warnings and show .help2 which is in many cases important to see
any ideas?
#33
Quote from: RenatoPhoto on September 15, 2013, 06:55:39 PM
I will analyze these curves to better understand how to use this algorithm.
well now autoexpo is little complicated, this is a prototype, it will be simplified soon I hope
#34
Quote from: RenatoPhoto on September 14, 2013, 11:30:32 PM
No, they look ok.  EC also works but the shutter is stubborn.
well could you try press shutter half way and remember what values it set, and goto the autoexpo menu and compare with values at the cyan linem, does it match?

Quote from: Marsu42 on September 15, 2013, 08:45:40 AM
Would it possible to add this as an easy option?
not now, my goal for now is finding a brightness sensors
#35
so your photos are underexposed?
there can be conflict with other features, not fixed yet
and what the graph looks like?
#36
Reverse Engineering / Re: Finding AE sensors
September 01, 2013, 06:50:37 PM
I tried gdb_add_watchpoint into copyOlcDataToStorage func and to jump table, but it wasn't triggered.

Quote from: 1% on September 01, 2013, 06:23:36 PM
or you can cache hack and take over the copyolcdata function and read out its parameters then send it on its way?
well this is too hard for me, I take a look at cache hack functions
#37
Reverse Engineering / Re: Finding AE sensors
September 01, 2013, 05:28:52 PM
what GDB?
#38
Reverse Engineering / Re: Finding AE sensors
September 01, 2013, 05:10:17 PM
maybe we can use mem_spy but where it can be stored? what address?
#39
Reverse Engineering / Re: Finding AE sensors
September 01, 2013, 10:23:08 AM
not triggered anywhere
ADD             R0, SP, #0xC ; jumptable FF8A02B0 case 59
STMIA           R0, {R4,R5,R9}
ADD             R0, SP, #0xC
BL              sub_FF9D65B0 ; copyOlcDataToStorage
#41
Reverse Engineering / Finding AE sensors
August 31, 2013, 07:50:28 PM
Well I need some help with reverse engineering.
I want to find brightness sensors in viewfinder.
If we found it we can implement ETTR in shooting mode or "auto exposure compensation" as I call it. I will describe it later.

There is a few ways how to find it. I choose debug flag.
After some research with nanomad I found that AE_VALUE is probably set in function copyOlcDataToStorage.
Nanomad says that function copies computed AE_VALUE from Toshiba MCU.
So my first step is find the address from is the data copied. I tried to set debug flag here, but it doest work, my flag wasn't triggered. There is some reasons why:
I spy wrong address (maybe I have ROM image wrong loaded)
AE_VALUE is set somewhere else
g3gg0 iirc some cameras permanently cleared the ICACHE in PwrMgr task, not sure if this is the case on 5D2

So please could anybody spy this?

LDRB            R0, [R8,#2]      ; R8 is what we need
STRB            R0, [R9,#0x1D]   ; 0x1D is struct offset of AE_VALUE


use this https://bitbucket.org/hudson/magic-lantern/pull-request/193/debugger-module
#42
Quote from: Marsu42 on August 26, 2013, 10:09:08 AM
Talking of that, another request: Please also mark the currently/last measured bv with a vertical bar in the graph so one can instantly see what the resulting av/tv/iso _right_now_ are w/o any further hassle :-)
already done

I'm going to vacation, I will be left for 14 days. See later.

Btw here is the patched version:
https://bitbucket.org/pravdomil/magic-lantern-hack/commits/0352dd9cf59c8968f1a25727b878a1bd109218b5
#44
Quote from: Marsu42 on August 25, 2013, 04:26:53 PM
I originally wanted to implement it in the autoiso module, but since your autoexpo now has ec on m and only in m can modify both shutter & iso imho it makes sense to implement it here and leave the autoiso module to good ol' Tv/Av.
Agree, autoiso by a1ex was experimental feature.

Quote from: Marsu42 on August 25, 2013, 04:26:53 PM
Pravdomil, I've got a request that imho is important for action flash shooting

I was shotting with flash more then 4 years ago, I have no flash now. And I prefer shooting without it.
Sorry, I will not be the one who does it.

Quote from: Marsu42 on August 25, 2013, 04:26:53 PM
The reason just I don't do this myself is that I first wanted to discuss the idea and also see if you'd add it yourself since you're a much, much better programmer as I am and can implement these curve modifications while I'd probably fail at it :-o
When I came to ML I don't know much about C, so try it, make pull req and I will give you some hints if I can.
Maybe some other dev will join 1%?
#45
@Audionut
I understand now, but I have no idea how to implemented in C yet

I'm waiting for merging with offic repo but devs have a vacation time?
#46
next update https://bitbucket.org/hudson/magic-lantern/pull-request/196/autoexpo-update/commits

Quote from: Audionut on August 24, 2013, 02:47:35 PM
Request this on as default.
done default lens av = this lens

I have implemented min ISO & min AV & EC changes.
I tried to implement min TV relation but it doesn't make sense for me, could you please post some example?
Above that I want to have same TV on and set min TV without changing other variables.
#47
Quote from: Audionut on August 24, 2013, 04:18:53 AM
Can you determine the max Av of a lens?  Currently with -EC, Av max doesn't respect lens limit.
turn on lens AV

Same TV relations (it works both ways)
if you increase ISO min => move EC curve and ISO curve to the right, also decrease AV max
if you increase AV min  => move EC curve and ISO curve to the left
if you increase EC      => move EC curve and ISO curve to the left, also decrease AV max
if you increase ISO max => move EC curve and ISO curve to the left ??
if you increase TV min  => decrease AV to AV min if not possible move EC curve and ISO curve to the left ??


agree?
#48
Feature Requests / Re: Hyper-Manual mode ala Pentax
August 24, 2013, 10:16:27 AM
well I could implement it to autoexpo module
http://www.magiclantern.fm/forum/index.php?topic=7208.0
there will be an option to attach camera buttons to specific function (eg. min AV)
and on 5D2 we have rear dial and speed dial and ae lock free in M mode
#49
Modules Development / Re: DSLR Arkanoid
August 23, 2013, 08:23:41 PM
Díky
#50
Maybe a found out relations between our properties.
iso_min => ec_off & iso_off & av_max
av_min  => ec_off & iso_off
ec      => ec_off & iso_off & av_max
tv_min  => ec_off & iso_off

iso_max => ec_off & iso_off ??


:D agree?