home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / Information / TTD_ASCII-BAUDOT.TXT < prev    next >
Encoding:
Text File  |  2019-04-13  |  15.6 KB  |  344 lines

  1. _____________________________________________________________________________
  2. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  3.  
  4. ---The History of the HEX---
  5.  
  6.    The Handicapped Educational Exchange was developed under a grant from  the 
  7. Dept. of Education to serve the handicapped community.  The first  grant, in 
  8. 1979, served to fund the development of a smaller system which  was first 
  9. placed into operation in the early part of 1980.  It employed a  6800-based 
  10. microcomputer, handled only one caller at a time, and served  through the start
  11. of 1983.  It was developed by Robert Bruninga of AMRAD, the Amateur Radio Re-
  12. search & Development Corporation, which was the  grantee for this project.  
  13.  
  14.    The hardware for the second system (HEX2) was bought under the second  year 
  15. of the grant. The system was designed and built by Richard Barth, an  AMRAD 
  16. member and a consultant in microcomputer applications to deaf  communications.
  17.  
  18. It employed a 6809, had a larger data storage capacity  and greater speed, and 
  19. could handle several users at the same time.  It  was connected to two phone 
  20. lines. It began running part time for tests in  March of 1983, and started 
  21. operational service in April of that year.  
  22.  
  23.    The current system operates on an XT clone with 640K of RAM and a 30  meg 
  24. hard disk. The software was written in the C programming language by  Richard 
  25. Barth. It accepts calls from Telecommunications Devices for the  Deaf 
  26. (TDD/TTYs) and at 300 baud ASCII using a Model CM-4 modem by Phone- TTY Inc. of
  27. Hackensack NJ.  A separate line will operate at 300 and 1200  baud once softwa-
  28. re debugging is complete, using an Everex modem.  
  29.  
  30.    Design, construction and operation of the HEX are unfunded, the costs being
  31. shared by AMRAD and the system operator.  AMRAD, the Amateur Radio  R&D Corp.,
  32. is described in a separate INFO file.  
  33.  
  34.  
  35. ______________________________________________________________________________
  36.  
  37. >>>>>>>>>>>>>>>>>>>>>>>  TTDs or TTYs :                                     
  38.  
  39.                TELECOMMUNICATIONS DEVICES FOR THE DEAF
  40.  
  41.      There are over 3000 Telecommunication Devices for the Deaf in use in the
  42. greater Washington D.C. area and estimates range as high as 25,000 nationally.
  43.  
  44. The deaf have been using these devices for over fifteen years, to  communicate 
  45. among themselves and more recently, with a growing number of  organizations 
  46. with TTY numbers to allow phone access to deaf users. See the  INFO files for 
  47. some numbers. Although originally the majority of devices were  surplus 
  48. "teletype" machines donated by the phone company and the military,  these 
  49. mechanical printers are rapidly being replaced by more modern devices  offering
  50. special features as well as reductions in size and weight.  A  portable device 
  51. about the size of a calculator is available for under $200.  
  52.  
  53.    The following shows the differences between the modems used.  The owner of 
  54. a computer can rather easily modify his software to convert between the ASCII 
  55. code used in microcomputers and the code used by the deaf TTY.  Often, it is  
  56. harder to get a modem which is compatible both with a computer and with the  
  57. TTY. The usual procedure is to convert an ASCII (Bell-103 compatible) modem 
  58.  or build a TTY modem from scratch.  
  59.  
  60.      There are several differences between protocols used by ASCII terminals 
  61. and by the TTY. The following attempts to clarify these.  
  62.  
  63.  
  64.                         ASCII DATA        DEAF TDD
  65.           FEATURE    COMMUNICATIONS    COMMUNICATIONS
  66.           -------  ------------------  --------------
  67.  
  68.            CODE          ASCII             Baudot
  69.  
  70.            SPEED      110/300 baud       45.45 baud
  71.  
  72.            MODE     full/half-duplex   2 way simplex
  73.  
  74.            MODEM   Bell 103 ORIG/ANS     Weitbrecht
  75.  
  76.            MARK      ORIG 1270 Hz         1400 Hz
  77.                      ANS  2225 Hz
  78.  
  79.            SPACE     ORIG 1070 Hz         1800 Hz
  80.  
  81.                      ANS  2025 Hz
  82.  
  83.  
  84.  In the Weitbrecht modem, tones are only transmitted for the duration of the  
  85. character so the line is available for transmission in either direction. In  
  86. practice the mark tone is retained for as much as a half second before being  
  87. squelched.  
  88.  
  89.  Notice also that the mark is high for the Bell 103 and is the low tone for  
  90. the Weitbrecht. This means that in converting a a Bell 103 modem to TTY use, 
  91. the data will be inverted from RS-232 and the mark hold circuitry will need 
  92. to be inverted.  
  93.  
  94.  Line supervision is also different in these modems. In -103 protocol, the  
  95. presence of the tone carriers gives positive indication of the status of each 
  96. end of the link. In the Weitbrecht case, however, the absence of tones except 
  97. while characters are being transmitted results in there being no positive way 
  98. to test the status of the other end of the communications link. To aid the  
  99. deaf, a lamp is provided on most Weitbrecht modems which varies in intensity 
  100. proportional to signals on the line so that the ringing and busy signals are 
  101. recognizable.  
  102.  
  103.  
  104. _____________________________________________________________________________
  105.  
  106. >>>>>>>>>>>>>>>>>> THE SPONSOR OF HEX BBS :                               
  107.  
  108. ---AMRAD---
  109.  
  110.    The Amateur Radio Research and Development Corporation (AMRAD) is a group
  111. of radio amateurs and computer experimenters based in the Washington D.C.
  112. area. Many of its members are professionals in the engineering, communications
  113. , and computer fields.
  114.  
  115.    The group meets the first Monday of each month in the Patrick Henry Library 
  116. in Vienna, Virginia. Meetings begin at 7:30 and continue through 9:00 PM. A 
  117. speaker on some technical subject of interest is heard at each meeting; 
  118. interpreters are provided upon request for deaf persons attending.
  119.  
  120.    AMRAD operates a bulletin board on (703) 734-1387 which runs 24 hours a day 
  121. and deals with general hobby-oriented subjects. The operator is Terry Fox, 
  122. WB4JFI. The HEX, also run by AMRAD, is operated by Richard Barth, W3HWN. AMRAD 
  123. operates a radio repeater on 147.81/21 MHz, which is available to any licensed 
  124. radio amateur. The chief maintainer of the repeater is Jeff Brennan, WB4WLW. It
  125. carries both voice and digital traffic. Another AMRAD repeater is operated by 
  126. Sandy Sanders, WB5MMB on 147.585 MHz and operates simplex, carrying packetized 
  127. data only.
  128.  
  129.    AMRAD is involved in a number of technical experiments, which currently 
  130. include packet switching of computer data and spread spectrum communications in
  131. the amateur bands. Plans are underway, in cooperation with AMSAT, to develop 
  132. international packet switching networks via amateur satellite.
  133.  
  134.    Dues for AMRAD are $15.00 a year, and include a monthly newsletter which 
  135. provides a summary of work in progress and serves to tie together members 
  136. throughout the world.
  137.  
  138.  
  139. _____________________________________________________________________________
  140.  
  141. >>>>>>>>>>>>>>>>>>>>>  USING COMPUTERS AS TDDS:                           
  142.  
  143.  ---COMPUTER TDDs---
  144.  
  145.    It is possible to use a home computer as a TDD. This requires programming to
  146. convert the ASCII code used by the computer to the Baudot code used by the TDD,
  147. and vice versa. It is usually necessary to add a special modem, unique to the
  148. TDD, that is named after its developer, Robert Weitbrecht. A description of
  149. this modem, and the characteristics of the TDD, are in INFO file T.
  150.  
  151.    John W. Spalding of Atlanta, Georgia has developed programs for the  Radio 
  152. Shack Color Computer which permit it to serve as a TDD without the  need for a 
  153. special modem. This design is a major breakthrough since  unavailability of 
  154. these modems has been a problem for those trying to make  a computer talk to a 
  155. TDD. Mr.  Spalding has placed his creations in the  public domain, making them 
  156. available without charge to anyone who wants  them. He has sent HEX the source 
  157. code; you may read it by downloading  TDD54.ZIP and TDD56.ZIP from file area 
  158. two.  
  159.  
  160.      All CoCo software is in assembly language for the 6809. They are source 
  161. only; machine code is not included. If you want a paper copy including machine 
  162. language, send a stamped self addressed business envelope to:
  163.  
  164.   Handicapped Educational Exchange
  165.   11523 Charlton Drive
  166.   Silver Spring MD 20902
  167.  
  168. Machine code for TDD3.5 is available from HEX on cassette tape and for TDD4.3 
  169. in a 2716 EPROM. The EPROM must be mounted in a ROM pack to be inserted in the 
  170. side of the CoCo. An empty ROM pack is available for $9.95 from Spectrum 
  171. Projects, P.O. BOX 21272, Woodhaven NY 11421 or call (718) 441-2807. Other 
  172. sources for these ROM packs may also be available. When you have received your 
  173. ROM pack,  contact HEX for information on getting an EPROM.
  174.  
  175.    Mr. Spalding has also written TDD software for the IBM-PC that, like his 
  176. CoCo software, does not require a modem. This is also in the public domain and 
  177. will be provided gratis to anyone who sends HEX a blank, 5 1/2 inch floppy disk
  178. and return postage. A users' manual covering design and use of both the PC and
  179. CoCo software comes with the code.
  180.  
  181.    While neither the CoCo nor the IBM-PC TDDs requires a modem, it is necessary
  182. to couple the computers to the phone line. Mr. Spalding's way of doing this is 
  183. with a Radio Shack telephone amplifier. Design details on this are available 
  184. from HEX, if you're willing to modify the amplifier according to instructions. 
  185. If you prefer to get your equipment ready to plug in, the modified amplifier is
  186. available from John Steele, 2100 North New Road, Waco TX 76707. It plugs into, 
  187. and can be used with, either the CoCo or IBM-PC  using the Spalding software.
  188.  
  189.    Mark Becker has developed a program for the Altair 680b using the 6800 
  190. microprocessor which is intended to be used for radio teletype. It provides 
  191. conversion between ASCII and Baudot, and can be adapted to permit other 
  192. 6800-series machines to work as TDDs. It is also in the public domain, and is 
  193. in INFO file C3.
  194.  
  195.    Conversions for the Apple, TRS-80 model I, Atari 400, Pet, Smoke Signal 
  196. Chieftain 6800 and 6809 machines were done by  various members of AMRAD, the 
  197. group which sponsors the HEX.  Design information and software for these are in
  198. the public domain and can be obtained for the price of reproduction and mailing
  199. (roughly 12 cents a page) from AMRAD's Corresponding Secretary, Howard F. 
  200. Cunningham. He may be reached at:
  201.  
  202.    AMRAD
  203.    P.O. Drawer 6148
  204.    McLean VA 22106-6148
  205.  
  206.  
  207. _____________________________________________________________________________
  208.  
  209. >>>>>>>> PURPOSE OF HANDICAPPED EDUCATION EXCHANGE ( HEX BBS ) :   
  210.  
  211. ---The Purpose of HEX---
  212.  
  213.    The Handicapped Educational Exchange (HEX) computer system was developed 
  214. under a grant from the U.S. Dept. of Education, Office of Special Education. 
  215. It serves two functions:
  216.  
  217.    1. It is a clearinghouse for information regarding the use of 
  218. microcomputers, and other modern technology, to aid the handicapped. 
  219. Information provided by users, and gleaned by the operator from technical 
  220. literature and personal correspondence, is entered into the files and made 
  221. available to anyone having an interest in this field. We welcome news of work 
  222. in progress, as well as advertisements for services and devices related to 
  223. the handicapped.
  224.  
  225.    2. It serves as a demonstration of the use of microcomputers to provide a 
  226. message system for the deaf. While there ate hundreds of computer bulletin 
  227. boards in this country, there are, to my knowledge, only three 
  228. microcomputer-based boards which are capable of being accessed by the deaf 
  229. using a TTY. The HEX  serves a number of deaf users, who employ it as a means 
  230. of exchanging messages and information of mutual interest. The technology 
  231. employed in the HEX is readily reproducible by anyone interested in providing 
  232. a similar service for deaf communities elsewhere. Information is available 
  233. from the
  234. operator.
  235.  
  236.  
  237. _____________________________________________________________________________
  238.  
  239. >>>>>>>>>>> ASCII / BAUDOT CODE CONVERSION :
  240.  
  241. >>> send.c -- from the code for pc-hex tdd-=compatible bbs system.
  242.  
  243.               provides ascii/baudot code conversion
  244.  
  245.               copyright 1990 richard barth, all rights reserved.
  246.  
  247.               questions, comments and suggestions to:
  248.               handicapped educational exchange (hex)
  249.               11523 charlton drive
  250.               silver spring md 20902
  251.  
  252.               bbs: (301) 593-7033 (tdd and 300 baud ascii)
  253.                          593-7357 (300/1200 baud ascii only, 8n1)
  254. <<<
  255.  
  256. /* baudot code constants used for tty communications */
  257.  
  258. #define ucase    0x20  /* upper case flag     */
  259. #define lcase    0     /* lower case flag     */
  260. #define ushift   0x1b  /* upshift character   */
  261. #define dshift   0x1f  /* downshift character */
  262.  
  263. static int  shift;     /* =ucase if a tty caller is in uppers, else =lcase */
  264.  
  265. ____    ____    ____    ____    ____    ____    ____    ____    ____    ____ 
  266.  
  267. ** these routines convert ascii to baudot and transmit it, and translate a
  268.    received baudot character to ascii.
  269.  
  270.    the uart must be initialized for the correct word structure (5 data bits,
  271.    1.5 stop bits, no parity, 45.5 baud) by the calling program.
  272.  
  273.    following is a table of ascii characters in the order in which they occur
  274.    in the baudot code. certain baudot characters which do not exist in ascii
  275.    are represented by nulls. the baudot null (all zero) character is normally
  276.    used as a backspace on ttys, and is so represented in this table.
  277.  
  278.    note that while several variations of the baudot code exist, this table 
  279.    follows the "military standard" version used by the tty.
  280. **
  281.  
  282. TABLE CONTINUED:____    ____    ____    ____    ____    ____    ____    ____ 
  283.  
  284. tatic
  285. char bdotbl[]= { '\b', 'e', '\n',  'a',  ' ',  's',  'i',  'u', /* lower case */
  286.                  '\r', 'd',  'r',  'j',  'n',  'f',  'c',  'k', 
  287.                   't', 'z',  'l',  'w',  'h',  'y',  'p',  'q', 
  288.                   'o', 'b',  'g',   0 ,  'm',  'x',  'v',   0 , 
  289.                   
  290.                  '\b',  '3', '\n', '-',  ' ',   7 ,  '8',  '7', /* upper case */
  291.                  '\r',  '$',  '4','\'',  ',',  '!',  ':',  '(', 
  292.                   '5', '\"',  ')', '2',   0 ,  '6',  '0',  '1', 
  293.                   '9',  '?',  '&',  0 ,  '.',  '/',  ';',   0   };
  294.                                        
  295.  
  296. TABLE CONTINUED:____    ____    ____    ____    ____    ____    ____    ____ 
  297.  
  298. baudout(c)       /* convert ascii to baudot and send it */
  299. int c;
  300. {
  301.     int i;
  302.  
  303.     for (i = 0;  i < 64; i++)   {
  304.          if (bdotbl[i] == c) {   /* if character is found in the table */
  305.               if ((i >= 32) && !shift) {     /* if needed, send shift  */
  306.                    while (com_writ(ushift)==0)    /* char and set flag */
  307.                         ;
  308.                    shift = ucase;
  309.               }
  310.               else if ((i < 32) && shift)   {
  311.                    while (com_writ(dshift)==0)
  312.                         ;
  313.                    shift = lcase;
  314.               }
  315.               while (com_writ(i)==0)        /* send baudot character   */
  316.                    ;
  317.               return (i);                   /* and return its value    */
  318.          }
  319.     }
  320.     return (-1);                            /* if not found, return -1 */
  321. }
  322.  
  323. TABLE CONTINUED:____    ____    ____    ____    ____    ____    ____    ____ 
  324.  
  325. b2a(c)           /* translate a baudot character to ascii */
  326. int c;
  327. {
  328.     c &= 0x1f;                      /* mask to 5 bits  */
  329.     if (c == ushift)  {             /* process shift characters    */
  330.          shift = ucase;
  331.          return (0);
  332.     }
  333.     if (c == dshift)  {
  334.          shift = lcase;
  335.          return (0);
  336.     }
  337.     c = (c | shift);                /* mark others for proper case */
  338.     return (c = bdotbl[c]);         /* convert to ascii and return */
  339. }
  340.  
  341. _____________________________________________________________________________
  342. <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  343.  
  344.