home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols000 / vol093 / modem798.set < prev    next >
Text File  |  1984-04-29  |  6KB  |  151 lines

  1.  
  2.              SET UP ROUTINE FOR THE CP/M MODEM PROGRAM
  3.                      Version 7.97   12/26/82
  4.  
  5.  
  6. 12/26/82  Updated to v7.97              - Bruce Ratoff
  7. 12/20/82  Updated to v7.96                    - Paul Kelley
  8. 12/12/82  Updated to v7.95                    - Irv Hoff
  9. 11/30/82  Updated to v7.94                    - Paul Kelley
  10.  
  11.  
  12. This information is given for those who do not wish to re-assemble
  13. the modem program for their system because they do not have the source
  14. code, or find this method simpler.  Use 'DDT' or 'SID' or 'DUUP' to
  15. make the following changes for your computer.  If using 'DDT' or 'SID'
  16. do this when finished:
  17.  
  18.                      A>SAVE 64 MODEM797.COM
  19.  
  20. Experienced assembly language programmers should note that there is more
  21. flexiblity if MCNFG797.HEX is used to overlay MODEM797.COM. MCNFG797.ASM
  22. allows you to set the parameters discussed below. It also provides a
  23. permanent source file for your modem initialization routines as well as
  24. allowing you to change the values of the local characters, improve the
  25. display output, add a routine for changing modem parameters, and define a
  26. logon sequence for use with remote systems. Users should also be aware of
  27. a similar overlay file, MCOSB797.ASM, set up for the Osborne-1 as an
  28. example of memory mapped I/O.
  29.  
  30.  
  31. 0103  FF     <--- FF if PMMI modem, else 00.
  32.  
  33. 0104  00     <--- Don't change.
  34.  
  35. 0105  00     <--- Don't change.
  36.  
  37. 0106  04     <--- Clock speed in MHz, 08 maximum
  38.  
  39. 0107  00     <--- 00 if you want files that exist to be deleted if
  40.                         a file of the same name is sent in multi-file
  41.                         transfer.  FF if you want the existing file
  42.                         to be changed to "BAK".
  43.  
  44.                         Note: In CP/M 2.x, existing R/O or SYS files
  45.                               are changed to "BAK" whether this byte
  46.                               is set or not.
  47.  
  48. 0108  00     <--- 00 for default to CRC, FF for default to checksum
  49.  
  50. 0109  FF     <--- FF allows toggling of Checksum to CRC
  51.  
  52. 010A  00     <--- 00 leave backspace normal, FF convert to rubout
  53.   
  54. 010B  FF     <--- FF allows toggling of backspace to rubout
  55.  
  56. 010C  00     <--- 00 send CR-only, FF send CR-LF both  (00 normal)
  57.  
  58. 010D  FF     <--- FF allows toggling of line feed after carriage return
  59.  
  60. 010E  00     <--- 00 don't change
  61.  
  62. 010F  FF     <--- FF to prevent overwriting CCP, 00 if ok to overwrite
  63.  
  64. 0110  00     <--- 00 not local command if control-^ precedes
  65.  
  66. 0111  FF     <--- FF allows toggling of local command on next char
  67.  
  68. 0112  FF     <--- FF allows toggling of printer on/off
  69.  
  70. 0113  00     <--- FF for XOFF testing in terminal mode text file output
  71.  
  72. 0114  00     <--- FF for wait for XON after CR in terminal mode output,
  73.             useful for certain timesharing systems
  74.  
  75. 0115  FF     <--- FF allows toggling of XOFF/XON testing
  76.  
  77. 0116  01     <--- Sets the default speed for showing time to send a
  78.                     file in "S" command.  Select the one you normally
  79.                     use "most of the time" as you can easily change it
  80.                     temporarily using a menu command. Use one of these: 
  81.                     00=110, 01=300, 02=450, 03=600, 04=710, 05=1200
  82.             06=2400, 07=4800, 08=9600
  83.  
  84. 0117  00     <--- 00 for no delay between characters.  In terminal mode
  85.                     there are times when a delay is nice, like sending
  86.                     a pretyped file to a bulletin board system.  Choices
  87.                     from 0-9.
  88.                     00=no delay, 01=.02 seconds -- 09=0.18 seconds, etc.
  89.  
  90. 0118  00     <--- 00 for no extra delay after CR.  Some bulletin board
  91.             systems, etc. require an extra delay after each CR.
  92.             Choices from 0-9.
  93.             00=no delay, 01=.08 seconds -- 09=0.72 seconds, etc.
  94.  
  95. 0119  1E     <--- Bell repeat timing, 1E = about 1 second
  96.  
  97.  
  98.       (area from 011A through 0120 does not need to be changed)
  99.  
  100.  
  101. 0121  7D     <--- 7D for 20 PPS, FA for 10 PPS (PMMI board)
  102.  
  103. 0122  00 00  <--- Put cold reboot address here if you        (PMMI only)
  104.                     have one, set now to warm reboot
  105.                     Put "LSP" part first, then "MSP".
  106.  
  107.  
  108.       (the following addresses skip bytes not necessary to change)
  109.  
  110.  
  111. 0128  C0    <--- Your modem control port (port C0H shown here).
  112.  
  113. 012B  C1    <--- Your modem data port "OUT" (port C1H shown here).
  114.  
  115. 012E  C1    <--- Your modem data port "IN" (port C1H shown here).
  116.  
  117. 0131  01    <--- Your modem status bit for "transmit ready".
  118.  
  119. 0134  01    <--- Your modem status bit level when ready to send.
  120.  
  121. 0137  02    <--- Your modem status bit for "receive ready".
  122.  
  123. 013A  02    <--- Your modem status bit for "receive ready".
  124.  
  125. 013D  C2    <--- Your modem Baud rate port "IN"              (PMMI only)
  126.  
  127. 0140  C2    <--- Your modem Baud rate port "OUT"             (PMMI only)
  128.  
  129. 0143  C3    <--- Your modem control port #2                  (PMMI only)
  130.  
  131. 0146  C0    <--- Your modem control port "OUT"               (PMMI only)
  132.  
  133.                  
  134. =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =
  135.  
  136.  
  137. 014D  C3 D9 01   "JMP  01D9"  Many CP/M systems initialize the modem
  138.             port via CONFIG.COM, etc.  If you wish to
  139.       NON-PMMI         initialize the ports yourself, use the address
  140.             shown here (01D9H) for your routine.  End it
  141.             with a C9 (RET). You have space up to 0617H.
  142.  
  143. =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =  =
  144.  
  145.  
  146. When finished with the changes, exit 'DDT' via CTL-C then save as shown
  147. at the start of this file.
  148.  
  149.  
  150.                                               By Irv Hoff 
  151.