before i forget , i write some problems and solutions i find during porting, maybe it help other to port faster.
If other devs find some solutions for problems they get during porting, i think also usefull when write this here.
Problem:---------------------------------------
a script does not show output on console
----
check if strcat have the correct address.on some Cameras it have same address as strcpy get from automatic func detection.
Problem:--------------------------------------------
zebra does nothing show.
-----
look if your camera have enough RAM free.if there are not more as 400 kb of ram free, try the
#define CAM_ZEBRA_NOBUF 1
in camera.h file
If your Camera have 16:9 TFT you need also use this
#define CAM_ZEBRA_ASPECT_ADJUST 1
some camera do not capture values below 5 or above 250.so a good value for underexpose overexpose threshold is 10
Problem:--------------------------------------------
The colors of chdk text change when use diffrent Canon modes.
---
You need find colors that do not change.on my Ixus1000 this are all colors from 0 upto 0x1f.you can see that with show colors menu in chdk.this camera also have no blue green color constant.
In camera.h you can define what palette is used
#define CAM_BITMAP_PALETTE 3
If no palette fit, you need add a new in file core/gui_draw.h
Problem:----------------------------------------------
keyboard does not work, and when press a key a bit in physw_status is set.
You have the wrong address.there are several addresses that have all key presses, but only the address is ok, that clear a bit when the key is press.best you compare with working Cameras.
also it must be possible that when you set the physw_status to 0xfffff during alt mode, and when you leave the alt mode canon key must work again.