From 93f7198f9c2864ef9630cc0cc9e46d6cc1933aa9 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Sat, 27 Apr 2024 12:26:26 +0100 Subject: New upstream version 2.7.0~rc4+repack --- lib/77bit/packjt77.f90 | 11 ++- lib/cablog.f90 | 14 ++- lib/decode_msk144.f90 | 57 +++++++++++ lib/four2a.f90 | 2 +- lib/fst4/fastosd240_74.f90 | 9 +- lib/fst4/ldpcsim240_74.f90 | 229 ++++++++++++++++++++++++++++++++++++--------- lib/ft8/foxgen.f90 | 2 +- lib/jt9.f90 | 14 ++- lib/jt9a.f90 | 11 ++- lib/map65_mmdec.f90 | 6 +- 10 files changed, 292 insertions(+), 63 deletions(-) create mode 100755 lib/decode_msk144.f90 (limited to 'lib') diff --git a/lib/77bit/packjt77.f90 b/lib/77bit/packjt77.f90 index 67ee4ba7..dc03072a 100755 --- a/lib/77bit/packjt77.f90 +++ b/lib/77bit/packjt77.f90 @@ -474,13 +474,17 @@ subroutine unpack77(c77,nrx,msg,unpk77_success) i=index(call_1,' ') if(i.ge.4 .and. ipa.eq.1 .and. i3.eq.1) call_1(i:i+1)='/R' if(i.ge.4 .and. ipa.eq.1 .and. i3.eq.2) call_1(i:i+1)='/P' - if(i.ge.4) call add_call_to_recent_calls(call_1) + if(i.ge.4) call add_call_to_recent_calls(call_1) endif if(index(call_2,'<').le.0) then i=index(call_2,' ') if(i.ge.4 .and. ipb.eq.1 .and. i3.eq.1) call_2(i:i+1)='/R' if(i.ge.4 .and. ipb.eq.1 .and. i3.eq.2) call_2(i:i+1)='/P' - if(i.ge.4) call add_call_to_recent_calls(call_2) + if(i.ge.4) then + call add_call_to_recent_calls(call_2) +! only hash the "from" call + call save_hash_call(call_2,ndum10,ndum12,ndum22) + endif endif if(igrid4.le.MAXGRID4) then call to_grid4(igrid4,grid4,unpkg4_success) @@ -560,6 +564,7 @@ subroutine unpack77(c77,nrx,msg,unpk77_success) call_1=call_3 call_2=adjustl(c11)//' ' call add_call_to_recent_calls(call_2) + call save_hash_call(call_2,ndum10,ndum12,ndum22) if(nrx.eq.1 .and. & dxcall13_set .and. mycall13_set .and. & call_2.eq.dxcall13 .and. & @@ -1540,7 +1545,7 @@ subroutine add_call_to_recent_calls(callsign) endif ! Make sure that callsign is hashed - call save_hash_call(callsign,n10,n12,n22) +! call save_hash_call(callsign,n10,n12,n22) ! commented out - do this in the calling routine: return end subroutine add_call_to_recent_calls diff --git a/lib/cablog.f90 b/lib/cablog.f90 index 5908fc35..08fecbad 100755 --- a/lib/cablog.f90 +++ b/lib/cablog.f90 @@ -2,13 +2,18 @@ program cablog character*100 line,infile,outfile character cband*4,cmode*2,cdate*10,cutc*4,callsign*10,mycall*10 - character csent*3,crcvd*3,dsent*3,drcvd*3 + character csent*4,crcvd*4,dsent*4,drcvd*4,g1*4 character*3 cmo(12) integer icomma(20) logical map65 + logical isgrid,gridx data cmo/'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep', & 'Oct','Nov','Dec'/ + isgrid(g1)=g1(1:1).ge.'A' .and. g1(1:1).le.'R' .and. g1(2:2).ge.'A' .and. & + g1(2:2).le.'R' .and. g1(3:3).ge.'0' .and. g1(3:3).le.'9' .and. & + g1(4:4).ge.'0' .and. g1(4:4).le.'9' .and. g1(1:4).ne.'RR73' + nargs=iargc() if(nargs.ne.4) then print*,"Program cablog converts file 'wsjtx.log' written by WSJT-X" @@ -25,6 +30,7 @@ program cablog call getarg(1,mycall) outfile=trim(mycall)//'.log' call getarg(2,dsent) + gridx=isgrid(dsent) call getarg(3,drcvd) call getarg(4,infile) open(10,file=trim(infile),status='old') @@ -115,9 +121,13 @@ program cablog crcvd=line(icomma(9)+1:icomma(10)-1) endif endif + if(gridx) then + csent=dsent + crcvd=line(icomma(5)+1:icomma(6)-1) + endif write(12,1030) cband,cmode,cdate,cutc,mycall,csent,callsign,crcvd -1030 format('QSO: ',a4,1x,a2,1x,a10,1x,a4,1x,a6,1x,a3,5x,a10,1x,a3) +1030 format('QSO: ',a4,1x,a2,1x,a10,1x,a4,1x,a6,1x,a4,4x,a10,1x,a4) enddo 900 write(12,1900) diff --git a/lib/decode_msk144.f90 b/lib/decode_msk144.f90 new file mode 100755 index 00000000..4c8bd920 --- /dev/null +++ b/lib/decode_msk144.f90 @@ -0,0 +1,57 @@ +subroutine decode_msk144(audio_samples, params, data_dir) + include 'jt9com.f90' + + ! constants + integer, parameter :: SAMPLING_RATE = 12000 + integer, parameter :: BLOCK_SIZE = 7168 + integer, parameter :: STEP_SIZE = BLOCK_SIZE / 2 + integer, parameter :: CALL_LENGTH = 12 + + ! aguments + integer*2 audio_samples(NMAX) + type(params_block) :: params + character(len = 500) :: data_dir + + ! parameters of mskrtd + integer*2 :: buffer(BLOCK_SIZE) + real :: tsec + logical :: bshmsg = .false. ! enables shorthand messages + logical :: btrain = .false. ! turns on training in MSK144 mode + real*8 :: pcoeffs(5) = (/ 0.0, 0.0, 0.0, 0.0, 0.0 /); ! phase equalization + logical :: bswl = .false. + character(len = 80) :: line + character(len = CALL_LENGTH) :: mycall + character(len = CALL_LENGTH) :: hiscall + + ! local variables + integer :: sample_count + integer :: position + integer :: message_count = 0 + + + ! decode in 0.3s blocks + sample_count = params%ntr * SAMPLING_RATE + mycall = transfer(params%mycall, mycall) ! string to char[] + hiscall = transfer(params%hiscall, hiscall) + + do position = 1, sample_count - BLOCK_SIZE + 1, STEP_SIZE + buffer = audio_samples(position : position + BLOCK_SIZE - 1) + tsec = position / REAL(SAMPLING_RATE) + + call mskrtd(buffer, params%nutc, tsec, params%ntol, params%nfqso, params%ndepth, & + mycall, hiscall, bshmsg, btrain, pcoeffs, bswl, data_dir, line) + + if (line(1:1) .ne. char(0)) then + line = line(1:index(line, char(0))-1) + write(*, 1001) line + 1001 format(a80) + message_count = message_count + 1; + end if + end do + + if (.not. params%ndiskdat) then + write(*, 1002) 0, message_count, 0 + 1002 format('', 2i4, i9) + end if + +end subroutine decode_msk144 \ No newline at end of file diff --git a/lib/four2a.f90 b/lib/four2a.f90 index 93d713c0..9acbc0be 100755 --- a/lib/four2a.f90 +++ b/lib/four2a.f90 @@ -20,7 +20,7 @@ subroutine four2a(a,nfft,ndim,isign,iform) ! actual computations. use fftw3 - parameter (NPMAX=2100) !Max numberf of stored plans + parameter (NPMAX=2100) !Max number of stored plans parameter (NSMALL=16385) !Max half complex size of "small" FFTs complex a(nfft) !Array to be transformed complex aa(NSMALL) !Local copy of "small" a() diff --git a/lib/fst4/fastosd240_74.f90 b/lib/fst4/fastosd240_74.f90 index e7256a98..b9d87780 100755 --- a/lib/fst4/fastosd240_74.f90 +++ b/lib/fst4/fastosd240_74.f90 @@ -171,15 +171,15 @@ subroutine fastosd240_74(llr,k,apmask,ndeep,message74,cw,nhardmin,dmin) if( ndeep.eq. 1) then nord=1 xlambda=0.0 - nsyncmax=np + nsyndmax=np elseif(ndeep.eq.2) then nord=2 xlambda=0.0 - nsyncmax=np + nsyndmax=np elseif(ndeep.eq.3) then nord=3 xlambda=4.0 - nsyncmax=11 + nsyndmax=11 elseif(ndeep.eq.4) then nord=4 xlambda=3.4 @@ -190,7 +190,6 @@ subroutine fastosd240_74(llr,k,apmask,ndeep,message74,cw,nhardmin,dmin) s2=sum(absrx(k+1:N)) rho=s1/(s1+xlambda*s2) rhodmin=rho*dmin - nerr64=-1 do iorder=1,nord !beta=0.0 !if(iorder.ge.3) beta=0.4 @@ -216,7 +215,6 @@ subroutine fastosd240_74(llr,k,apmask,ndeep,message74,cw,nhardmin,dmin) cw=ce nhardmin=sum(nxor) nwhspmin=nwhsp - nerr64=sum(nxor(1:K)) endif endif ! Get the next test error pattern, iflag will go negative @@ -224,7 +222,6 @@ subroutine fastosd240_74(llr,k,apmask,ndeep,message74,cw,nhardmin,dmin) call nextpat74(mi,k,iorder,iflag) enddo enddo - 998 continue ! Re-order the codeword to [message bits][parity bits] format. cw(indices)=cw diff --git a/lib/fst4/ldpcsim240_74.f90 b/lib/fst4/ldpcsim240_74.f90 index c9135a88..f9d951d3 100755 --- a/lib/fst4/ldpcsim240_74.f90 +++ b/lib/fst4/ldpcsim240_74.f90 @@ -4,33 +4,47 @@ program ldpcsim240_74 use packjt77 - parameter(N=240, K=74, M=N-K) + parameter(N=240, NN=120) character*8 arg - character*37 msg0 + character*37 msg0,msgsent,msg character*77 c77 character*24 c24 - integer*1 msgbits(74) + integer*1 msgbits(101) integer*1 apmask(240) integer*1 cw(240) integer*1 codeword(N),message74(74) integer ncrc24 - real rxdata(N),llr(N) + integer modtype, graymap(0:3) + integer*4 itone(120) + integer channeltype + integer lmax(1) + real rxdata(N) + real llr(240) + real bitmetrics(2*NN,4) + complex c1(4,8),c2(16,4),c4(256,2),cs(0:3,NN) + real s2(0:65535) + logical one(0:65535,0:15) ! 65536 8-symbol sequences, 16 bits logical first data first/.true./ + data graymap/0,1,3,2/ nargs=iargc() - if(nargs.ne.5 .and. nargs.ne.6) then - print*,'Usage: ldpcsim niter ndeep #trials s K [msg]' - print*,'e.g. ldpcsim240_74 20 5 1000 0.85 64 "K9AN K1JT FN20"' + if(nargs.ne.7 .and. nargs.ne.8) then + print*,'Usage: ldpcsim maxosd norder #trials s Keff modtype channel ' + print*,'e.g. ldpcsim240_74 2 4 1000 0.85 50 1 0' print*,'s : if negative, then value is ignored and sigma is calculated from SNR.' - print*,'niter: is the number of BP iterations.' - print*,'ndeep: -1 is BP only, ndeep>=0 is OSD order' - print*,'K :is the number of message+CRC bits and must be in the range [50,74]' + print*,'maxosd<0: do bp only' + print*,'maxosd=0: do bp and then call osd once with channel llrs.' + print*,'maxosd>0: do bp and then call osc maxosd times with saved bp outputs.' + print*,'norder : osd decoding depth' + print*,'Keff : # of message bits, Keff must be in the range 50:74' + print*,'modtype : 0 coherent BPSK, 1 4FSK' + print*,'channel : 0 AWGN, 1 Rayleigh (4FSK only)' print*,'WSPR-format message is optional' return endif call getarg(1,arg) - read(arg,*) max_iterations + read(arg,*) maxosd call getarg(2,arg) read(arg,*) norder call getarg(3,arg) @@ -39,17 +53,26 @@ program ldpcsim240_74 read(arg,*) s call getarg(5,arg) read(arg,*) Keff - msg0='K9AN K1JT FN20 ' - if(nargs.eq.6) call getarg(6,msg0) + call getarg(6,arg) + read(arg,*) modtype + call getarg(7,arg) + read(arg,*) channeltype + call getarg(8,arg) + + msg0='K9AN EN50 20 ' call pack77(msg0,i3,n3,c77) rate=real(Keff)/real(N) write(*,*) "code rate: ",rate - write(*,*) "niter : ",max_iterations + write(*,*) "maxosd : ",maxosd write(*,*) "norder : ",norder write(*,*) "s : ",s write(*,*) "K : ",Keff + if(modtype.eq.0) write(*,*) "modtype : coherent BPSK" + if(modtype.eq.1) write(*,*) "modtype : noncoherent 4FSK" + if(channeltype.eq.0) write(*,*) "channel : AWGN" + if(channeltype.eq.1) write(*,*) "channel : Rayleigh" msgbits=0 read(c77,'(50i1)') msgbits(1:50) @@ -59,49 +82,170 @@ program ldpcsim240_74 call get_crc24(msgbits,74,ncrc24) write(c24,'(b24.24)') ncrc24 read(c24,'(24i1)') msgbits(51:74) -write(*,'(24i1)') msgbits(51:74) + write(*,'(24i1)') msgbits(51:74) write(*,*) 'message with crc24' write(*,'(74i1)') msgbits(1:74) - call encode240_74(msgbits,codeword) - call init_random_seed() - call sgran() + + call encode240_74(msgbits(1:74),codeword) + do i=1,120 + is=codeword(2*i)+2*codeword(2*i-1) + itone(i)=graymap(is) + enddo write(*,*) 'codeword' write(*,'(77i1,1x,24i1,1x,73i1)') codeword - write(*,*) "Eb/N0 Es/N0 ngood nundetected sigma symbol error rate" - do idb = 8,-3,-1 +! call init_random_seed() +! call sgran() + + one=.false. + do i=0,65535 + do j=0,15 + if(iand(i,2**j).ne.0) one(i,j)=.true. + enddo + enddo + + write(*,*) "Eb/N0 Es/N0 ngood nundetected symbol error rate" + do idb = 24,-8,-1 db=idb/2.0-1.0 - sigma=1/sqrt( 2*rate*(10**(db/10.0)) ) ! to make db represent Eb/No + sigma=1/sqrt( 2*rate*iq*(10**(db/10.0)) ) ! to make db represent Eb/No ! sigma=1/sqrt( 2*(10**(db/10.0)) ) ! db represents Es/No ngood=0 nue=0 nberr=0 + nsymerr=0 + do itrial=1, ntrials ! Create a realization of a noisy received word - do i=1,N - rxdata(i) = 2.0*codeword(i)-1.0 + sigma*gran() - enddo - nerr=0 - do i=1,N - if( rxdata(i)*(2*codeword(i)-1.0) .lt. 0 ) nerr=nerr+1 - enddo - nberr=nberr+nerr - - rxav=sum(rxdata)/N - rx2av=sum(rxdata*rxdata)/N - rxsig=sqrt(rx2av-rxav*rxav) - rxdata=rxdata/rxsig - if( s .lt. 0 ) then - ss=sigma + if(modtype.eq.0) then + iq = 1 ! bits per symbol + sigma=1/sqrt( 2*rate*iq*(10**(db/10.0)) ) ! to make db represent Eb/No + do i=1,N + rxdata(i) = 2.0*codeword(i)-1.0 + sigma*gran() + enddo + nerr=0 + do i=1,N + if( rxdata(i)*(2*codeword(i)-1.0) .lt. 0 ) nerr=nerr+1 + enddo + nberr=nberr+nerr + + rxav=sum(rxdata)/N + rx2av=sum(rxdata*rxdata)/N + rxsig=sqrt(rx2av-rxav*rxav) + rxdata=rxdata/rxsig + if( s .lt. 0 ) then + ss=sigma + else + ss=s + endif + + llr=2.0*rxdata/(ss*ss) else - ss=s +! noncoherent MFSK + iq = 2 ! bits per symbol + sigma=1/sqrt( 2*rate*iq*(10**(db/10.0)) ) ! to make db represent Eb/No + A=1 + do i=1,120 + do j=0,3 + if(j.eq.itone(i)) then + if(channeltype.eq.0) then + A=1.0 + elseif(channeltype.eq.1) then + xI=gran()**2+gran()**2 + A=sqrt(xI/2) + endif + cs(j,i)= A + sigma*gran() + cmplx(0,1)*sigma*gran() + elseif(j.ne.itone(i)) then + cs(j,i)= sigma*gran() + cmplx(0,1)*sigma*gran() + endif + enddo + lmax=maxloc(abs(cs(:,i))) + if(lmax(1)-1.ne.itone(i) ) nsymerr=nsymerr+1 + enddo + + do k=1,NN,8 + + do m=1,8 ! do 4 1-symbol correlations for each of 8 symbs + s2=0 + do is=1,4 + c1(is,m)=cs(graymap(is-1),k+m-1) + s2(is-1)=abs(c1(is,m)) + enddo + ipt=(k-1)*2+2*(m-1)+1 + do ib=0,1 + bm=maxval(s2(0:3),one(0:3,1-ib)) - & + maxval(s2(0:3),.not.one(0:3,1-ib)) + if(ipt+ib.gt.2*NN) cycle + bitmetrics(ipt+ib,1)=bm + enddo + enddo + + do m=1,4 ! do 16 2-symbol correlations for each of 4 2-symbol groups + s2=0 + do i=1,4 + do j=1,4 + is=(i-1)*4+j + c2(is,m)=c1(i,2*m-1)+c1(j,2*m) + s2(is-1)=abs(c2(is,m))**2 + enddo + enddo + ipt=(k-1)*2+4*(m-1)+1 + do ib=0,3 + bm=maxval(s2(0:15),one(0:15,3-ib)) - & + maxval(s2(0:15),.not.one(0:15,3-ib)) + if(ipt+ib.gt.2*NN) cycle + bitmetrics(ipt+ib,2)=bm + enddo + enddo + + do m=1,2 ! do 256 4-symbol corrs for each of 2 4-symbol groups + s2=0 + do i=1,16 + do j=1,16 + is=(i-1)*16+j + c4(is,m)=c2(i,2*m-1)+c2(j,2*m) + s2(is-1)=abs(c4(is,m)) + enddo + enddo + ipt=(k-1)*2+8*(m-1)+1 + do ib=0,7 + bm=maxval(s2(0:255),one(0:255,7-ib)) - & + maxval(s2(0:255),.not.one(0:255,7-ib)) + if(ipt+ib.gt.2*NN) cycle + bitmetrics(ipt+ib,3)=bm + enddo + enddo + + s2=0 ! do 65536 8-symbol correlations for the entire group + do i=1,256 + do j=1,256 + is=(i-1)*256+j + s2(is-1)=abs(c4(i,1)+c4(j,2)) + enddo + enddo + ipt=(k-1)*2+1 + do ib=0,15 + bm=maxval(s2(0:65535),one(0:65535,15-ib)) - & + maxval(s2(0:65535),.not.one(0:65535,15-ib)) + if(ipt+ib.gt.2*NN) cycle + bitmetrics(ipt+ib,4)=bm + enddo + + enddo + + call normalizebmet(bitmetrics(:,1),2*NN) + call normalizebmet(bitmetrics(:,2),2*NN) + call normalizebmet(bitmetrics(:,3),2*NN) + call normalizebmet(bitmetrics(:,4),2*NN) + + scalefac=2.83 + bitmetrics=scalefac*bitmetrics + + llr=bitmetrics(:,1) endif - llr=2.0*rxdata/(ss*ss) apmask=0 dmin=0.0 - maxosd=2 call decode240_74(llr, Keff, maxosd, norder, apmask, message74, cw, ntype, nharderror, dmin) if(nharderror.ge.0) then n2err=0 @@ -116,9 +260,10 @@ write(*,'(24i1)') msgbits(51:74) endif enddo ! snr2500=db+10*log10(200.0/116.0/2500.0) - esn0=db+10*log10(rate) - pberr=real(nberr)/(real(ntrials*N)) - write(*,"(f4.1,4x,f5.1,1x,i8,1x,i8,8x,e10.3)") db,esn0,ngood,nue,pberr + esn0=db+10*log10(rate*iq) + pberr=real(nberr)/real(ntrials*N) + pserr=real(nsymerr)/real(ntrials*120) + write(*,"(f4.1,4x,f5.1,1x,i8,1x,i8,8x,e10.3)") db,esn0,ngood,nue,pserr enddo diff --git a/lib/ft8/foxgen.f90 b/lib/ft8/foxgen.f90 index a2899e52..8a0c4206 100755 --- a/lib/ft8/foxgen.f90 +++ b/lib/ft8/foxgen.f90 @@ -15,7 +15,7 @@ subroutine foxgen() ! common block. parameter (NN=79,ND=58,NSPS=4*1920) - parameter (NWAVE=(160+2)*134400*4) !the biggest waveform we generate (FST4-1800 at 48kHz) + parameter (NWAVE=(160+2)*134400*4) ! the biggest waveform we generate (FST4-1800 at 48kHz) parameter (NFFT=614400,NH=NFFT/2) character*40 cmsg character*37 msg,msgsent diff --git a/lib/jt9.f90 b/lib/jt9.f90 index 56249dec..d7dedf43 100755 --- a/lib/jt9.f90 +++ b/lib/jt9.f90 @@ -27,7 +27,7 @@ program jt9 logical :: read_files = .true., tx9 = .false., display_help = .false., & bLowSidelobes = .false., nexp_decode_set = .false., & have_ntol = .false. - type (option) :: long_options(32) = [ & + type (option) :: long_options(33) = [ & option ('help', .false., 'h', 'Display this help message', ''), & option ('shmem',.true.,'s','Use shared memory for sample data','KEY'), & option ('tr-period', .true., 'p', 'Tx/Rx period, default SECONDS=60', & @@ -64,6 +64,7 @@ program jt9 option ('ft8', .false., '8', 'FT8 mode', ''), & option ('jt9', .false., '9', 'JT9 mode', ''), & option ('qra64', .false., 'q', 'QRA64 mode', ''), & + option ('msk144', .false., 'k', 'MSK144 mode', ''), & option ('QSOprog', .true., 'Q', 'QSO progress (0-5), default PROGRESS=1',& 'QSOprogress'), & option ('sub-mode', .true., 'b', 'Sub mode, default SUBMODE=A', 'A'), & @@ -91,7 +92,7 @@ program jt9 TRperiod=60.d0 do - call getopt('hs:e:a:b:r:m:p:d:f:F:w:t:9876543WYqTL:S:H:c:G:x:g:X:Q:', & + call getopt('hs:e:a:b:r:m:p:d:f:F:w:t:9876543WYqkTL:S:H:c:G:x:g:X:Q:', & long_options,c,optarg,arglen,stat,offset,remain,.true.) if (stat .ne. 0) then exit @@ -129,7 +130,9 @@ program jt9 read (optarg(:arglen), *) fhigh case ('q') mode = 164 - case ('Q') + case ('k') + mode = 144 + case ('Q') read (optarg(:arglen), *) nQSOProg case ('3') mode = 66 @@ -352,7 +355,12 @@ program jt9 call multimode_decoder(shared_data%ss,id2a, & shared_data%params,nfsample) cycle + + ! MSK144 + else if (mode .eq. 144) then + call decode_msk144(shared_data%id2, shared_data%params, data_dir) endif + ! Normal decoding pass call multimode_decoder(shared_data%ss,shared_data%id2, & shared_data%params,nfsample) diff --git a/lib/jt9a.f90 b/lib/jt9a.f90 index 46140fc5..aa81efd8 100755 --- a/lib/jt9a.f90 +++ b/lib/jt9a.f90 @@ -70,8 +70,15 @@ subroutine jt9a() call multimode_decoder(shared_data%ss,id2a,local_params,12000) local_params%nzhsym=50 endif -! Normal decoding pass - call multimode_decoder(shared_data%ss,shared_data%id2,local_params,12000) + + if(local_params%nmode .eq. 144) then + ! MSK144 + call decode_msk144(shared_data%id2, shared_data%params, data_dir) + else + ! Normal decoding pass + call multimode_decoder(shared_data%ss,shared_data%id2,local_params,12000) + endif + call timer('decoder ',1) diff --git a/lib/map65_mmdec.f90 b/lib/map65_mmdec.f90 index fcc7092e..7d592d33 100755 --- a/lib/map65_mmdec.f90 +++ b/lib/map65_mmdec.f90 @@ -1,5 +1,5 @@ -subroutine map65_mmdec(nutc,id2,nqd,nsubmode,nfa,nfb,nfqso,ntol,newdat, & - nagain,max_drift,ndepth,mycall,hiscall,hisgrid) +subroutine map65_mmdec(nutc,id2,nqd,ntrperiod, nsubmode,nfa,nfb,nfqso, & + ntol,newdat,nagain,max_drift,ndepth,mycall,hiscall,hisgrid) use prog_args use timer_module, only: timer @@ -39,7 +39,7 @@ subroutine map65_mmdec(nutc,id2,nqd,nsubmode,nfa,nfb,nfqso,ntol,newdat, & lagain=(nagain.ne.0) bVHF=.true. emedelay=2.5 - ntrperiod=60 +! ntrperiod=60 call timer('dec_q65 ',0) call my_q65%decode(q65_decoded,id2,nqd,nutc,ntrperiod,nsubmode,nfqso, & -- cgit v1.2.3