home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / misc / yappprot / rtty.doc < prev    next >
Encoding:
Text File  |  1983-07-10  |  31.6 KB  |  966 lines

  1. A CBA A CBHF
  2. HF
  3. HF
  4. HF
  5. HF
  6. HF
  7. HF
  8. HF
  9. HF
  10. HF
  11. HF
  12. HF
  13. HF
  14. HF
  15. HF
  16. HF
  17. A HF
  18. HF
  19. HF    GERadio Teletype ProgramHF
  20. HF    GEFor The IBM Personal ComputerHF
  21. HF    GEVersion 1.0HF
  22. HF    GEJuly 10, 1983HF
  23. HF
  24. HF
  25. HF
  26. HF
  27. HF    Glenn E. Welman - WB0OWT
  28. HF
  29. HF    3301 Pastern Ct.
  30. HF    Lexington, Ky 40513
  31. HF
  32. HF
  33.                  IBM PC RTTY Ver 1.0
  34.  
  35. EG    Table of Contents
  36. HF
  37. EG        1.0 Introduction ........................................... 1
  38. HF        1.1 Distribution Guidelines ................................ 1
  39. EG        2.0 Program Operation ...................................... 2
  40. HF        2.1 Features ............................................... 3
  41. HF        2.2 Special Keys ........................................... 4
  42. HF        2.3 Function Keys .......................................... 5
  43. HF        2.4 Program Files .......................................... 9
  44. HF        2.4.1 Required Files ....................................... 9
  45. HF        2.4.2 Optional Files ....................................... 9
  46. HF        2.5 Utility Program ....................................... 11
  47. EG        3.0 Interface Information ................................. 12
  48. HF        3.1 Interface Signals ..................................... 12
  49. HF        3.2 Kantronics 'The Interface' information ................ 13
  50. HF        3.3 Kantronics RS-232C Interface Schematic ................ 14
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94. HF    Table of Contents                        iiHF
  95.                  IBM PC RTTY Ver 1.0
  96.  
  97. EG    ___ ____________ HF
  98. EG    1.0 Introduction
  99. HF
  100. HF    This program runs on the IBM Personal Computer and  interfaces    to
  101. HF    your   Amateur     Radio     equipment   through   the   Asynchrounous
  102. HF    Communications adapter. I wrote the program to be as  flexible    as
  103. HF    possible hoping that it will be useable  with  any  Terminal  Unit
  104. HF    (TU) and radio combination. I have  attempted  to  provide  enough
  105. HF    information to help you make your system operational.
  106. HF
  107. HF    I intend for the program to be distributed by  hams,  rather  than
  108. HF    retailers. I suggest the following.
  109. HF
  110. EG    1.1 Distribution Guidelines
  111. HF
  112. HF         Please share the program with others who  are  interested    in
  113. HF         RTTY.
  114. HF
  115. HF         Please don't sell or barter the program to anyone.
  116. HF
  117. HF         When you pass along the program, include  only  the  original
  118. HF         unmodified version.
  119. HF
  120. HF         Send a SASE along with your current version number and I will
  121. HF         let you know if any known problems have been fixed by a later
  122. HF         version.
  123. HF
  124. HF         Don't remove these guidelines from the program or document.
  125. HF
  126. HF         If you find the program of value, a small contribution to the
  127. HF         cause would be appreciated ($25 suggested). Please note  that
  128. HF         I expect to be moving to Lexington, Kentucky in August, 1983.
  129. HF         With any luck the Post Office will forward mail for  about  a
  130. HF         year. I am also giving serious consideration to getting a "4"
  131. HF         call too.
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157. HF    1.0 Introduction                          1HF
  158.                  IBM PC RTTY Ver 1.0
  159.  
  160. EG    ___ _______ _________ HF
  161. EG    2.0 Program Operation
  162. HF
  163. HF    The program is started by placing  the    program  diskette  in  the
  164. HF    default drive (usually drive A:) and entering RTTY
  165. HF    Several files should be personalized prior to running the  program
  166. HF    with your callsign and other pertinent    information.  These  files
  167. HF    are identified further on in this document and may be changed with
  168. HF    any text editor. The program is primarily  written  in    BASIC  and
  169. HF    compiled to acheive a  useable    operating  speed.  There  are  two
  170. HF    subroutines written in Assembly Language  to  do  things  which  I
  171. HF    couldn't do well in BASIC. Specifically, one routine scrolls  half
  172. HF    screens and the other subroutine sends the CW identification  with
  173. HF    accurate timings.
  174. HF
  175. HF    The  program  takes  advantage    of  the  IBM  Personal    Computer's
  176. HF    capabilities. The  interrupt  capabilities  of    the  Asynchrounous
  177. HF    Communications adapter and the keyboard allow many things to occur
  178. HF    simultaneously without the loss of desired information. The use of
  179. HF    DOS files allows the storage and retreival of a  large    supply    of
  180. HF    RTTY data. I hope you find the program's many features useful.
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220. HF    2.0 Program Operation                        2HF
  221.                  IBM PC RTTY Ver 1.0
  222.  
  223. HF
  224. EG    2.1 Features
  225. HF
  226. HF         The program will run on a 64K PC under DOS 1.1  and  supports
  227. HF         both the 80X25 mode and the 40X25 mode.
  228. HF
  229. HF         The program runs in a split screen mode  with  received  data
  230. HF         displayed on the top half and the transmit  buffer  displayed
  231. HF         on the bottom half of the screen.    Run  time  information    is
  232. HF         displayed in the center of the screen, such as current  time,
  233. HF         date and elapsed time since last CW ID. Prompts for  operator
  234. HF         input  are  displayed  in    the  center  of  the  screen.  The
  235. HF         definition and status of the function keys  is  displayed    at
  236. HF         the bottom of the screen. Errors are  also  reported  at  the
  237. HF         bottom of the screen.
  238. HF
  239. HF         The program supports both BAUDOT and ASCII RTTY modes. Common
  240. HF         BAUDOT rates of 60, 67, 75, and 100 WPM are supported. Common
  241. HF         ASCII baud rates of 110 and 300 BAUD are also supported.
  242. HF
  243. HF         The received input goes to the display and can be directed to
  244. HF         the printer and/or a DOS file. File compression is  supported
  245. HF         which can result in using less DOS file space.
  246. HF
  247. HF         While you are  receiving,    you  can  fill    a  1000  character
  248. HF         transmit buffer from the keyboard or DOS files.
  249. HF
  250. HF         While the program is prompting you for information,  received
  251. HF         characters are placed into a 1000 character  receive  buffer.
  252. HF         If more than 1000 characters are received while  the  program
  253. HF         is prompting you, a communications buffer overflow error will
  254. HF         result and the program will terminate.
  255. HF
  256. HF         There are several predefined files which can be  loaded  into
  257. HF         the transmit buffer with the stroke of a function key. Up    to
  258. HF         six files can be qued to be placed into the  transmit  buffer
  259. HF         at any one time.
  260. HF
  261. HF         A    cursor    is  displayed  at  the    current  Transmit   buffer
  262. HF         location. When the cursor reaches column 64, an audible  beep
  263. HF         can be heard.
  264. HF
  265. HF         The transmit buffer can be  edited  minimally  by    using  the
  266. HF         backspace key.
  267. HF
  268. HF         In the transmit mode, a date and time stamp can be sent  over
  269. HF         RTTY, as well as, a predefined RTTY ID field.
  270. HF
  271. HF         At any time during transmission a function key can be pressed
  272. HF         which  will  wait     for   all   characters   in   the   BASIC
  273. HF         communications buffer to be transmitted, send your CW  ID    in
  274. HF         Morse code and then resume the RTTY transmission.
  275. HF
  276. HF         The transmit buffer is filled first by  any  transmit  files,
  277. HF         second by characters resulting from special keys, and finally
  278. HF         from keyboard input. The program will stop placing characters
  279. HF         in the transmit buffer when it is full  and  will    resume    as
  280. HF         characters are transmitted from the transmit buffer.
  281.  
  282. HF    2.0 Program Operation                        3HF
  283.                  IBM PC RTTY Ver 1.0
  284.  
  285. HF
  286. EG    2.2 Special Keys
  287. HF
  288. HF         Backspace -  Pressing  the  backspace  key  erases  the  last
  289. HF         character entered into the transmit  buffer  and  the  cursor
  290. HF         backs up. If the last character was a line feed,  the  cursor
  291. HF         backs up to the previous line and the character is  displayed
  292. HF         in reverse video. When you backspace beyond the top  line    of
  293. HF         the transmit screen,  the    previous  line    entered  into  the
  294. HF         transmit buffer appears on the top line. Lines prior  to  the
  295. HF         line at the top of the screen are not visible. Note that  you
  296. HF         cannot  back  up  beyond  the  last  character  sent  to  the
  297. HF         Asynchronous communications adapter.
  298. HF
  299. HF         ENTER - Pressing the  "ENTER"  key  at  the  end  of  a  line
  300. HF         normally causes a carriage return and line feed to be  placed
  301. HF         into the transmit buffer.
  302. HF
  303. HF         Ctrl S - Pressing Ctrl S causes the program to prompt you for
  304. HF         a    line  of  characters  which  will  be  stored  for   later
  305. HF         retreival. The  information  is  kept  in    memory    until  the
  306. HF         program is ended or another Ctrl S is entered.
  307. HF
  308. HF         Ctrl R - This is the companion key of Ctrl S. Pressing Ctrl R
  309. HF         retrieves the stored line    and  places  it  in  the  transmit
  310. HF         buffer.
  311. HF
  312. HF         Ctrl W - Ctrl W is pressed to instruct the program  to  place
  313. HF         only a carriage return in the transmit buffer.  Pressing  the
  314. HF         "ENTER" key after a Ctrl W will be ignored  by  the  program.
  315. HF         Pressing  a  character  key  will    result    in  an     overprint
  316. HF         condition. The Ctrl W key will find  primary  application    in
  317. HF         sending RTTY art. This character is  placed  in  the  receive
  318. HF         file for any carriage return. An idea of what  character  may
  319. HF         be displayed by various editors can be found in appendix C of
  320. HF         the Technical Reference manual.
  321. HF
  322. HF         Ctrl T - Ctrl T is the  companion    of  the  Ctrl  W  key  and
  323. HF         results in a single line feed being placed  in  the  transmit
  324. HF         buffer. Pressing "ENTER" after a Ctrl T will  be  ignored  by
  325. HF         the program. The Ctrl T key will be used in RTTY art and  may
  326. HF         be used to replace a line feed erased  by    backspacing.  This
  327. HF         character is placed in the receive file for any line feed. An
  328. HF         idea of what character may be displayed  by  various  editors
  329. HF         can be found in appendix C of the Technical Reference manual.
  330. HF
  331. HF         Ctrl X - Ctrl X is provided  to  force  the  sending  of  the
  332. HF         "Figures" character in Baudot mode only. Only time will  tell
  333. HF         the uses of this key. This key will appear  in  the  transmit
  334. HF         buffer as a up arrow.
  335. HF
  336. HF         Ctrl Y - Ctrl Y can be used  to  force  the  sending  of  the
  337. HF         "Letters" character in BAUDOT mode only. I'm  not  sure  what
  338. HF         use this key is either. This key will appear in the  transmit
  339. HF         buffer as a down arrow.
  340. HF
  341.  
  342.  
  343.  
  344. HF    2.0 Program Operation                        4HF
  345.                  IBM PC RTTY Ver 1.0
  346.  
  347. HF
  348. EG    2.3 Function Keys
  349. HF
  350. HF    The ten function keys are used during program operation to  direct
  351. HF    the flow of information in the computer system. The definition and
  352. HF    status of the function keys is displayed  at  the  bottom  of  the
  353. HF    screen. The function keys are defined as follows:
  354. HF
  355. HF         General Funtion Keys
  356. HF
  357. HF          F1 - KEYS
  358. HF
  359. HF               This key toggles the definition of function keys  3
  360. HF               through 10 and changes the status line.
  361. HF
  362. HF          F2 - RECV/XMIT
  363. HF
  364. HF               This key toggles the program between  receive  mode
  365. HF               and transmit mode. When the  program  begins,  this
  366. HF               key defaults to RECV.
  367. HF
  368. HF
  369. HF         Function Key Set 1
  370. HF
  371. HF          F3 - RX FLE
  372. HF
  373. HF               Receive a File. Pressing this key prompts you for a
  374. HF               filename   in   which   to   place   the   received
  375. HF               information. The information  is  appended  to  the
  376. HF               file. Pressing only  "ENTER"  results  in  no  file
  377. HF               being opened. Pressing this key    while  a  file    is
  378. HF               currently open is taken as a request to stop  using
  379. HF               the file.
  380. HF
  381. HF               When a filename is entered, you are  asked  if  you
  382. HF               want the file to be saved  as  a  compressed  file.
  383. HF               Compressed files will take up less room on your DOS
  384. HF               diskette, but  are  not    readily  alterable  in    an
  385. HF               editor.
  386. HF
  387. HF               When  a    receive  file  is  open,  a  reminder    is
  388. HF               displayed on the center line  of  the  screen.  The
  389. HF               form of the display is "RX-filename".
  390. HF
  391. HF          F4 - UOS ON/UOS OF
  392. HF
  393. HF               This key toggles between  Unshift  On  Space  being
  394. HF               turned on and turned off. This key only applies    to
  395. HF               received data. When unshift on  space  is  on,  the
  396. HF               program will shift back to "letters" mode any  time
  397. HF               a space, carriage return or line feed is received.
  398. HF
  399. HF               Independent of this key, the program will  transmit
  400. HF               a  "letters"  character  in  the  BAUDOT  mode   as
  401. HF               required with a space, a carriage return or a  line
  402. HF               feed. When the program begins, this key defaults to
  403. HF               UOS ON.
  404. HF
  405.  
  406. HF    2.0 Program Operation                        5HF
  407.                  IBM PC RTTY Ver 1.0
  408.  
  409. HF          F5 - END
  410. HF
  411. HF               This key provides a means to terminate the  program
  412. HF               gracefully. You will be prompted  for  confirmation
  413. HF               of your request to quit.
  414. HF
  415. HF          F6 - PRT OF/PRT ON
  416. HF
  417. HF               This key toggles output to the printer on and  off.
  418. HF               When PRT ON is displayed, all  characters  received
  419. HF               will also be printed on the  matrix  printer.  Bell
  420. HF               characters are not sent to the printer to keep down
  421. HF               the noise pollution. When the program begins,  this
  422. HF               key defaults to PRT OF.
  423. HF
  424. HF          F7 - 45.5/50.0/56.9/74.2/110/300 (Actual Baud Rate)
  425. HF
  426. HF               This key toggles through the baud  rates  supported
  427. HF               by the program. The status  line  is  updated  with
  428. HF               each change. In Baudot  mode,  the  baud  rates    of
  429. HF               45.5, 50.0, 56.9, and 74.2 correspond to  character
  430. HF               rates of 60, 67, 75, and 100 words per minute (WPM)
  431. HF               respectively. When the  program    begins,  this  key
  432. HF               defaults to 45.5.
  433. HF
  434. HF          F8 - BAUDOT/ASCII
  435. HF
  436. HF               This key toggles between Baudot    and  ASCII  modes.
  437. HF               Any  combination  of  baud   rate   and     mode    is
  438. HF               obtainable.  When  the  program    begins,  this  key
  439. HF               defaults to BAUDOT.
  440. HF
  441. HF          F9 - NEW LN
  442. HF
  443. HF               This key provides the ability to force a CR/LF (new
  444. HF               line) in the  middle  of  received  text.  Such    an
  445. HF               operation might be needed  if  the  original  CR/LF
  446. HF               were lost in the noise.
  447. HF
  448. HF          F10 - LTRS
  449. HF
  450. HF               This is the "letters" key. During Baudot  reception
  451. HF               it is occaisionally desirable to force the  receive
  452. HF               mode  back  into  the  "letters"  mode.  This   key
  453. HF               accomplishes that task.
  454. HF
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468. HF    2.0 Program Operation                        6HF
  469.                  IBM PC RTTY Ver 1.0
  470.  
  471. HF
  472. HF         Function Key Set 2
  473. HF
  474. HF          F3 - TX FLE
  475. HF
  476. HF               Transmit a  File.  Pressing  this  key  allows  the
  477. HF               contents of a  DOS  file  to  be  placed  into  the
  478. HF               transmit  buffer  for  transmission.  You  will    be
  479. HF               prompted for the filename of the file to  transmit.
  480. HF               Pressing just "ENTER" will result in no file  being
  481. HF               transmitted. Entering the word  "stop"  will  cause
  482. HF               the current file being processed to be closed.
  483. HF
  484. HF               The filename is placed in a buffer que  which  will
  485. HF               eventually be opened  and  read.  This  allows  for
  486. HF               placing several transmit files  into  the  transmit
  487. HF               buffer in sequential order.  The  filename  of  the
  488. HF               file currently  being  read  is    displayed  on  the
  489. HF               center display line. The form  of  the  display    is
  490. HF               "TX-filename".
  491. HF
  492. HF               If an error is encountered in opening the file,    an
  493. HF               error status is displayed for about a second at the
  494. HF               bottom of the screen and a beep is sounded.
  495. HF
  496. HF          F4 - TX CQ
  497. HF
  498. HF               Transmit a CQ. Pressing this key  causes  the  file
  499. HF               "CQ.RTY" to be loaded  into  the  transmit  buffer.
  500. HF               This file is qued just like a transmit file and    is
  501. HF               displayed on the center screen. Note that you  must
  502. HF               personalize the "CQ.RTY" file  with  your  callsign
  503. HF               and name.
  504. HF
  505. HF          F5 - RESET
  506. HF
  507. HF               This is the reset key. Pressing this key will close
  508. HF               all transmit files, clear the screen and start  the
  509. HF               program over. There is no prompting  to    make  sure
  510. HF               you mean it.
  511. HF
  512. HF          F6 - TX RYS
  513. HF
  514. HF               Transmit RYs. Pressing this key will result in  the
  515. HF               "RYS.RTY" file to be placed into the transmit  file
  516. HF               que and eventually into the transmit  buffer.  This
  517. HF               is handy for placing a bunch of RYs at the start of
  518. HF               your transmission, which gives the guy at the other
  519. HF               end a chance to lock back onto your signal.
  520. HF
  521. HF          F7 - PSE OF/PSE ON
  522. HF
  523. HF               Transmit Pause Off / Transmit Pause On. This key is
  524. HF               used to temporarily stop the program  from  sending
  525. HF               any more characters out    of  the  transmit  buffer.
  526. HF               This is useful for sending a steady carrier  signal
  527. HF               for tuning purposes or for stopping at a particular
  528. HF               place so that a CWID can  be  sent.  It    should    be
  529.  
  530. HF    2.0 Program Operation                        7HF
  531.                  IBM PC RTTY Ver 1.0
  532.  
  533. HF               noted, that BASIC can buffer up to 128  characters.
  534. HF               These characters cannot be stopped from being sent.
  535. HF               Thus, you may not be able to make the program pause
  536. HF               exactly where you want. When  the  program  begins,
  537. HF               this key defaults to PSE OF.
  538. HF
  539. HF          F8 - TTY ID
  540. HF
  541. HF               Teletype ID. Pressing this key  causes  the  second
  542. HF               line of the "CWID.RTY" file to be placed  into  the
  543. HF               transmit buffer. Note that this    line  of  data    is
  544. HF               read from the file at the beginning of the  program
  545. HF               and stored in program memory. Also  note  that  the
  546. HF               "CWID.RTY" file must be personalized with your name
  547. HF               and callsign.
  548. HF
  549. HF          F9 - CW ID
  550. HF
  551. HF               This key causes the first line  of  the    "CWID.RTY"
  552. HF               file to be sent over the air  in  Morse    code.  The
  553. HF               file is read at the beginning of  the  program  and
  554. HF               stored in program memory. Note that the    "CWID.RTY"
  555. HF               file  must  be  personalized  with  your  name  and
  556. HF               callsign.
  557. HF
  558. HF          F10 - DT&TM
  559. HF
  560. HF               Date and Time stamp. This causes the  current  date
  561. HF               and time to be placed  into  the  transmit  buffer.
  562. HF               Note that the time sent is  the    time  the  key    is
  563. HF               pressed, not the time the characters  are  actually
  564. HF               sent.
  565. HF
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592. HF    2.0 Program Operation                        8HF
  593.                  IBM PC RTTY Ver 1.0
  594.  
  595. HF
  596. EG    2.4 Program Files
  597. HF
  598. HF    There are three files which the program expects  to  find  on  the
  599. HF    default DOS drive. If any of these files are absent,  the  results
  600. HF    will be unpredictable, possibly resulting in the program dying    in
  601. HF    the middle of a QSO. There is also an optional file which  may    be
  602. HF    absent from the default DOS drive. The files are described below.
  603. HF
  604. EG    2.4.1 Required Files
  605. HF
  606. HF         CWID.RTY - This file is required to have two lines. The first
  607. HF         line contains the characters to be sent as the CW ID (e.g. DE
  608. HF         WB0OWT). The second line contains the characters to be placed
  609. HF         in the transmit buffer for  your  RTTY  ID  (e.g.    DE  WB0OWT
  610. HF         "GLENN" IN BOCA RATON, FLA). Note, you must personalize  this
  611. HF         file with your callsign, name and location.
  612. HF
  613. HF         CQ.RTY - This file contains all  the  information    you  would
  614. HF         like to send for a RTTY CQ. Note,    you  must  customize  this
  615. HF         file  with  your  callsign,  name,  and  location.  You   may
  616. HF         optionally change the format of the CQ.
  617. HF
  618. HF         RYS.RTY - This file is simply a line of  RYs  which  will    be
  619. HF         sent in response to a function key being pressed.    This  file
  620. HF         could be changed in just about any way you desired.
  621. HF
  622. EG    2.4.2 Optional Files
  623. HF
  624. HF         PARMS.RTY - This file can have one or more of  the  following
  625. HF         keywords on a single line separated by commas or on  separate
  626. HF         lines. Only the  first  four  characters  of  the    words  are
  627. HF         compared, so extra information between commas or on the  line
  628. HF         is ignored.
  629. HF
  630. HF          COM2 - This keyword will cause the program  to  use  the
  631. HF          second  async  communications  adapter  for  RTTY.   The
  632. HF          program default is the first adapter (COM1). This option
  633. HF          may be useful if the first adapter is primarily used for
  634. HF          some other reason such as a telephone modem or a  serial
  635. HF          printer.
  636. HF
  637. HF          DIDL - This keyword is provided for those folks who like
  638. HF          to send something (even null) while the transmit  buffer
  639. HF          is empty. Null characters are sent about once per second
  640. HF          while the transmit buffer is empty.
  641. HF
  642. HF          ECHO - This keyword causes each character  sent  to  the
  643. HF          BASIC COMn: port to be displayed on the receiver half of
  644. HF          the screen. This option is provided for those  who  have
  645. HF          TUs which do not place the transmitted  data    back  onto
  646. HF          the receive  line  coming  back  to  the  computer.  The
  647. HF          program default is no ECHO.
  648. HF
  649. HF          Note - BASIC has a 128 byte transmit buffer.    When  this
  650. HF          keyword  is  active,    the  receive  screen   shows   the
  651. HF          character when it is placed into the    BASIC  buffer.    In
  652. HF          other words, just because  you  see  it  on  the  screen
  653.  
  654. HF    2.0 Program Operation                        9HF
  655.                  IBM PC RTTY Ver 1.0
  656.  
  657. HF          doesn't mean it has been sent yet! If you use this mode,
  658. HF          you will need some way to know when all of the data  has
  659. HF          actually been transmitted.
  660. HF
  661. HF          FSK - This keyword  is  provided  to    allow  for  ON/OFF
  662. HF          keying of the transmitter for those who are not using  a
  663. HF          TU with an AFSK output  which  goes  to  the    microphone
  664. HF          jack. The default is the AFSK mode.
  665. HF
  666. HF          FSK? - This keyword is for those  people,  like  myself,
  667. HF          who have two radios which may be used and one  uses  the
  668. HF          AFSK mode and the other  uses  the  FSK  mode.  If  this
  669. HF          keyword is specified, you are asked at the beginning    of
  670. HF          the program if you want to run in  the  AFSK    mode.  Any
  671. HF          answer beginning with the  letter  "Y"  will  place  the
  672. HF          program in the AFSK mode. Any other entry will place the
  673. HF          program  in  the  FSK  mode.    Refer  to  the     Interface
  674. HF          Information section for definitions of the signals  used
  675. HF          in the two modes.
  676. HF
  677. HF          LPT2 - This keyword allows the printer output to  go    to
  678. HF          the printer attached to the second printer adapter.  The
  679. HF          default is the first printer adapter (LPT1).
  680. HF
  681. HF          LPT3 - This keyword allows the printer output to  go    to
  682. HF          the printer attached to the third printer  adapter.  The
  683. HF          default is the first printer adapter (LPT1).
  684. HF
  685. HF          QB - This keyword causes a bell character to be sent any
  686. HF          time a quote character is sent  in  the  transmit  mode.
  687. HF          This is possibly useful in RTTY ART, since some machines
  688. HF          have the quote and the bell reversed. No action is taken
  689. HF          in the receive mode. The default is no QB.
  690. HF
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716. HF    2.0 Program Operation                       10HF
  717.                  IBM PC RTTY Ver 1.0
  718.  
  719. HF
  720. EG    2.5 Utility Program
  721. HF
  722. HF    A utility program has been provided to perform some of the  normal
  723. HF         program functions offline. The  utility  is  started  by  entering
  724. HF         RTTYU
  725. HF    The program uses the same  "PARMS.RTY"  file  to  determine  which
  726. HF    printer to use for output and to decide whether or not    to  add  a
  727. HF    bell character after a quote. The program prompts you for the name
  728. HF    of the file to be processed. A name must be  entered  and  if  any
  729. HF    problems are encountered, the program stops.
  730. HF
  731. HF    You are then asked if you want the processed data sent to  another
  732. HF    file. If you answer in the affirmative, you will be asked the name
  733. HF    for the file. Responding will only an  "ENTER"  for  the  filename
  734. HF    will be interpreted as meaning you do not really want to save  the
  735. HF    data in a new file. If the filename is OK, you are then  asked    if
  736. HF    you would like the data in the new file compressed. Here again    as
  737. HF    in other places,  responding  with  anything  other  than  a  word
  738. HF    starting with the letter "Y" will be  taken  to  mean  "NO".  This
  739. HF    feature should be good for uncompressing  a  file  so  it  can    be
  740. HF    edited or for compressing a file to save diskette space.
  741. HF
  742. HF    You will also be asked if you want the file printed on the  matrix
  743. HF    printer. Answer in the affirmative if you would  like  hard  copy.
  744. HF    Again, this routine does not send the noisy bell character to  the
  745. HF    printer, the IBM Personal  Computer  makes  enough  noise  all    by
  746. HF    itself.
  747. HF
  748. HF    Regardless of the choices you make in  processing  the    file,  the
  749. HF    information is displayed on the display so you    can  keep  current
  750. HF    with the progress of the program.
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778. HF    2.0 Program Operation                       11HF
  779.                  IBM PC RTTY Ver 1.0
  780.  
  781. EG    ___ ____________________ HF
  782. EG    3.0 InterfaceInformation
  783. HF
  784. EG    3.1 Interface Signals
  785. HF
  786. HF    This program interfaces to the Amateur Radio equipment through the
  787. HF    Asynchronous Communications adapter. The  specifications  for  the
  788. HF    voltage levels are those for  a  standard  RS-232C  interface.    In
  789. HF    particular, the standard specifies voltage levels of +12 volts and
  790. HF    -12 volts to represent the logic states  of  the  signal.  Further
  791. HF    information can be obtained in the Technical Reference Manual. The
  792. HF    signals which the program uses are as follows.
  793. HF
  794. HF         Pin 2 - Transmit Data (Tx data) - characters to TU
  795. HF
  796. HF         Pin 3 - Receive Data (Rx data) - characters from TU
  797. HF
  798. HF         Pin 8 - Carrier Detect (CD) - CW data in from TU
  799. HF
  800. HF         Pin 4 - Request to Send (RTS) - Transmitter control
  801. HF
  802. HF         Pin 20 - Data Terminal Ready (DTR) - CW ID control
  803. HF
  804. HF         Pin 7 - Ground (Gnd) - reference level
  805. HF
  806. HF
  807. HF    For Tx data and Rx data, mark is -12v and space  is  +12v.  CD    is
  808. HF    tied to Rx data and is not required for RTTY, however, I expect to
  809. HF    use this line when and if I get around to writing a Morse  receive
  810. HF    routine.
  811. HF
  812. HF    RTS and DTR are -12v in receive mode and +12v in  normal  transmit
  813. HF    mode.
  814. HF
  815. HF    For AFSK CW ID, DTR only toggles from the normal transmit level.
  816. HF
  817. HF    For FSK CW ID, both DTR and RTS toggle from  the  normal  transmit
  818. HF    level.
  819. HF
  820. HF    Hopefully this is enough information to help you interface to your
  821. HF    terminal unit.
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841. HF    3.0 Interface Information                      12HF
  842.                  IBM PC RTTY Ver 1.0
  843.  
  844. HF
  845. EG    3.2 Kantronics 'The Interface' information
  846. HF
  847. HF    While I will  give  information  here  on  how    I  interfaced  the
  848. HF    Kantronics TU to my system, I must add    that  it  was  a  decision
  849. HF    based on availability and price more than anything  else.  If  you
  850. HF    are trying to make a  decision,  check    around    and  see  what    is
  851. HF    available and what seems to work well. While the  Kantronics  does
  852. HF    well in many cases, it does seem  to  have  difficulty    with  weak
  853. HF    and/or fading signals. The Kantronics interface does  not  provide
  854. HF    an RS-232C level interface and also  requires  an  external  power
  855. HF    supply. Additionally, the RTTY transmit  line  requires  a  normal
  856. HF    space condition for receive to operate correctly. Based  on  these
  857. HF    considerations,  I  designed  a  special  RS-232C  to    Kantronics
  858. HF    interface box. The schematic is included below.
  859. HF
  860. HF    First, just a few words about the  circuit.  The  interface  chips
  861. HF    used are the same as those used in the IBM PC, namely,    the  75150
  862. HF    line driver and the 75154 line receiver. The 1488 line driver  and
  863. HF    1489 line receiver from Radio Shack could also    be  used  but  the
  864. HF    pinouts are different. The 74LS00 is used  to  gate  the  Tx  data
  865. HF    signal with the transmitter control, to invert the  RTTY  transmit
  866. HF    signal and to invert signals for the  normal/reverse  switch.  The
  867. HF    circuitry needs +5v, +12v and -12v to run. I used the  7805,  7812
  868. HF    and the 7912 voltage regulators to get my voltages,  but  you  can
  869. HF    use your favorite regulator. Just be sure to  have  enough  filter
  870. HF    capacitance on the input and enough heat sink on  the  regulators.
  871. HF    There is nothing worse than intermittent problems when things  get
  872. HF    hot and heavy.    Also  note,  the  signal  ground  from    the  async
  873. HF    adapter, the special interface ground and the TU ground should all
  874. HF    be tied together.
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903. HF    3.0 Interface Information                      13HF
  904.                  IBM PC RTTY Ver 1.0
  905.  
  906. HF
  907. EG    3.3 Kantronics RS-232C Interface Schematic
  908. HF
  909. HF
  910. HF              +5v
  911. HF           ┌───────┴───────┐
  912. HF           │ ┌──────────┐  │
  913. HF           ├─┤1     ├─ │ ┌─────────────────────────────────────── CWID
  914. HF           ├─┤        ├──┘ │
  915. HF           └─┤        ├─   │            ┌──────────────────────── KEYIN
  916. HF    DTR ─────────┤        ├────┘            │  ┌──────────┐
  917. HF    Tx data ─────┤        ├────┐            ├──┤1      ├─ +5v
  918. HF    RTS ─────────┤        ├───────────────────┴──┤      ├───┬───┬── DECODE
  919. HF            ─┤     75154    ├─   │            ┌──┤      ├───┘   │
  920. HF        Gnd ─┤        ├──┐ │            └──┤      ├─────┐ │
  921. HF             └──────────┘  │ │           ┌───────┤      ├───┐ │ │
  922. HF          ┌────────────────┘ │           │┌──────┤  74LS00  ├───┤ │ │
  923. HF          │             │           ││ Gnd ─┤      ├─┐ │ │ │
  924. HF          │             │           ││      └──────────┘ │ │ │ │
  925. HF          │             │           ││            │ │ │ │
  926. HF          │             │           │└──────────────────────────── RTTY
  927. HF          │             └───────────────────────┐        │ │ │ │
  928. HF          ┌─────────────────────────────┐  │        /o────────┘ │ │
  929. HF          │   │                │  └───────────o|        │    │ │
  930. HF          │   │                │            |o──────┘    │ │
  931. HF          │   │  ┌──────────┐        │            |        │ │
  932. HF          │   └──┤1     ├─ +12v     │            /o────────────┘
  933. HF          ├──────┤        ├─────────┐ └──────────────o        │
  934. HF          └──────┤     75150    ├───────┐ │             o──────────┘
  935. HF        Gnd ─┤        ├─ -12v │ │
  936. HF             └──────────┘    │ │          Normal/Reverse
  937. HF                    │ │          DPDT switch shown
  938. HF    Rx data ────────────────────────┘ │          in normal position
  939. HF    CD ───────────────────────────────┘
  940. HF    Gnd ───────────────────────────────────────────────────────────────── Gnd
  941. HF
  942. HF    Computer                            Kantronics
  943. HF    Interface                            Interface
  944. HF
  945. HF                           │
  946. HF    Note: Non-Intersections are indicated by  ───
  947. HF                           │
  948. HF          All grounds are connected.
  949. HF
  950. HF          An IBM Graphics Printer is required for this schematic
  951. HF          to print correctly.
  952. HF
  953. HF
  954. HF
  955. HF                  Kantronics RS-232C Interface
  956. HF
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965. HF    3.0 Interface Information                      14HF
  966.