home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / SIMTEL / CPMUG / CPMUG079.ARK / MODEM741.SET < prev    next >
Text File  |  1984-04-29  |  4KB  |  112 lines

  1.  
  2.         SET UP ROUTINE FOR THE CP/M MODEM PROGRAM.
  3.             Version 7.31   11/14/81
  4.  
  5. This information is given for those who do not wish to re-assemble
  6. the modem program for their system because they do not have MAC, do
  7. not have the source code, or are lazy. If you have a PMMI Modem board,
  8. with base port set at 0E0H, and do want backup (.BAK) copies (if the file
  9. being received already exists), the program will run as is. If not,
  10. make the patches listed below.
  11.  
  12. Use the L command ( L100 ) of DDT or SID to list the program and
  13. use the S command to make the following changes:
  14.  
  15. 0100 C3 3E04    JMP 043EH  <---  Do not change
  16.  
  17. (Note: The L command of DDT or SID displays 0FFH as "RST 07" and 0 as "NOP")
  18.  
  19. 0103 FF               <--- 0FFH if PMMI modem, else zero.
  20.                 SuperBrain users should put zero here.
  21.  
  22. 0104 FF               <--- 0FFH if Imsai with front panel,
  23.                 else zero.
  24.                 SuperBrain users should put zero here.
  25.  
  26. 0105 FF               <--- 0FFH if 4 MHz Z-80 (or maybe fast 8085)
  27.                 else 0.
  28.                 SuperBrain users should use 0FFH
  29.  
  30. 0106 FF               <--- Zero if you want files that exist
  31.                 to be deleted if a file of the same
  32.                 name is sent in multifile transfer.
  33.                 0FFH if you want the existing file
  34.                 to be changed to type "BAK".
  35.  
  36.                 Note: In CP/M 2 existing R/O or
  37.                       SYS files    are changed to
  38.                       type BAK whether this byte
  39.                       is set or not.
  40.  
  41. 0107 FF               <--- 0FFH if you want program to come
  42.                 up in expert (XPR) mode without
  43.                 calling A>MODEM X else zero if
  44.                 you want menu or X command. You
  45.                 will probably want to leave this
  46.                 at 0FFH since new users can toggle
  47.                 this on with the XPR command.
  48.  
  49. 0108 FA               <--- 0FAH for 20 pulses/sec dialing
  50.         PMMI        (PMMI modem only). 7DH if your
  51.         ONLY        phone exchange is older and needs
  52.                 a slower dialing rate.
  53.  
  54.  
  55. 0109 DB XX    IN  XX     <--- Put modem status port in 010AH
  56.                 (Base port if PMMI).
  57.                 SuperBrain users should put 59H
  58.                 here for main status.
  59. 010B C9        RET
  60.  
  61. If you do not have a PMMI modem, make the following patches also:
  62.  
  63. 010C D3 XX    OUT XX       <--- Put modem data port in 010DH.
  64.                 SuperBrain users should put 58H
  65.                 here for main data.
  66. 010E C9        RET    
  67.  
  68. 010F E6 XX    ANI XX       <--- Put bit tested when modem ready to
  69.                 send in 0110H.
  70.                 SuperBrain users need make no change.
  71. 0111 C9        RET        
  72.  
  73. 0112 FE XX    CPI XX       <--- Same as 0110H if port uses positive logic (JZ).
  74.                 Hex zero if port uses negative logic (JNZ).
  75.                 SuperBrain users need make no change.
  76. 0114 C9        RET
  77.  
  78. 0115 DB XX    IN XX       <--- Put modem data port (again) in 0116H.
  79.                 SuperBrain users should put 58H
  80.                 here for main data.
  81. 0117 C9        RET
  82.  
  83. 0118 E6 XX    ANI XX       <--- Put bit tested when modem ready to receive
  84.                 in 0119H.
  85.                 SuperBrain users need make no change.
  86. 011A C9        RET
  87.  
  88. 011B FE XX    CPI XX       <--- Same as 0119H if port uses positive logic.
  89.                 Hex zero if port uses negative logic.
  90.                 SuperBrain users need make no change.
  91. 011D C9        RET
  92.  
  93. 011E C3 XXXX    JMP XXXX   <--- 011EH contains a jump to a modem or port
  94.                 initialization routine. If your modem does
  95.                 not need to be initialized, put a RET (C9H)
  96.                 in 011EH .If you need initialization, write
  97.                 your routine for the memory location addressed
  98.                 by the jump. The initialization routine
  99.                 must end with a RET instruction. You have
  100.                 approximately 190 (decimal) bytes for the
  101.                 routine. 
  102.                 SuperBrain users would probably want to put
  103.                 a RET in 011EH if they have properly set the
  104.                 number of data and stop bits and the parity
  105.                 with CONFIGUR or ACTIVATE.
  106.  
  107. You are finished. Leave DDT (using ^C) and type
  108.  
  109.         SAVE 37 MODEM.COM
  110.  
  111. END of FILE.
  112.