hi all,
to save some registers and instructions, i'm interested in c++ implementation of the microcode.
how do the c++ functions "log_dane", "exp_dane" have to be used correctly?
i have done following:
...
case VOL3_ID:
// lin > log calculation from vfader value
set_dsp_register(VOL3_P, (dword)log_DANE(value, 2));
break;
...
create_vfader(level_3, VOL3_ID, "s", 0 , 0x7fffffff, 85, 10, 50, 100);
...
sprintf(c, "% .1f", v/10.); // shows float 0..1
...
when i dump the compilied kxl in dane only 0x0 and 0x1 are written in dsp register "vol3". where i am wrong?
thank you
kx it!