2017-07-28 11:50:13 -04:00
|
|
|
subroutine ft8apset(mycall12,mygrid6,hiscall12,hisgrid6,bcontest,apsym,iaptype)
|
2017-07-14 15:35:22 -04:00
|
|
|
parameter(NAPM=4,KK=87)
|
|
|
|
character*12 mycall12,hiscall12
|
|
|
|
character*22 msg,msgsent
|
|
|
|
character*6 mycall,hiscall
|
2017-07-28 11:50:13 -04:00
|
|
|
character*6 mygrid6,hisgrid6
|
2017-07-14 15:35:22 -04:00
|
|
|
character*4 hisgrid
|
2017-07-28 11:50:13 -04:00
|
|
|
logical bcontest
|
2017-07-14 15:35:22 -04:00
|
|
|
integer apsym(KK)
|
|
|
|
integer*1 msgbits(KK)
|
|
|
|
integer itone(KK)
|
|
|
|
|
|
|
|
mycall=mycall12(1:6)
|
|
|
|
hiscall=hiscall12(1:6)
|
2017-07-14 18:09:50 -04:00
|
|
|
hisgrid=hisgrid6(1:4)
|
2017-07-14 15:35:22 -04:00
|
|
|
if(len_trim(hiscall).eq.0) then
|
|
|
|
iaptype=1
|
2017-07-14 18:09:50 -04:00
|
|
|
hiscall="K9AN"
|
|
|
|
else
|
2017-07-14 15:35:22 -04:00
|
|
|
iaptype=2
|
|
|
|
endif
|
2017-07-14 18:09:50 -04:00
|
|
|
hisgrid=hisgrid6(1:4)
|
|
|
|
! if(len_trim(hisgrid).eq.0) hisgrid="EN50"
|
|
|
|
if(index(hisgrid," ").eq.0) hisgrid="EN50"
|
2017-07-14 15:35:22 -04:00
|
|
|
msg=mycall//' '//hiscall//' '//hisgrid
|
2017-09-25 13:02:52 -04:00
|
|
|
i3bit=0 ! ### TEMPORARY ??? ###
|
|
|
|
call genft8(msg,mygrid6,bcontest,i3bit,msgsent,msgbits,itone)
|
2017-07-28 11:50:13 -04:00
|
|
|
apsym=2*msgbits-1
|
|
|
|
|
2017-07-14 15:35:22 -04:00
|
|
|
return
|
2017-07-28 11:50:13 -04:00
|
|
|
end subroutine ft8apset
|