mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Merge branch 'integrate-77bit' of https://bitbucket.org/k1jt/wsjtx into integrate-77bit
This commit is contained in:
commit
d6493a62fa
@ -16,7 +16,7 @@ subroutine ft8apset(mycall12,mygrid6,hiscall12,hisgrid6,bcontest,apsym)
|
||||
hisgrid=hisgrid6(1:4)
|
||||
if(index(hisgrid," ").eq.0) hisgrid="AA00"
|
||||
msg=mycall//' '//hiscall//' '//hisgrid
|
||||
i3=0 ! ### TEMPORARY ??? ###
|
||||
i3=-1 ! ### TEMPORARY ??? ###
|
||||
n3=0 !TEMPORARY
|
||||
call genft8(msg,mygrid6,bcontest,i3,n3,msgsent,msgbits,itone)
|
||||
apsym=2*msgbits-1
|
||||
|
@ -6,8 +6,8 @@ subroutine ft8apset_174_91(mycall12,mygrid6,hiscall12,hisgrid6,bcontest,apsym)
|
||||
character*6 mygrid6,hisgrid6
|
||||
character*4 hisgrid
|
||||
logical bcontest
|
||||
integer apsym(KK)
|
||||
integer*1 msgbits(KK)
|
||||
integer apsym(77)
|
||||
integer*1 msgbits(77)
|
||||
integer itone(KK)
|
||||
|
||||
mycall=mycall12(1:6)
|
||||
@ -16,8 +16,9 @@ subroutine ft8apset_174_91(mycall12,mygrid6,hiscall12,hisgrid6,bcontest,apsym)
|
||||
hisgrid=hisgrid6(1:4)
|
||||
if(index(hisgrid," ").eq.0) hisgrid="AA00"
|
||||
msg=mycall//' '//hiscall//' '//hisgrid
|
||||
i5bit=0 ! ### TEMPORARY ??? ###
|
||||
call genft8_174_91(msg,mygrid6,bcontest,i5bit,msgsent,msgbits,itone)
|
||||
i3=1 ! ### TEMPORARY ??? ###
|
||||
n3=0
|
||||
call genft8_174_91(msg,mygrid6,bcontest,i3,n3,msgsent,msgbits,itone)
|
||||
apsym=2*msgbits-1
|
||||
return
|
||||
end subroutine ft8apset_174_91
|
||||
|
@ -380,8 +380,10 @@ subroutine ft8b_1(dd0,newdat,nQSOProgress,nfqso,nftx,ndepth,lapon,lapcqonly, &
|
||||
if(i3bit.eq.1) decoded(57:)=0
|
||||
call extractmessage174(decoded,message,ncrcflag)
|
||||
decoded=decoded0
|
||||
! This needs fixing for messages with i3bit=1:
|
||||
call genft8(message,mygrid6,bcontest,i3bit,0,msgsent,msgbits,itone)
|
||||
! This needs fixing for messages with i3bit=1:
|
||||
i3=-1 !TEMPORARY
|
||||
n3=0
|
||||
call genft8(message,mygrid6,bcontest,i3,0,msgsent,msgbits,itone)
|
||||
if(lsubtract) call subtractft8(dd0,itone,f1,xdt2)
|
||||
xsig=0.0
|
||||
xnoi=0.0
|
||||
|
@ -11,16 +11,21 @@ subroutine genft8(msg,mygrid,bcontest,i3,n3,msgsent,msgbits,itone)
|
||||
logical bcontest,checksumok
|
||||
integer*4 i4Msg6BitWords(12) !72-bit message as 6-bit words
|
||||
integer*1 msgbits(KK),codeword(3*ND)
|
||||
integer*1 msgbits77(77)
|
||||
integer*1, target:: i1Msg8BitBytes(11)
|
||||
integer itone(NN)
|
||||
integer icos7(0:6)
|
||||
data icos7/2,5,6,0,4,1,3/ !Costas 7x7 tone pattern
|
||||
|
||||
|
||||
itype=1
|
||||
if( ( i3.eq.0 .and. n3.ge.2) .or. i3.ge.2 ) itype=2
|
||||
write(*,*) 'generating type ',itype,' message'
|
||||
if( ( i3.eq.0 .and. n3.ge.1) .or. i3.ge.1 ) itype=2
|
||||
|
||||
!write(*,*) 'generating type ',itype,' message'
|
||||
!write(*,*) 'msg ',msg,i3,n3
|
||||
|
||||
if(itype.eq.2 ) goto 900
|
||||
i3=i3*i3
|
||||
n3=n3*n3
|
||||
|
||||
call packmsg(msg,i4Msg6BitWords,itype,bcontest) !Pack into 12 6-bit bytes
|
||||
call unpackmsg(i4Msg6BitWords,msgsent,bcontest,mygrid) !Unpack to get msgsent
|
||||
@ -55,7 +60,7 @@ write(*,*) 'generating type ',itype,' message'
|
||||
|
||||
900 continue
|
||||
|
||||
call genft8_174_91(msg,mygrid,bcontest,i3,n3,msgsent,msgbits,itone)
|
||||
call genft8_174_91(msg,mygrid,bcontest,i3,n3,msgsent,msgbits77,itone)
|
||||
|
||||
return
|
||||
end subroutine genft8
|
||||
|
@ -51,7 +51,7 @@ contains
|
||||
character*12 mycall12, hiscall12
|
||||
character*6 mygrid6,hisgrid6
|
||||
integer*2 iwave(15*12000)
|
||||
integer apsym1(KK),apsym2(91)
|
||||
integer apsym1(KK),apsym2(77)
|
||||
character datetime*13,message*22,msg37*37
|
||||
character*22 allmessages(100)
|
||||
integer allsnrs(100)
|
||||
|
@ -3479,7 +3479,7 @@ void MainWindow::guiUpdate()
|
||||
if(m_config.bFox() and ui->tabWidget->currentIndex()==2) {
|
||||
foxTxSequencer();
|
||||
} else {
|
||||
m_i3=1; // Temporary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
m_i3=-1; // Temporary!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
m_n3=0;
|
||||
char ft8msgbits[75 + 12]; //packed 75 bit ft8 message plus 12-bit CRC
|
||||
genft8_(message, MyGrid, &bcontest, &m_i3, &m_n3, msgsent, const_cast<char *> (ft8msgbits),
|
||||
|
Loading…
Reference in New Issue
Block a user