Given that the assembly hacking is beyond me for the time being, I'll ignorantly ask if what you're doing is change the OS's own routines in assembly to make it call CHDK's raw hooks twice, once before and once after the dark frame is taken...?
It's just not clear to me just how much of the firmware we can modify. I know we aren't actually (permanently) modifying any, but still we're subtly changing some, aren't we? And specifically I'm wondering wether it would be at all possible to completely skip the JPEG processing and saving routines.
This sounds ridiculous, but first CHDK versions wrote RAW twice - before and after DF subtraction (first RAW was overwritted by second) - and without any capt_seq_task
Hehe. Aside from capture twice, was it moved to solve some other problem ?
Yes, "old" RAW on some cameras caused E16 (capture timeout?) error.
Do you have a link or svn rev for the old code ?
Disabling jpeg should be fairly easy... we ought to be able to just jump past it after writing the raw. If you are lucky, you can just jump to the end of one of those functions that we've hooked, but there might be some essential housekeeping that has to happen after you take an image. Try it and see...
Quote from: reyalpDisabling jpeg should be fairly easy... we ought to be able to just jump past it after writing the raw. If you are lucky, you can just jump to the end of one of those functions that we've hooked, but there might be some essential housekeeping that has to happen after you take an image. Try it and see...I'd gladly try, but I think I need some kind of jump start...I don't have IDA and I'd rather work on Linux, and right now I really just have no clue how the firmware is structured.