I'm trying to generate a video signal using a PIC16F84 running at 12MHz, but i have some trouble with the frame-synchronization. (The picture is not stable) Could someone explain how the frame-sync works ?