WSJT-X/lib/ft8/foxgen_wrap.f90
Joe Taylor 161ac6e76a All-new algorithm for determining Tx messages for Fox.
Also, extend max cmsg length to 40 characters.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8356 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2017-12-21 20:55:38 +00:00

25 lines
551 B
Fortran

subroutine foxgen_wrap(msg40,msgbits,itone)
parameter (NN=79,ND=58,KK=87,NSPS=4*1920)
parameter (NWAVE=NN*NSPS)
character*40 msg40,cmsg
character*6 mycall6
integer*1 msgbits(KK),msgbits2
integer itone(NN)
common/foxcom/wave(NWAVE),nslots,i3bit(5),cmsg(5),mycall6
common/foxcom2/itone2(NN),msgbits2(KK)
nslots=1
i1=index(msg40,'<')
i2=index(msg40,'>')
mycall6=msg40(i1+1:i2-1)//' '
cmsg(1)=msg40
i3bit(1)=1
call foxgen()
msgbits=msgbits2
itone=itone2
return
end subroutine foxgen_wrap