get_paramaterdata issue:
inside the getparameter function (@0xFF95A55C, i hope its the right one)
there is some asm that does:
if ((param_id & 0xFFFF) > 0x45) return 0
Chdk calls it with id | 0x4000 -> bigger than 0x45 -> returns no data
The sd400 code has a test for 0x4000 and returns when the bit is set.
however calling getparameter without ORing with 0x4000
leads to system crashes while reading certain parameter ids
and resulting in lots of 0
(
any ideas ? anybody ?