[dyn_const] CAMERA_APPLICATION_START_EVENT on A2? : Корзина : Форум


 lappenkaese1399:
22.04.13, 22:21
 Hi,
I am currently struggling with porting dyn_const value from db2020 to C901 R1GA028.
It would be nice to have "CAMERA_APPLICATION_START_EVENT" (0x1BF) for elf programming.
I looked at Den po's "Rule of thirds" src and saw he found a way to check for camera without timer.
I searched nearly every A2 dyn_const.bin and in none is the requested event.
Is it even possible to port "CAMERA_APPLICATION_START_EVENT" to A2?

I gave it a shot but failed (I am no good in assambler, just started porting).
I retreived everything I need from k800 firmware and c901 to port constant (look attached pic)
If I enter the retreived value in DYN_CONST.bin, it is not working properly anymore.

value ported: 0x5E4 (k800) -> 0xF4D (C901) [wrong!]

What struggles my mind is that the function "evtl_intCamera_default" (in db2020), is slightly different than "evtl_Camera_default" in A2

Can sb. point me the right way?
Thanks :)

[ Редактировано lappenkaese1399 в 22.4.13 23:43 ]

Прикрепленный к сообщению файл:

camera_application_start.JPG camera_application_start.JPG (259.04 kb; 139 hits) Скачать файл

 den_po:
22.04.13, 22:59
 Перемещено.

 lappenkaese1399:
23.04.13, 03:05
 Well, that's odd
instead of just moving me, you could have given me a short answer to my question ;)
after all this topic should have concerned you too, as you have chosen another way apart from using timers.
So what about that constant?
Thanks in advance,
Martin

 lappenkaese1399:
26.04.13, 15:04
 *push*
howcome nobody can tell me / want to tell me, if it is even possible to port CAMERA_APPLICATION_START_EVENT to A2 ?


Добавлено 27.4.13 19:08

@ den_po: please move topic back to a section in which people are actually looking into...
e.g. elf section, where I originally created it. Otherwise I will open a new thread (- I really want to avoid that!)
Thanks

URL этой темы:
https://mobilefree.justdanpo.ru/newbb_plus/viewtopic.php?topic_id=5708

© 2005-2018 supertrubka.org