After testing PROPCASE_SHOOTING, I think its value is correct: 0 when not shooting, 1 when half press / shooting / saving to sd card.
None of the hooks seem to work so I think my code_gen code is not complete yet.
49492A00080000002200FE0004
02215252CanonCanon IXUS 160CHDK ver. 1.3.0-3002015:05:24 12:54:43Canon IXUS 160-e@B2015:05:24 12:54:43
Back with more testing:With only 3 parameters it still crashed.Looking at the asm and comparing to the ixus140, while the beginning of the function looks the same, the codepath to the sprintf is quite different.
The DNG gets written, size about 24MB, but I can't seem to open it in my image viewer (I think it can open dng files fine, may have to test that). I quickly downloaded Able RAWer and i gave me floating point division by zero error or something like that.
Apart from this, when I enable RAW saving, the jpg image has weird colors in some places (purple shade)
RAW (without DNG):Saves JPG correctly (no color issue), didn't try to open it as i don't have converter software.
Is there any way to create a buffer in chdkptp ? My understanding is that the first argument is a char* that the function fills, the others are enough information to make the directory unique (per month).I could try different values and try to call it using call_func_ptr instead of recompiling firmwares everytime.
// ARAM_HEAP_START = 0x60e000 // Found @ 0xff9a53d0// ARAM_HEAP_SIZE = 0x22000 // Found @ 0xff9a5390
I did fix time() to the address you gave me.
Edit: multiple tries to put it earlier, it either does not work anymore (2 shots) or it doesn't save at all, the way it is now is the earliest i can put it (unless there is another way I haven't explored)
Looked at the sx170 code, tried to port it, but camera does not even boot, romlog gives a crash at expdrv task.
Started by amavroidis « 1 2 ... 5 6 » General Discussion and Assistance
Started by STEREO_A Creative Uses of CHDK
Started by reyalp DryOS Development
Started by reyalp General Discussion and Assistance