Join/Login

Business Software

Open Source Software

For Vendors

Blog

About

More

Articles

Create

SourceForge Podcast

Site Documentation

Subscribe to our Newsletter

Support Request

For Vendors Help Create Join Login

Business Software

Open Source Software

SourceForge Podcast

Resources

Articles

Case Studies

Blog

Menu

Help

Create

Join

Login

Home

Browse

WSJT

WSPR-X

WSJT WSPR-X

Weak signal ham radio communication

Brought to you by: bsomervi, chetfenn, dg2ycb, k1jt

Summary

Files

Reviews

Support

Mailing Lists

Git ▾

WSJT-X

WSPR

WSPR-X

WSJT

Echo

FMT

MAP65

MAP65IQ

WSJT-X Superbuild

More...

Old SVN

Menu ▾ ▴

Browse Commits

Fork

Merge Requests 0

Forks 1

Branches

master

[c4a199]: / libm65 / JT65code.f90  Maximize  Restore  History

Download this file

48 lines (38 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

program JT65code

! Provides examples of message packing, bit and symbol ordering,

! Reed Solomon encoding, and other necessary details of the JT65

! protocol.

  character*22 msg0,msg,decoded,cok*3

  integer dgen(12),sent(63),recd(12),era(51)

  nargs=iargc()

  if(nargs.ne.1) then

     print*,'Usage: JT65code "message"'

     go to 999

  endif

  call getarg(1,msg0)                     !Get message from command line

  msg=msg0

  call chkmsg(msg,cok,nspecial,flip)      !See if it includes "OOO" report

  if(nspecial.gt.0) then                  !or is a shorthand message

     write(*,1010)

1010 format('Shorthand message.')

     go to 999

  endif

  call packmsg(msg,dgen)                  !Pack message into 72 bits

  write(*,1020) msg0

1020 format('Message:   ',a22)            !Echo input message

  if(iand(dgen(10),8).ne.0) write(*,1030) !Is plain text bit set?

1030 format('Plain text.')

  write(*,1040) dgen

1040 format('Packed message, 6-bit symbols: ',12i3) !Display packed symbols

  call rs_encode(dgen,sent)               !RS encode

  call interleave63(sent,1)               !Interleave channel symbols

  call graycode(sent,63,1)                !Apply Gray code

  write(*,1050) sent

1050 format('Channel symbols, including FEC:'/(i5,20i3))

  call graycode(sent,63,-1)

  call interleave63(sent,-1)

  call rs_decode(sent,era,0,recd,nerr)

  call unpackmsg(recd,decoded)            !Unpack the user message

  write(*,1060) decoded,cok

1060 format('Decoded message: ',a22,2x,a3)

999 end program JT65code

SourceForge

Create a Project

Open Source Software

Business Software

Top Downloaded Projects

Company

About

Team

SourceForge Headquarters
225 Broadway Suite 1600
San Diego, CA 92101
+1 (858) 422-6466

Resources

Support

Site Documentation

Site Status

SourceForge Reviews

© 2025 Slashdot Media. All Rights Reserved.

Terms Privacy Opt Out Advertise

×
Want the latest updates on software, tech news, and AI?

Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.

Submit