home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / tel / modem.doc < prev    next >
Text File  |  2006-10-19  |  6KB  |  124 lines

  1. MODEM -- An XMODEM/CRC Terminal Program for the Model 200
  2. Tom Jennings, Fido Software, Box 77731, San Francisco CA 94107
  3.  
  4. 19 Apr 90
  5.  
  6. This skimpy document will have to suffice for now. More will come later, maybe. At the end of this file is a complete list of the files that comprise this package. If all you want is to run the program, you only need MDM200.DO (and you are reading MDMDOC.DO!)
  7.  
  8. ---------------- TO INSTALL
  9.  
  10. MODEM comes packed in a BASIC program, so that you can download with TELCOM. To install, simply run MDM200 from BASIC:
  11.  
  12. RUN "MDM200"
  13.  
  14. This will create "MODEM.CO". You can delete MDM200.DO now, (presumably you'll save a copy on tape or disk in case you have to do it again...).
  15.  
  16. ---------------- USING MODEM.CO
  17.  
  18. Simply run it from the main menu. If it doesn't load but just beeps at you, you don't have to reload it; in BASIC do:
  19.  
  20. CLEAR 0,59392
  21.  
  22. And try again. If you get ?OM ERROR, you ran out of memory!
  23.  
  24. When you run MODEM, it uses the settings from the last time you used TELCOM or MODEM, except that MODEM can only run in HALF DUPLEX, and PARITY is always IGNORE. (SEE BUG LIST)
  25.  
  26. ---------------- Function Keys
  27.  
  28. F1/DISC
  29. Disconnects the modem, if online. No effect if RS232 is selected or not online.
  30.  
  31. F2/DIAL
  32. Selects the internal modem at 300 baud, and dials the number you enter. The silver cord should be plugged into the telephone line; the telephone set does not need to be connected, unlike TELCOM.
  33.  
  34. MODEM will dial the phone, and wait for a connection, forever if necessary; you must abort the attempt with F1/DISConnect.
  35.  
  36. F3/CAPT
  37. CAPture is more or less the same as TELCOMs "DOWNLOAD". Everything you see on your screen after you start a CAPTure is saved in the disk file you specify. CAPTure is stopped when you press F3 again, or automatically when you exit to the main menu.
  38.  
  39. F4/BAUD
  40. How you choose the modem (always at 300 baud) or the RS232 port at the specified baud rate. Though the prompt shows only 300, 1200, 2400 and 9600, you can enter any of the selections in TELCOM.
  41.  
  42. MODEM remembers the current settings in the same place that TELCOM does; if you use one setting exclusively you won't have to set it.
  43.  
  44. (SEE BUG LIST)
  45.  
  46. F5/RECV
  47. Receive (download) a file using XMODEM, from the remote computer/BBS to your Tandy 200. To download a file from a BBS, start the download on the BBS first; when the BBS says it is ready to start, then press F5, enter a filename, and the download will start.
  48.  
  49. Pressing BREAK during an XMODEM transfer will abort.
  50.  
  51. The file name does not (and if the original name doesn't fit in 6 characters, cannot!) have to be the same file name.
  52.  
  53. If a file of the same name already exists on your Tandy 200, then MODEM will ask "Overwrite (Y,N)". "N" will abort the command immediately; "Y" will delete the file, and create a new, empty one.
  54.  
  55. F6/SEND
  56. Send (upload) a file using XMODEM or XMODEM/CRC, from your Tandy 200 to the remote computer/BBS. The process is the same as above; get the remote computer started first, and when it is ready, press F5 and enter the name you want to use for the file you are about to send.
  57.  
  58.  
  59. F7
  60. Not used (yet).
  61.  
  62. F8\MENU
  63. Guess.
  64.  
  65. ---------------- Files Included/Available
  66.  
  67. MDM200.DO               Creates a MODEM.CO when run on your 200.
  68. MDMDOC.DO               This file.
  69.  
  70. MODEM.DO                ROM2/ASM source, with full comments (too
  71.                         large to fit in a Tandy 200!)
  72. MODEM.OUT               ROM2/ASM source, stripped of comments, to
  73.                         fit in Tandy 200.
  74. SCRUNCH.EXE             An MSDOS program that strips comments
  75.                         assembly language programs so they will
  76.                         fit in a Tandy 200!
  77.  
  78. ---------------- Assembly Language Environment
  79.  
  80. Basically, MODEM is a single source file, MODEM.DO, you do a CLEAR 0,59392 like it says at the start of the file, and assemble it.
  81.  
  82. One slight problem is that MODEM.DO is larger than the 200's memory. So I wrote a SCRUNCH program that strips off all comments and blank lines, and the resulting file, about 8K, fits quite nicely. I edit MODEM.DO on my IBM, SCRUNCH it to the compact MODEM.OUT, and XMODEM that to the 200.
  83.  
  84. Here's how I do it, on my 200 with Traveling Software's ROM2.
  85.  
  86. 1. Edit MODEM.DO on the IBM.
  87. 2. Scrunch it: SCRUNCH MODEM. Produces MODEM.OUT
  88. 3. Launch MODEM or TELCOM.
  89.   a. If MODEM, just F5 and receive file "MODEM".
  90.   b. If TELCOM, STAT 58N1ENN, F2/Download "MODEM".
  91. 3. Launch BASIC.
  92.   a. The first time, CLEAR 0,59392 (or whatever the 
  93.      comment in MODEM.DO says).
  94. 4. CALL 921,2 (invoke ROM2).
  95. 5. Enter "ASM MODEM" at the prompt.
  96. 6. (you deal with errors, etc.)
  97. 7. Remember last address displayed. Convert to decimal.
  98. 8. SAVEM"MODEM",59392,xxxx,59392 (where xxxx is the
  99.    last address, in decimal).
  100. 9. Now you've got a MODEM.CO in your 200.
  101.  
  102.  
  103. ---------------- Known Bugs and Annoyances
  104.  
  105. Bugs:
  106.  
  107. F4/BAUD doesn't remember current-settings, but always starts up in 9600 baud.
  108.  
  109.  
  110. Annoyances:
  111.  
  112. F2/DIAL doesn't do touch-tone; speaker is off, and phone disconnected, so you cannot hear call progress. Annoying if it doesn't connect right away.
  113.  
  114. F3/CAPT doesn't "light up" in use. (ie. F3 key not in reverse video).
  115.  
  116. F5/RECV XMODEM receive is always done checksum, not CRC. The problem is user-interface, ie. I didn't want to make MODEM ask crc vs. checksum, which most people (rightly) don't know nor care about.
  117.  
  118. Sorry CRC fanatics, but rather thorough analysis (and a few 100,000+ hours stats) indicates that the REAL WORLD (not calculator) error rate for CRC vs. checksum simply isn't that high. Line errors are nearly-never single- nor double-bit; they are burst errors, and trash a dozen or more bytes at a time (more at higher baud rates), so in practice, the proverbial "flipped two bits" that would sneak by XMODME/checksum simply don't exist.
  119.  
  120.  
  121. ----------------
  122.  
  123. Thanks to Tracy Allen for his help and the CO2BA loader for the Tandy 200!
  124.