home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / t / tor117.zip / DOCS < prev    next >
Text File  |  1992-10-05  |  30KB  |  788 lines

  1. PCTOR V1.17
  2.  
  3. PCTOR (c) Johan Forrer KC7WW 1991,1992
  4.  
  5.  
  6. Author: Johan B. Forrer KC7WW
  7. 26553 Priceview Drive
  8. Monroe, OR 97456
  9. United States of America
  10.  
  11.  
  12. CIS id: 70730,3472
  13.  
  14.  
  15. Shareware notice
  16.  
  17.  
  18.  
  19. These programs are distributed as Shareware products. You may
  20. freely copy and share the programs with your friends, associates
  21. and other radio amateurs. PCTOR may not be sold or distributed
  22. with another product without the express written permission of
  23. the author. The author, Johan Forrer, KC7WW will only support
  24. unmodified copies of this software.
  25.  
  26. If you decide to use any of these products, you should become a
  27. registered user by sending $20.00 or equivalent in foreign
  28. currency together with the completed registration form to the
  29. author. All transactions must be drawn on US banks. Upon receipt
  30. of your registration, you will receive one free update disk
  31. containing the latest release of the software . You will also be
  32. notified of future developments. Improvements are continually
  33. being made and exciting additions are under way or in the process
  34. of being implemented.
  35.  
  36. If you are not satisfied with the program after registering it,
  37. you have 30 days from your registration date to return it for a
  38. full refund of your money, no questions asked.
  39.  
  40. This program may not be used by business or government
  41. institutions without proper licensing. Commercial users please
  42. contact Johan Forrer directly for modifications and/or details of
  43. site licensing.
  44.  
  45. Acknowledgements
  46.  
  47.  
  48.  
  49. The work and ideas of Peter Martinez, G3PLX, and Paul Newland,
  50. AD7I, has truly been the source and inspiration for doing the
  51. "nuts and bolts" in this project.
  52.  
  53. Victor Poor's, W5SMM, helpful suggestions and ideas on
  54. compatibility with MBBIOS, PAMS/APlink, and the implementation of
  55. the extended ASCII set was invaluable.
  56.  
  57. The helpful suggestions of Frank Gorichar, W7JUF, who beta tested
  58. early versions of this software is greatly appreciated. A special
  59. word of appreciation to beta tester Peter Ferrand, WB2QLL/1, with
  60. helping sort out some really tricky video timing problems.
  61.  
  62. Thanks to Frank Wyatt, N6FW for forwarding technical
  63. documentation to me.
  64.  
  65. Many individuals have sent in "wish lists", some of which are now
  66. part of the latest version.  As always - your support, criticism,
  67. and suggestions are appreciated.
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.      Please support the efforts of shareware developers.
  80.  
  81. Table of contents
  82.  
  83.  
  84.  
  85. 1.0  PCTOR what does it do ?
  86.  
  87.      1.1  Minimum requirements to run PCTOR
  88.  
  89.      1.2  CAUTION
  90.  
  91.      1.3  Planned enhancements
  92.  
  93. 2.0  Introduction
  94.  
  95. 3.0  Hardware Interface
  96.  
  97. 4.0  Installation
  98.  
  99.      4.1  Software
  100.  
  101.      4.2  Customizing the configuration file
  102.  
  103. 5.0  Operating PCTOR
  104.  
  105.      5.1 Function keys
  106.  
  107.      5.2 Command menu
  108.  
  109. 6.0 Appendix
  110.  
  111.      6.1 If problems persist.....
  112.      6.2 What if it still does not work .....
  113.      6.3 A few notes about HF modems.
  114.  
  115. 7.0  Disclaimer
  116.  
  117.  
  118.  
  119. 1.0 PCTOR what does it do ?
  120.  
  121.  
  122. Using only a low cost external HF modem, PCTOR makes it possible
  123. to run AMTOR on PC compatible hardware without the need of
  124. dedicated multi-mode terminal node controller (TNC) hardware. All
  125. decoding is performed in software in real time using only PC
  126. hardware. The software has been tested to work even on a lowly
  127. 4.77 MHz PC compatible.
  128.  
  129.  
  130. PCTOR will run under Microsoft Windows as a DOS application in
  131. full screen mode (please see the supplied .PIF file).
  132.  
  133.  
  134. The main features of PCTOR:
  135.  
  136.  
  137.  
  138. 1  - Split screen operation: Data received through the AMTOR
  139.      translator is displayed on the upper window. The operator's
  140.      keyboard entry is displayed on the lower window. A status
  141.      window shows real-time operational status of the digital
  142.      translator. This includes, timing, path propagation delay,
  143.      processor idle time, link status, selcals, and more.
  144.  
  145. 2 -  All AMTOR modes are supported: ARQ, FEQ, and "Listen".
  146.  
  147. 3 -  The user may define several text buffers, i.e. brag tape,
  148.      CQ messages, etc. that may be loaded for transmission with
  149.      with one key stroke.
  150.  
  151. 4 -  Text files my be transmitted. Typically the user will
  152.      prepare these off-line.
  153.  
  154. 5 -  Unshift-on-space (UOS) option.
  155.  
  156. 6 -  "PLX"-method of upper/lower case with extensions as
  157.      developed by Victor Poor (W5SMM).
  158.  
  159. 7 -  A "high" reliability option based on bit averaging.
  160.  
  161. 8 -  Receive data can be optionally be captured in a file.
  162.      Automatic time stamps, as well as user-initiated time stamps
  163.      may be entered into this capture file. The capture file can
  164.      be read using an ordinary text editor.
  165.  
  166. 9 -  PCTOR can open a Dos shell (viable only for 386/486)
  167.      with the low level AMTOR decoder running. The low
  168.      level decoder has buffered I/O queues to accept traffic even
  169.      when PCTOR has opened a DOS shell.
  170.  
  171. 10 - The user can customize the working environment through use
  172.      of a configuration file that is read when PCTOR starts up.
  173.  
  174. 11 - Keyboard entry is in word-edit mode. This means that
  175.      keyboard data is only entered into the type-ahead buffer
  176.      when a space is entered (or carriage return, or the special
  177.      symbol sequence "+?"). This way typing errors may be
  178.      edited before releasing them over the air.
  179.  
  180.  
  181.  
  182. Older versions of PCTOR (pre-1.17) used a terminate stay resident
  183. (TSR) program, called TORBIOS. PCTOR now incorporates all low-
  184. level routines previously performed by the TSR.
  185. 1.1 Minimum requirements to run PCTOR
  186.  
  187.  
  188. PCTOR will run on an IBM PC or close compatible computer. DOS 3.1
  189. or higher is required. A monochrome or EGA/VGA display adaptor
  190. will work. Although the software will run on a floppy-based
  191. system, a hard disk is recommended. The definition of "true IBM
  192. compatibility" is fuzzy and a great deal of flexibility has been
  193. built into the programs to handle a wide range of PC hardware.
  194. Please refer to the appendix where some further notes on dealing
  195. with incompatibilities are included.
  196.  
  197. On the radio side, an HF modem, i.e. ST-6 or equivalent is
  198. required to decode received audio to +/- 12V RS232 logic signals.
  199. For transmission of AMTOR over the air, the user also has to
  200. provide a PTT interface and either AFSK or FSK. These interfaces
  201. are often included in an HF modem. If the software is used for
  202. monitoring only, only the HF modem is required. The HF modem is
  203. required to convert audio tones to RS232 compatible digital
  204. levels required by PCTOR (please see 6.3 for further notes on HF
  205. modems).
  206.  
  207. PCTOR uses some of the signal lines of the standard COM1 or COM2
  208. serial ports as a digital interface (the user specifies which COM
  209. port - see "Installation - software").   1.2 Caution
  210.  
  211.  
  212.  
  213. This software may not be suitable for all working environments.
  214. The user should therefore proceed with the usual caution and make
  215. sure critical software is backed up.
  216.  
  217. The author has done extensive tests on a very modest PC-
  218. compatible system running an 8 Mhz V20 processor and 20 MB hard
  219. disk. No other potentially competing resident software was used.
  220. The author has recently upgraded to a 486 clone and 80 MB hard
  221. drive and DOS 5.0 software. There was some incompatibilities,
  222. however these have since been corrected.
  223.  
  224. Every effort has been made to ensure that the software is "well
  225. behaved", however, the user is reminded that this software relies
  226. on critical timing. Normal system functionality is retained, i.e.
  227. time-of-day and floppy disk timeout activities. The user must
  228. thus be careful not to run other software that relies on similar
  229. "tricks" that PCTOR uses as the consequences is indeterminable.
  230.  
  231. Normal program usage and program termination will undo the
  232. actions of PCTOR and restore normal system operation. Should a
  233. program failure occur, the only way to restore normal system
  234. operation is to reboot DOS.
  235.  
  236. 1.3 Planned enhancements
  237.  
  238.  
  239.  
  240. Several enhancements are planned for release in the near future.
  241. As a registered user you will be notified of these when it
  242. becomes available. These include:
  243.  
  244. * SAA/CUA standard interface (Windows Application)
  245. * DSP modem and tuning indicator (for 386/486 machines).
  246. * Experimental modes (PACTOR, HAMMING error correcting code).
  247. 2.0 Introduction
  248.  
  249.  
  250.  
  251. PCTOR is an implementation of CCIR specification 476-2 on an IBM
  252. personal computer or compatible computer. As such, it replaces
  253. the need for dedicated TNC hardware and is an attractive
  254. alternative for the casual user evaluating a new operating mode,
  255. as well as the serious developer that needs to embed low level
  256. I/O functionality into a system. 
  257.  
  258. PCTOR contain a user-interface program that works in conjunction
  259. with several low-level routines that enables a user to operate
  260. and monitor TOR traffic with a minimum of fuss. Its
  261. multiple-window user interface allows simultaneous monitoring of
  262. decoded traffic, decoding status, and user keyboard history. Pop-
  263. up windows is used for setting operational parameters, file-I/O
  264. operations, and canned buffer transmissions.
  265.  
  266. Function keys are used for quick, easy, and efficient control of
  267. most operations.
  268.  
  269. PCTOR was developed using Borland C++ Version 3.1. The low-level
  270. interface was developed using Borland Turbo Assembler version
  271. 3.0.
  272. 3.0 Hardware interface
  273.  
  274.  
  275.  
  276. PCTOR interfaces through signals of the COM1 or COM2 RS232 port.
  277. The following allocation of RS232 signals have been made: Other
  278. signal pins may be connected, however will play no part in the
  279. operation of PCTOR.
  280.  
  281.  
  282.              For a 25-pin connector:
  283. pin 20  (DTR) - output data bits (mark -12V, space +12V) 
  284. pin 4   (RTS) - PTT              (off  -12V, on    +12V)
  285. pin 8   (DCD) - input data bits  (mark +12V, space -12V)
  286.  
  287.  
  288. If your RTTY modem and interface requires different logic levels,
  289. these may be configured using either the on-line command menu in
  290. PCTOR, or included in a configuration file "TOR.CNF". An example
  291. has been included. (See below for more details in "customizing
  292. the setup file). 4.0 Installation
  293.  
  294.  
  295. 4.1 Software
  296.  
  297.  
  298. It is assumed that a hard disk is available, though the program
  299. can be run off a floppy disk as well. In fact it is suggested
  300. that you first run off a floppy disk to see if this software is
  301. compatible with other software that you may have on your system.
  302.  
  303. 1. Create a new subdirectory and change directory to it, i.e.
  304.  
  305.    mkdir tor 
  306.    cd tor
  307.  
  308. 2. Copy the contents of the floppy to the new subdirectory.
  309.  
  310.    copy a:*.*
  311.  
  312.    The following files will be copied:
  313.     
  314.    tor.exe    -- The split screen AMTOR program.
  315.    tor2.exe   -- (for usage with COM 2) 
  316.    tor.cnf    -- Setup file to custom configure your program. 
  317.    tor.doc    -- This documentation.
  318.    brag.tor   -- An example test file to load.
  319.    cq.tor     -- Another example file to load.
  320.    AMTOR.BAT  -- A batch file to run TOR with a parameter. Check
  321.                  to see which communications port COM 1 or 2 you
  322.                  desire.
  323.  
  324. 3. Customize tor.cnf  (see 4.2 Customizing the configuration)
  325.  
  326. 4. Create, or edit the files with ".tor" extensions. These files
  327.    will be read when the program starts and will become the
  328.    user's personalized buffers. These are transmitted by using
  329.    the "hot" keys ALT-1 through ALT-9. The two included examples
  330.    are typical.
  331.  
  332. 5. Edit the batch file "AMTOR", paying particular attention to
  333.    whether you are using COM1 or COM2, i.e. use TOR for COM1, and
  334.    TOR2 for COM2.
  335.  
  336. 6. Run the batch file AMTOR, i.e. type AMTOR <enter>, or
  337.    alternatively run it directly from the command line: 
  338.    
  339.    Note that there is an optional parameter on the "TOR"
  340.    command line. This parameter allows the setting of the size of
  341.    the screens on the split-screen display, i.e.
  342.  
  343.    TOR 13   .... will run TOR and divide the split-screen display
  344.                  into approximately 12 lines each. 
  345.  
  346. 7. Make sure that you use the "ANSI.SYS" device driver in your
  347.    DOS config.sys (please see about ANSI.SYS in your DOS manual).
  348.  
  349. 8. Make sure that you have set the time zone environment variable
  350.    in your autoexec.bat:
  351.    set TZ=PST8  (I use this for setting Pacific Standard Time,
  352.                  which is 8 hours after UTC. Please consult your
  353.                  DOS manual).
  354.  
  355. 4.2 Customizing the configuration
  356.  
  357.  
  358.  
  359. To enable a user to streamline the setup of the program to his
  360. requirements, a configuration file, "tor.cnf" is read during
  361. startup. Read and edit the contents of the provided file
  362. "tor.cnf" to suit your own preferences. This file is optional,
  363. but when not found, the system will use defaults. These entries
  364. are all optional, and may appear in any order, however, please do
  365. not enter any spaces between symbols, 
  366.  
  367. i.e. 
  368.  
  369. vid : 1        is NOT the same as       vid:1
  370.  
  371. (The last one is correct).
  372.  
  373.  
  374.  
  375. The following entries may be customized:
  376.  
  377. id:KCWW/KC7WW             ----- set your identity selcal/callsign
  378. selcal:WDRZ/WA8DRZ/6      ----- set the  startup selcal/callsign.
  379. wru:QRA KC7WW KCWW        ----- your WRU text.
  380. txdelay:30                ----- delay after PTT on till data out
  381. outmask:0                 ----- normal/inverted output data logic
  382. inmask:0                  ----- normal/inverted input  data logic
  383. timing:25                 ----- system clock timing adjustment
  384. uos:0                     ----- unshift-on-space OFF
  385. case:0                    ----- upper/lower case OFF
  386. log:1                     ----- receive data capture (logging)
  387. logfile:tor.log           ----- data capture filename
  388. rel:0                     ----- reliability OFF
  389. vid:1                     ----- DIRECT video I/O enabled (see
  390.                                 appendix on hardware
  391.                                 compatibility)
  392. fcrlf:1                   ----- Files, i.e. buffers and files to
  393.                                 be sent through the ALT-F command
  394.                                 should use the AUTOMATIC CR/LF
  395.                                 mode. This means that all CR's in
  396.                                 the input text files will be
  397.                                 ignored, and LF will be
  398.                                 interpreted as CR/LF.
  399. refr:15                   ----- Status update rate. The number of
  400.                                 system ticks between updates,
  401.                                 i.e. 15*55mS=0.825 seconds. To
  402.                                 fast a rate will flicker or
  403.                                 perhaps may introduce timing
  404.                                 problems, too slow will affect
  405.                                 animation of timing bar, clock,
  406.                                 etc.
  407.  
  408.  
  409. Note that the syntax isn't tested very rigorously. Please check
  410. your input carefully against the supplied example.
  411.  
  412. Since PCTOR is supposed to work with any modem, the logic of the
  413. input/output interface needs to be configurable. This is done by
  414. setting up input and output "masks". There are two bits on the
  415. output mask that need to be set (DTR - used for sending data
  416. bits, and CTS - used for PTT control). On input there is only one
  417. bit level that needs to be set (DCD - used for input data). The
  418. meaning of these masks are as follows:
  419.  
  420.  
  421. outmask:0    - normal RTS  normal DTR
  422.         1    - normal RTS  invert DTR
  423.         2    - invert RTS  normal DTR
  424.         3    - invert RTS  invert DTR
  425.  
  426. inmask:0     - normal DCD
  427.        1     - invert DCD
  428.  
  429. As a suggestion, leave the settings as outmask:0 and inmask:0
  430.  
  431. Until you have sorted out the required logic interfacing logic,
  432. prepare your transceiver for low power output into a dummy load
  433. (you may find your PTT unexpectedly comes on upon executing the
  434. program).
  435.  
  436. Now run TOR. If your PTT comes on right away, the sense of RTS
  437. must be inverted before further testing can be done (Try
  438. outmask:2). Normally, TOR should put you in standby mode.
  439.  
  440. Next, on-the air tests will be necessary. Try to decode some FEC.
  441. FEC will be decoded while in standby mode. To make sure that you
  442. are in standby mode, hit F10. Tune in on an FEC transmission and
  443. wait for it to sync. If it fails to decode anything, first try
  444. changing the other sideband setting of your transceiver (if you
  445. normally use LSB, try using USB). This will show whether it's the
  446. interface logic or whether there is some other problem. If TOR
  447. receives FEC in the other sideband setting, the sense of DCD
  448. needs to be changed (Try inmask:1) and revert to your preferred
  449. sideband setting (or RTTY setting if your transceiver has one). 
  450.  
  451. The final test is to determine the logic level required for the
  452. transmitted data. Try an ARQ call. If it fails, you need to
  453. invert the sense of DTR (this will be either outmask:1 or
  454. outmask:3 depending on the outcome of the RTS/PTT test above).
  455.  
  456. There is an additional timing-related entry, "timing:" that need
  457. to be set up. This parameter allows external adjustment of the
  458. system clock pulses to cater for systems with inaccurate clocks.
  459. Very few PC's have accurate clocks and although the default value
  460. (25) will work reasonable well in most cases, adjustment of this
  461. parameter is very desirable. For determining the value of this
  462. timing parameter, see  5.2 - Command menu: usage of the 'T'
  463. option. 
  464. 5.0 Operating PCTOR
  465.  
  466.  
  467.  
  468. Upon startup, the shareware banner will be displayed. Press any
  469. key to proceed to the TOR screen.
  470.  
  471. The contents and layout of the status display line depends on
  472. which options the user has selected. The following description
  473. refers to the case when all the options are enabled. This gives
  474. the reader a description of all possibilities.
  475.  
  476. TOR displays three windows: the status window, the received
  477. traffic window, and the keyboard display. 
  478.  
  479. The smallest window. at the top of the screen, is the status
  480. window. It is updated in real time and some machines may show
  481. some flickering. This is normal. 
  482.  
  483. Link status information is displayed on the left hand side of the
  484. status line.
  485.  
  486. Adjacent to the link status is the selcal/callsign of the remote
  487. station. This data is used in establishing the link and also for
  488. printing out identification data (see usage of the "Ins" key).
  489.  
  490. Next, the transmit data delay is shown. This is the time (in
  491. milliseconds) that you allow after the PTT signal has been
  492. activated before data output will start. It is one way to
  493. compensate for slower-switching equipment. It allows for things
  494. to settle, before actual data is being sent. The default value
  495. (30 ms) is a reasonable compromise.
  496.  
  497. Once some traffic starts flowing, and you were the call
  498. originator on ARQ (i.e. the "Master"), the block receive time
  499. will be displayed. This is an internal timing parameter that
  500. cannot be changed. It includes the delay-parameters at both send
  501. and receive stations as well as the time delay due to the signal
  502. propagation through the atmosphere.
  503.  
  504. If the unshift-on-space (UOS) feature has been selected, this
  505. will be displayed as a µ symbol.
  506.  
  507. If the user has selected the receive screen capture
  508. (autologging), the a ¢ symbol will be displayed.
  509.  
  510. When the reliability option is selected a √ symbol will be
  511. displayed. Reliablity is obtained by sampling each bit multiple
  512. times and using "voting".
  513.  
  514. If the user selected upper/lower case operation, there will be
  515. two arrows, the first one is associated with the case of the
  516. receive text, while the second one is associated with the
  517. transmit case. An "up" arrow means upper case, while a "down"
  518. arrow indicates lower case.
  519.  
  520. A 24 hour-format clock is also shown on the display. This clock
  521. will be used for timing and time stamps in future versions of the
  522. software.
  523.  
  524. An eleven bit analog indicator on the right hand side shows how
  525. bit phasing is progressing. During FEQ or ARQ, the indicator
  526. should show slow motion from right to left. The speed of the
  527. motion depends on how much your clock and the other station's are
  528. differing relative to each other.
  529. 5.1 Function keys
  530.  
  531.  
  532.  
  533. The function keys have the following functions:
  534.  
  535. F1  - Initiate an FEC call.
  536.  
  537. F2  - Initiate an ARQ call.
  538.  
  539. F3  - Force a change-over (works only in ARQ).
  540.  
  541. F4  - Initiate QRT sequence (ends ARQ and FEC transmissions).
  542.  
  543. F5  - If receive text capture is enabled, will insert a timestamp
  544.       into the log file.
  545.  
  546. F6  - Initiate ARQ listen mode.
  547.  
  548. F7  - Clear keyboard type ahead and special buffers (used for
  549.       WRU), clears keyboard display.
  550.  
  551. SHFT F7 - Clears receive display.
  552.  
  553. F8  - Open a DOS shell (use with care - 386/486 machines).
  554.  
  555. F9  - Not used.
  556.  
  557. F10 - Abort any operation in progress and revert to standby mode.
  558.  
  559. End - Enter the +? sequence into the keyboard buffer.
  560.  
  561. Ins - Enter an identification string into the keyboard buffer.
  562.  
  563. Del - Force LTR case during receive (FEC or ARQ). In addition
  564.       will it reset the transmit and received cases to UPPER.
  565.  
  566. Ctrl-Home - toggles "raw" data mode. For experimenters only -
  567.       displays untranslated ITA2 (Baudot) code in Hex. This data
  568.       is also written to the log for later analysis.
  569.  
  570. ESC - Calls up the command menu when in user mode. 
  571.  
  572. ALT-B - Enter the buffers menu. This allows a data buffer to be
  573.       loaded into the keyboard buffer. The user prepares these
  574.       buffers ahead of time using a text editor. These files have
  575.       a "TOR" extension and will be loaded when TOR is
  576.       initialized. Also note the usage of the ALT-1 through ALT-9
  577.       keys as "hot" keys to load any of these buffers with one
  578.       keystroke.
  579.  
  580. ALT-C - Prompt user to enter the selcal/callsign of the remote
  581.       station AND initiate an ARQ call immediately.
  582.  
  583. ALT-F - File transmission menu. Allows the transmission of text
  584.       files while in FEC or ARQ. The transmitted text will be
  585.       displayed as it is transmitted. There will be no echo to
  586.       the receive window.
  587.  
  588. ALT-R - Prompt user for the selcal/callsign of the remote station
  589.       WITHOUT initiating an ARQ call.
  590.  
  591. ALT-T - Enter UTC time into the keyboard buffer for transmission
  592.       in FEC or ARQ.
  593.  
  594. ALT-W - Sends the "WRU" command to the remote station. This is
  595.       the "figs-D" character in the ITA2 (Baudot) alphabet.
  596. 5.2 Command Menu
  597.  
  598.  
  599.  
  600. The command menu (called up when the ESC key is pressed when in
  601. the main display) has the following one letter commands:
  602.  
  603.  
  604.  
  605. C - Enable or disable upper/lower case operation.
  606. D - Set the tx-delay. This sets the time delay after the PTT is
  607.     activated to when data is sent. On slower switching equipment
  608.     set it longer. Fast switching equipment set it short.
  609.     Acceptable values range in 1 millisecond increments from 1 -
  610.     50 ms. Default is 30 ms. This parameter may be adjusted to
  611.     compensate for working local or DX distances, however, this
  612.     practice is not normally required.
  613.  
  614. H - Help with the function keys.
  615. I - Set your own ARQ identity.
  616. L - Enable or disable receive capture (logging).
  617. M - Modify the interface logic masks - see section 4.2.
  618. Q - Terminate PCTOR.
  619. T - Set clock timing. This parameter allows fine adjustments of
  620.     the master clock. See Appendix A for more details.
  621. U - Sets UOS (unshift on space) on or off.
  622. V - Toggles video mode (DIRECT/BIOS).
  623. W - Set up your WRU text.
  624. X - Exit the command menu to main display. The ESC key may also
  625.     be used for this purpose. 
  626. Y - Sends out a 500 HZ pulse train from pin 20 for diagnostic
  627.     purposes.
  628.  
  629. 6.0 APPENDIX.
  630.  
  631.  
  632. 6.1 If problems persists.......
  633.  
  634.  
  635.  
  636. The most common feedback from users appears to be setting up
  637. PCTOR's master clock timing. Once this is done, the user enters
  638. the "magic" number into the configuration file that is used
  639. automatically each time the program is started. Only when
  640. installing the program on another computer will it be necessary
  641. to reset this timing parameter. 
  642.  
  643. Please note that this parameter has noting to do with the speed
  644. of your processor, or whether you use an 8088 or 486. Its about
  645. how to program a certain chip (8253/4) on the PC's motherboard.
  646.  
  647. Typical symptoms will be that either nothing happens when trying
  648. to decode a FEC signal, or, the FEC sync is obtained, some text
  649. is printed, however, synch is lost and only a few words of
  650. garbage is printed before it starts re-sync. If you have a scope,
  651. or frequency counter available, try the following (its not
  652. serious if you do not have access to test equipment - you will
  653. just have to be a little patient and do some common-sense trial
  654. and error. It will take a little longer, but you will obtain the
  655. same end result. Skip the next paragraph if you do not have
  656. access to test equipment):
  657.  
  658. Enter the command menu (Hit ESC) and select the "Y" option. This
  659. command will send a signal out of the COM port pin 20 (for 25 pin
  660. RS-232). This signal should be set to as close to as you can to
  661. 500 Hz. Use the "+" and "-" keys to toggle the speed up or down.
  662. When you have completed the test, return to the main display and
  663. select STANDBY (F10).
  664.  
  665. Tune in FEC mode to a strong FEC broadcast station, (i.e. KMI or
  666. WOO on 8.0870 Mhz, 8.0516 Mhz approx). Observe the timing
  667. indicator on the right hand corner of the status line. Notice
  668. that it may slide slowly. The objective is to have it as
  669. stationary or indecisive as possible. However, do not be
  670. concerned if you cannot get a perfect steady display, that is
  671. quite normal.
  672.  
  673. Vary the timing value, one step at a time using the "+" or "-"
  674. keys. After changing the clock setting, the previous value as
  675. well as the new value will be displayed. You MUST then exit the
  676. command menu for the new settings to become effective. Once back
  677. to the main display, select STANDBY (F10) and wait for sync to be
  678. detected. Notice that when you return from the command menu to
  679. the main menu, you may see some received text being written to
  680. the receive display. This is text that have been accumulated by
  681. the low-level decoder and was stored in a system buffer while you
  682. were using the command menu. This text should be ignored as the
  683. changed clock setting was not yet in effect. 
  684.  
  685.  
  686. Once the optimal setting has been found, modify the configuration
  687. file TOR.CNF to include the parameter for your system. Values
  688. ranging from 0 to 36 is valid. This procedure set the system
  689. clock close to the +/-50ppm requirement for AMTOR.
  690.  
  691.  
  692.  
  693. 6.2 What if it still does not work ......
  694.  
  695.  
  696. At this point there remains one question: how "IBM compatible"
  697. your computer is. Perhaps your computer is quite compatible but
  698. there may be an interface adapter card that is not. It has been
  699. found that some video adapters does special emulation, i.e. runs
  700. one video mode, but allows some other type of equipment to be
  701. attached, i.e. ATI allows you to run VGA mode, yet allows you to
  702. use a CGA display. This kind of hardware introduces either wait
  703. states, or disables the interrupt system at a very low level.
  704. Since PCTOR needs a stable timing source, there will be a
  705. conflict for sure.
  706.  
  707. PCTOR allows you to minimize these conflicts that are related to
  708. the video display by allowing the user to disable writing
  709. directly to the video memory. By selecting the "V" option in the
  710. command menu thus toggling BIOS on, all video access will be done
  711. through BIOS calls. The status line is also simplified to reduce
  712. the overhead. In some cases, this will do the trick. It is also
  713. possible to reduce the amount of screen-writing activity by
  714. slowing down the rate that the status line is updated (see 4.2
  715. "refr:15" ). 
  716.  
  717. Another problem that has been experienced with older PC
  718. compatibles, i.e. 1984 or so, is support chips on the motherboard
  719. that does not behave like later versions. Although these machines
  720. may be perfectly capable of running most software, they will not
  721. be able to keep accurate timing and may not work well with PCTOR.
  722. If possible, update the 8254 and 8259 chips. Also check the 8250
  723. UART for the same reason.
  724.  
  725.  
  726.  
  727. 6.3 A few notes on HF modems
  728.  
  729. Experience have shown that some modems perform better than
  730. others. We may divide the class of popular modems roughly into
  731. three categories (there are a few other types as well):
  732.  
  733. (I)   The phase locked loop (PLL),
  734.  
  735. (II)  filter type,
  736.  
  737. (III) digital signal processing (DSP) type.
  738.  
  739. It is the author's opinion that the PLL type of modems are not
  740. suitable for average HF operations. It is best to avoid this
  741. approach even with extensive front-end filtering.
  742.  
  743. The filter-type modem have been used with much greater success on
  744. HF. However, there are various kinds of approaches in filter-type
  745. modems:
  746.  
  747.      Vintage designs like the ST-5 and ST-6 employed L/C filters
  748. and are known to work reasonably well, given that some changes
  749. are made to their low-pass filters (mainly to pass the 100 Hz
  750. AMTOR modulation rate). 
  751.  
  752.      Active filter designs such as the DJ6HP will also work quite
  753. well under fair conditions, however, do not expect too much under
  754. adverse conditions. Another popular active filter modem is the
  755. BARTG design. This small modem will work reasonably well too,
  756. however it lacks front-end bandpass filtering, and has poor post-
  757. descriminator signal processing. Both these designs are good for
  758. newcomers.
  759.  
  760. Modern good performance filter-type modems use sophisticated
  761. front end filters in conjunction with well-designed
  762. discriminators and extensive post discriminator filtering
  763. circuitry. They generally have excellent dynamic range to handle
  764. strong signals as well as being able to "dig into the noise" to
  765. handle weaker signals. They will tolerate some degree of off-
  766. frequency operation.
  767.  
  768. The DSP approach is still new to HF operation, yet holds a lot of
  769. promise. There are presently some commercial units available.
  770.  
  771. If you are interested in a small, yet sophisticated filter-type
  772. modem, please contact the author for further details.
  773. 7.0 Disclaimer
  774.  
  775.  
  776.  
  777. The author, Johan Forrer KC7WW is not responsible for any damage,
  778. injury, loss of profit or gain associated with the use,
  779. installation, or application of this software. 
  780.  
  781.  
  782.  
  783.     August 1992
  784. J.B.Forrer KC7WW
  785. 26553 Priceview Drive
  786. Monroe, OR 97456
  787. United States of America
  788.