The power supplies of this device are fairly hairy in that it has to power steal around the zero crossings of a mains signal while shorting it's own input using MOSF ...
The application is actually mains powered (floating), there is no shortage of power only problems with heat from linear supplies and component stress ...
Is there a way in the CCS PCW C-compiler to slip a small user startup function into the memory space that is called prior to the normal C start up sequence before main() ?