gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: pic pong with gpsim
From: Daniel Serpell
Date: Fri, 14 Mar 2003 12:59:01 -0400


On Thu, Mar 13, 2003 at 08:06:11PM +0100, Ralf Forsberg wrote:
> 
> However, I'm having problems differentiating between the vertical sync
> pulses for field0 and 1. Need that to get the interlazing layers on the
> right place.

Count the number of equalization pulses (eq. pulses are at
twice the H freq) after VB.
->Even number of pulses -> even frame
->Odd number of pulses -> odd frame.

This will work for NTSC too.

    Daniel.


gnupic@linuxhacker.org