what are the values of TBL_POINTER_SHIFT variable
it gets 1 when the TBL_POINTER_SHIFT become 2048 ,with lower the value it will be zero
am curiuos how the technique behind it ?
It's basically a DDS generator. What they call TABLE_POINTER_xx is usually designated DDS accumulator. The upper 5 bits are used as index into the sine table.