Hiya!
I am so happy that you started on the A495 port. I have the same camera and same firmware version as you.
Tell if there is anything i can help you with, like tedious trail and error work,etc. I dont think it would be a problem for me to set up a build enviroment for this camera.
Hi John,
glad to hear that
the build environment is easy to setup, you just need CHDK-Shell if you are on windows.
For now, all I have done:
loader\
platform\sub\boot.c
platform\sub\capt_seq.c
platform\sub\lib.c
platform\sub\movie_rec.c
platform\sub\stubs_entry_2.S
platform\sub\stubs_min.c
platform\lib.c
Update, CHDK now display logo. After the logo disappear, nothing from CHDK appear like battery indicator, etc... (or does it needed to be enable first?)
I don't know about keymap and have been read entire discussion and posts here:
http://chdk.setepontos.com/index.php/topic,4727.0.htmlBelow is my current keymap and keymask
#define KEYS_MASK0 (0x00000000)
#define KEYS_MASK1 (0x00000000)
#define KEYS_MASK2 (0x017005f4)
//{ 2, KEY_DISPLAY , 0x00000400 }, // Doesnt exist's?
{ 2, KEY_RIGHT , 0x00000004 },
{ 2, KEY_SHOOT_FULL , 0x00000010 },
{ 2, KEY_SHOOT_HALF , 0x00000020 },
{ 2, KEY_ZOOM_IN , 0x00000080 },
{ 2, KEY_ZOOM_OUT , 0x00000040 },
{ 2, KEY_SET , 0x00000100 },
{ 2, KEY_UP , 0x00100000 },
{ 2, KEY_DOWN , 0x00200000 },
{ 2, KEY_LEFT , 0x00400000 },
{ 2, KEY_MENU , 0x01000000 },
{ 0, 0, 0 }
DEF(physw_status, 0x2E7F4)
initial val
0:88de0180
1:040000c2
2:0405x1f4
2:xx1xxxxx up
2:xx2xxxxx dn
2:xx4xxxxx left
2:xxxxxxx0 right
2:xxxxx1xx func/set
2:xxxxxxEx full
2:xxxxxxCx half
2:x5xxxxxx menu
2:xxxxxx7x zoom in
2:xxxxxxbx zoom out
playback, cannot retrive yet
I don't know if I set up keymap correctly, need experts to check this. But with this keymap, all keys are responding,
and I still don't know how to call CHDK menu either...? and how CHDK process input key. Also there is no print button in this model...