summaryrefslogtreecommitdiff
path: root/lib/jtty/jttycom.f90
blob: d6efab194ed81258df2dcbd0c525cbafeb432c10 (plain)
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
module jttycom

  implicit none

! Variable                   Purpose
!---------------------------------------------------------------------------
  integer NMAX
  parameter(NMAX=30*12000) !Ring buffer at 12000 samples/sec
  real ftx                 !Tx audio frequency
  integer iwrite           !Pointer to Rx ring buffer
  integer itx              !Pointer to Tx buffer
  integer ngo              !Set to 0 to terminate audio streams
  integer nTransmitting    !Actually transmitting?
  integer nTxOK            !OK to transmit?
  integer ndebug
  logical ltx(5)           !True if msg i has been transmitted
  logical lrx(5)           !True if msg i has been received
  logical autoseq
  logical QSO_in_progress
  integer*2 y1(NMAX)       !Ring buffer for audio channel 0
  integer*2 y2(NMAX)       !Ring buffer for audio channel 1
  integer*2 iwave(NMAX)    !Data for Tx audio
  character*6 mycall
  character*6 hiscall
  character*6 hiscall_next
  character*4 mygrid
  character*4 exch
  character*80 txmsg
  save iwave,y1,y2

end module jttycom