Так, докладываю, схему срисовал, вчистовую перерисовал чтобы легко читалась, осталось ее еще раз проверить, сверить с моими черновыми записями (без окончательной схемы я бы в них не разобрался) и можно выкладывать. На сегодня пока всё.

- - - Добавлено - - -

Нашел в заброшенной папке турбо-паскаля программу. Если мне не изменяет память, она по заданным (править прямо в коде) функциям ПЛМ-ки рисует на экране визуальное отображение бордюра и синхросигналов.
Код:
program plm;
uses graph,crt;
var x,y,gd,gm,th,tv:integer;
rg0,vv,b2,h6,h5,h4,b3,v4,v3,v2,v5,v8,vs,bl,hs,he,z1,z2,bufh,bufv:boolean;

procedure counter;
begin
if (h4 and h5 and h6)=true then th:=0 else inc(th);
b2:=(th and 2)=2;
b3:=(th and 4)=4;
h4:=(th and 8)=8;
h5:=(th and 16)=16;
h6:=(th and 32)=32;
if (not bufh and hs)=true then inc(tv);
bufh:=hs;
v2:=(tv and 4)=4;
v3:=(tv and 8)=8;
v4:=(tv and 16)=16;
v5:=(tv and 32)=32;
vv:=((tv and 64=64) or (tv and 128=128));
v8:=(tv and 256)=256;
if (not bufv and vs)=true then tv:=0;
bufv:=vs;
end;

begin
gd:=detect;
initgraph(gd,gm,'');
{setfillstyle(1,7);
bar(0,0,448,320);
setfillstyle(1,15);
bar(136,64,392,256);
bar(0,0,64,320);
setfillstyle(1,10);
bar(0,0,32,320);
bar(0,304,448,320);}
rg0:=true;
repeat;
counter;
delay(5);

vs:=v3 and v4 and v5 and not vv and v8 and rg0
or v2 and v3 and not vv and v4 and v5 and v8 and not rg0
or not v2 and not v3 and not vv and not v4 and not v5 and not v8;

hs:=not h6
or not b3 and not h4 and not h5 and h6 and not rg0
or b3 and not h4 and not h5 and h6 and rg0
or h4 and not h5 and h6
or h5 and h6;

x:=th;
y:=tv;
line(th*8,tv,th*8+8,tv);
{writeln(x,' ',hs,' ',y);}

until keypressed;
closegraph;
end.