summaryrefslogtreecommitdiff
path: root/lib/fsk4hf/ft8apset.f90
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/fsk4hf/ft8apset.f90
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/fsk4hf/ft8apset.f90')
-rw-r--r--lib/fsk4hf/ft8apset.f9031
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/fsk4hf/ft8apset.f90 b/lib/fsk4hf/ft8apset.f90
new file mode 100644
index 00000000..ca5e5a6d
--- /dev/null
+++ b/lib/fsk4hf/ft8apset.f90
@@ -0,0 +1,31 @@
+subroutine ft8apset(mycall12,mygrid6,hiscall12,hisgrid6,bcontest,apsym,iaptype)
+ parameter(NAPM=4,KK=87)
+ character*12 mycall12,hiscall12
+ character*22 msg,msgsent
+ character*6 mycall,hiscall
+ character*6 mygrid6,hisgrid6
+ character*4 hisgrid
+ logical bcontest
+ integer apsym(KK)
+ integer*1 msgbits(KK)
+ integer itone(KK)
+
+ mycall=mycall12(1:6)
+ hiscall=hiscall12(1:6)
+ hisgrid=hisgrid6(1:4)
+ if(len_trim(hiscall).eq.0) then
+ iaptype=1
+ hiscall="K9AN"
+ else
+ iaptype=2
+ endif
+ hisgrid=hisgrid6(1:4)
+! if(len_trim(hisgrid).eq.0) hisgrid="EN50"
+ if(index(hisgrid," ").eq.0) hisgrid="EN50"
+ msg=mycall//' '//hiscall//' '//hisgrid
+ i3bit=0 ! ### TEMPORARY ??? ###
+ call genft8(msg,mygrid6,bcontest,i3bit,msgsent,msgbits,itone)
+ apsym=2*msgbits-1
+
+ return
+end subroutine ft8apset