I have done something similarish with a pic micro, but much less tech sounding.
I used the built in comparator with I think it was a 2.5v reference, the low voltage mains ac reference came via the power supply transformer for the pic.
An interrupt was generated when the ref crossed 2.5v, and I just pre loaded a timer with a value, this value was 'fudged' so that power level 0 gave zero power, it worked.
For controlling an scr or triac you dont have to detect zero cross, you can detect any other point in the power cycle so long as its repeatable and just correct with an offset value.
Beware transformers create phase shift, and if the load is to vary so does the shift.