From f647d78463c1250ce9c99af664615fafccf5e959 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 7 Apr 2026 19:02:45 +0200 Subject: New upstream version 3.0.0 --- lib/stdmsg.f90 | 86 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) mode change 100755 => 100644 lib/stdmsg.f90 (limited to 'lib/stdmsg.f90') diff --git a/lib/stdmsg.f90 b/lib/stdmsg.f90 old mode 100755 new mode 100644 index cc50f580..b4f41040 --- a/lib/stdmsg.f90 +++ b/lib/stdmsg.f90 @@ -1,43 +1,43 @@ -function stdmsg(msg0) - - ! Returns .true. if msg0 a standard "JT-style" message - - ! i3.n3 - ! 0.0 Free text - ! 0.1 DXpeditiion mode - ! 0.2 EU VHF Contest - ! 0.3 ARRL Field Day <=16 transmitters - ! 0.4 ARRL Field Day >16 transmitters - ! 0.5 telemetry - ! 0.6 - ! 0.7 - ! 1 Standard 77-bit structured message (optional /R) - ! 2 EU VHF Contest (optional /P) - ! 3 ARRL RTTY Contest - ! 4 Nonstandard calls - - use iso_c_binding, only: c_bool - use packjt - use packjt77 - - character*37 msg0,msg1 - character*77 c77 - logical(c_bool) :: stdmsg - - msg1=msg0 - i3=-1 - n3=-1 - call pack77(msg1,i3,n3,c77) - stdmsg=(i3.gt.0 .or. n3.gt.0) - -!### -! rewind 82 -! do i=1,nzhash -! write(82,3082) i,nzhash,callsign(i),ihash10(i),ihash12(i),ihash22(i) -!3082 format(2i5,2x,a13,3i10) -! enddo -! flush(82) -!### - - return -end function stdmsg +function stdmsg(msg0) + + ! Returns .true. if msg0 a standard "JT-style" message + + ! i3.n3 + ! 0.0 Free text + ! 0.1 DXpeditiion mode + ! 0.2 EU VHF Contest + ! 0.3 ARRL Field Day <=16 transmitters + ! 0.4 ARRL Field Day >16 transmitters + ! 0.5 telemetry + ! 0.6 + ! 0.7 + ! 1 Standard 77-bit structured message (optional /R) + ! 2 EU VHF Contest (optional /P) + ! 3 ARRL RTTY Contest + ! 4 Nonstandard calls + + use iso_c_binding, only: c_bool + use packjt + use packjt77 + + character*37 msg0,msg1 + character*77 c77 + logical(c_bool) :: stdmsg + + msg1=msg0 + i3=-1 + n3=-1 + call pack77(msg1,i3,n3,c77) + stdmsg=(i3.gt.0 .or. n3.gt.0) + +!### +! rewind 82 +! do i=1,nzhash +! write(82,3082) i,nzhash,callsign(i),ihash10(i),ihash12(i),ihash22(i) +!3082 format(2i5,2x,a13,3i10) +! enddo +! flush(82) +!### + + return +end function stdmsg -- cgit v1.2.3