A2100IS Porting - page 4 - General Discussion and Assistance - CHDK Forum
supplierdeeply

A2100IS Porting

  • 62 Replies
  • 15711 Views
Re: A2100IS Porting
« Reply #30 on: 26 / January / 2012, 15:56:03 »
Advertisements
That looks like it should at least trigger the raw code, even if it doesn't capture correct data.
Have you tried putting an LED blink into 'raw_savefile' (raw.c)?

It's not blinking inside of 'raw_savefile()' - seems because "capt_seq_hook_raw_here()" in not at correct place. Unfortunately, I'm still can't find proper way how to fix capt_seq.c :( my asm knowledge increased a lot during this time, but it's not enough, so I'm still working on it.

Thanks for help - now I'm at least know what to look for.

Re: A2100IS Porting
« Reply #31 on: 26 / January / 2012, 17:32:02 »
Well... it's fixed. Everything was fine with capt_seq.c - problem was in boot.c. capt_seq_task() should be at Hook2 instead of Hood1 for my camera.
Code: [Select]
void taskCreateHook2(int *p) {
p-=17;
if (p[0]==0xffc6036c)  p[0]=(int)init_file_modules_task;
if (p[0]==0xffc48f48)  p[0]=(int)capt_seq_task;
// if (p[0]==0xffc7ddf0)  p[0]=(int)exp_drv_task;
}
« Last Edit: 26 / January / 2012, 17:36:35 by ac.n1bs »

Re: A2100IS Porting
« Reply #32 on: 28 / January / 2012, 17:34:28 »
capt_seq.c completed;

How to check that "exp_drv_task()" is OK ?

Working on movie_rec.c.

*

Offline reyalp

  • ******
  • 13501
Re: A2100IS Porting
« Reply #33 on: 28 / January / 2012, 17:45:17 »
capt_seq.c completed;

How to check that "exp_drv_task()" is OK ?
Define CAM_EXT_TV_RANGE            1 in your platform_camera.h, try to take a picture longer than 64 sec with overrides.
Don't forget what the H stands for.


Re: A2100IS Porting
« Reply #34 on: 30 / January / 2012, 09:13:38 »
One more question - sometimes, when I'm in CHDK Menu and ALT mode active, camera hides menu, but it's active - when you press down/up - it will redraw menu again. What can cause this ? It looks like when camera makes AF, it's redrawing screen from different buffer than contain CHDK.

Thanks in advance!

Re: Re: A2100IS Porting
« Reply #35 on: 30 / January / 2012, 11:50:10 »
One more question - sometimes, when I'm in CHDK Menu and ALT mode active, camera hides menu, but it's active - when you press down/up - it will redraw menu again. What can cause this ? It looks like when camera makes AF, it's redrawing screen from different buffer than contain CHDK.
this is normal and has been discussed many times on this forum. You just have to live with it.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Re: A2100IS Porting
« Reply #36 on: 30 / January / 2012, 12:08:43 »
this is normal and has been discussed many times on this forum. You just have to live with it.

Then Sorry for the dump  question :) I thought it's some kind of glitch with buffers.

Re: A2100IS Porting
« Reply #37 on: 18 / February / 2012, 15:07:53 »
Hi ac.n1bs!

This is just to encourage you, to go on. Great work so far!!! Unfortunately I am not able to support you, but if you need help with testing, I am willing to do so. I have an 2100IS with Firmware Ver GM1.00A - and I really, really would like to take RAW images with it!!!  :)

mariner
« Last Edit: 18 / February / 2012, 15:44:03 by mariner »


Re: A2100IS Porting
« Reply #38 on: 18 / February / 2012, 16:25:48 »
Hi Mariner,

CHDK mod almost finished (you can check fist post for the detail), but unfortunately I don't have enough time to continue it's development. Only few steps left :(

I'm attaching compiled chdk to this post, please try it and let me know on results. May be there will be some glitches, but it's pretty stable for me.

Guys, who can help me with putting sources to SVN ? May be someone else will be able to finish it.

Thanks!

Re: A2100IS Porting
« Reply #39 on: 19 / February / 2012, 18:30:07 »
CHDK mod almost finished (you can check fist post for the detail), but unfortunately I don't have enough time to continue it's development. Only few steps left :(

I'm attaching compiled chdk to this post, please try it and let me know on results. May be there will be some glitches, but it's pretty stable for me.

Guys, who can help me with putting sources to SVN ? May be someone else will be able to finish it.
Installing TortoiseSVN on your machine (assuming its windows) is pretty easy if you want to make a patch file.  But if the list of things still to be done in the first post is correct,  then you are probably not really ready to add this to the svn build.

Having said that,  it would be good if you could zip your loader/a2100 and platform/a2100 directories and post them here.   Along with a list of anything you needed to change in the core and include directories.

That will give anyone coming after you a great place to start from.  Thanks for the great work so far !

« Last Edit: 19 / February / 2012, 18:32:35 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics