From 83acdca6a89d2092cc64f0bcd370c8995275dde5 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 22 Oct 2012 19:22:50 +0000 Subject: [PATCH] Add the file "jt9sync.f90", which defines the new sync vector. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2683 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- lib/jt9sync.f90 | 22 ++++++++++++++++++++++ mainwindow.cpp | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 lib/jt9sync.f90 diff --git a/lib/jt9sync.f90 b/lib/jt9sync.f90 new file mode 100644 index 000000000..28e1d68ea --- /dev/null +++ b/lib/jt9sync.f90 @@ -0,0 +1,22 @@ + integer ii(16) !Locations of sync symbols +! data ii/1,6,11,16,21,26,31,39,45,51,57,63,69,75,81,85/ + data ii/ 1,2,5,10,16,23,33,35,51,52,55,60,66,73,83,85/ + + integer ii2(16) !Locations of sync half-symbols +! data ii2/1,11,21,31,41,51,61,77,89,101,113,125,137,149,161,169/ + data ii2/1,3,9,19,31,45,65,69,101,103,109,119,131,145,165,169/ + + + integer isync(85) !Sync vector +! data isync/ & +! 1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0, & +! 1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0, & +! 0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0, & +! 0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0, & +! 1,0,0,0,1/ + data isync/ & + 1,1,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0, & + 0,0,1,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0, & + 0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,1, & + 0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, & + 0,0,1,0,1/ diff --git a/mainwindow.cpp b/mainwindow.cpp index 60b40c2dd..0a41b1eb3 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//-------------------------------------------------------------- MainWindow +//------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h"