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

  1. 28 Making a Null Modem -=> How <=-            
  2. 18 Open  ED.BELL [* sysop *]
  3.  ************
  4. Topic 28        Mon May 21, 1990
  5. ED.BELL [* sysop *]          at 18:39 EDT
  6. Sub: Making a Null Modem -=> How <=-        
  7.  
  8. With the new UART cartridges and the promise of obscene transfer speeds using
  9. null modems, I would like to get some information on putting one of these
  10. things together.  Any one have the information???
  11. 18 new messages.
  12.  ************
  13.  ------------
  14. Category 8,  Topic 28
  15. Message 1         Mon May 21, 1990
  16. ED.BELL [* sysop *]          at 18:43 EDT
  17.  
  18. I need some detailed information quick on the construction of a null modem. I
  19. want it  to connect my C64 w/my C64C and my C128.  Answering etc. are  not
  20. important... just being able to communicate across the line.  Can anyone help
  21. me with some pointers or a whole outline, esp. with part  numbers and sources
  22. and appr. cost.  Thanks much.  I think this is going  to be a frequently asked
  23. question with these new UART cartridges now  hitting the  market.
  24.  ------------
  25. Category 8,  Topic 28
  26. Message 2         Mon May 21, 1990
  27. DIGITAL.DOC                  at 22:37 PDT
  28.  
  29. Making a null modem cable is simple....Merely a matter of cross- connecting
  30. appropriate control lines
  31.  ------------
  32. Category 8,  Topic 28
  33. Message 3         Tue May 22, 1990
  34. ED.BELL [* sysop *]          at 12:19 EDT
  35.  
  36. Which lines DOC?  This is kind of  new, at least this end of it.  I'm used to
  37. opening the box and plugging 'em in to the phone and computer and just
  38. struggling to program them.
  39.  ------------
  40. Category 8,  Topic 28
  41. Message 4         Thu May 24, 1990
  42. DIGITAL.DOC                  at 20:50 PDT
  43.  
  44. Back with that info next week!! :)
  45.  ------------
  46. Category 8,  Topic 28
  47. Message 5         Fri May 25, 1990
  48. C128-BILL                    at 08:58 EDT
  49.  
  50. Ed, I made up a few a while back.  Just purchase a 25 wire ribbon cable and
  51. two male RS232 snap in connectors from R/S.  Before you snap the connectors
  52. on, swap wire #2 and #3 on one end (#1 has the red stripe).  Try and keep the
  53. ribbon cable short, and away from other electrical devices.  The whole set-up
  54. costs about 10 to 15 bucks, and takes a few minutes to do.  Use shielded cable
  55. for serious work, but then you need to drag out an iron.
  56.  
  57. Radio SHack also sells a Null Modem plug for about the same price, with pins 2
  58. & 3 already swapped.  One end is a female, the other a male.
  59.  
  60. The real trick is to have some sort of switching box so you can flip one or
  61. two switches and have both computers talk to each other, or either one use the
  62. same modem.  Generally one or two 232 switch boxes will do, costs about 15-20
  63. bucks each, but it saves you the hassle of unplugging/plugging cables.  Having
  64. two COM ports one one 'puter is handy for this, but I don't know if the Amiga
  65. has this feature.  Even with one COM port a max of two switch boxes can be
  66. made to 'do' the above switching, but you have to be a little 'creative' with
  67. your wiring.  :)
  68.  
  69.  ------------
  70. Category 8,  Topic 28
  71. Message 6         Fri May 25, 1990
  72. ED.BELL [* sysop *]          at 09:49 EDT
  73.  
  74. Sounds great Bill (and DOC).  I do have one little curve in the equation
  75. though.... the cartridge goes into the C64 cartridge port and has a db9
  76. (joystick)) port.  There is a cable that comes with it that goes from the db9
  77. to a db25.  Guess that doesn't really change it much huh?  I'm glad all this
  78. stuff is on the books here tho so I can go back and access it any time I'm
  79. ready.  And any  more detail is also greatly appreciated. Not lazy, just
  80. *BBBUUUUSSSSYYYY* Oh, the reason I brought up the cart ports is that the cable
  81. from the cart plugs directly into the modem, so apparently does the work of an
  82. interface, so I just don't want to do anything to hurt either the cartridge or
  83. my computers.  Is this a valid concern DOC. It has been my understanding that
  84. the interfaces have something to do with the power from the computer as
  85. opposed to what is used in the standard world.
  86.  ------------
  87. Category 8,  Topic 28
  88. Message 7         Fri May 25, 1990
  89. DIGITAL.DOC                  at 22:00 PDT
  90.  
  91. Doing a little investigating...will be back this weekend with an answer.
  92.  ------------
  93. Category 8,  Topic 28
  94. Message 8         Sat May 26, 1990
  95. WC.COLEMAN [*Sysop*]         at 03:36 EDT
  96.  
  97. The computer uses +/- 5 volts DC while standard RS232 uses (if I remember
  98. correctly) +/- 12 VDC. All the interface does is convert the voltages over.
  99. BTW if you are connecting to a printer you will probably also have to swap the
  100. DSR and DTR lines. It's been ages since I've done this stuff but I'll see what
  101. I can dig up.  -WC
  102.  ------------
  103. Category 8,  Topic 28
  104. Message 9         Sat May 26, 1990
  105. ED.BELL [* sysop *]          at 08:42 EDT
  106.  
  107. I didn't remember the particulars, but I knew it was something to do with the
  108. voltages.  I have no interest in making it for a printer... just  for the UART
  109. cartridge.  Since this thing has a cable ending in a db25 cable connector for
  110. the modem, it apparently serves as its own interface and I was concerned about
  111. reconverting a converted signal.  I have been thinking that I could get a
  112. double female db25 connector to just link my interface to the cable from the
  113. cartridge and have a null modem.  Does that sound  like sound logic?
  114.  ------------
  115. Category 8,  Topic 28
  116. Message 10        Sat May 26, 1990
  117. R.RANDALL5 [Zeroy]           at 10:59 EDT
  118.  
  119. A little thought would reveal that your ribbon cable recipe could not possibly
  120. work.  While it is true that you would want to swap PINS two and three to
  121. convert a modem cable to a nul-modem cable, that is not the only swap that
  122. needs to be done, AND conductors two and three in a ribbon cable do not
  123. correspond to PINS two and three in the DB25 connector.  Since the DB25 has
  124. two rows of pins, every other ribbon conductor goes to a different row.  So if
  125. the red conductor is pin one, then the adjacent conductor is pin 14 and the
  126. NEXT one is pin 2.
  127.  
  128. There is no standard for a nul-modem cable because different interfaces ignore
  129. or use different pins.  The very simplest cable would cross pins 2 & 3 with
  130. pin 7 straight through.  It would also be advisable to cross pins 6 and 20. 
  131. From here it can get kind of sticky.  If one of the devices is a PC you should
  132. loop pin 4 back to pin 5 on one end.  In fact, it might be a good idea to
  133. short pins 4, 5, & 8 on both ends of the cable.  I'm not trying to cloud the
  134. issue.  The point is that different interfaces using different software may or
  135. may not pay attention to different pins.
  136.  ------------
  137. Category 8,  Topic 28
  138. Message 11        Sat May 26, 1990
  139. ED.BELL [* sysop *]          at 14:59 EDT
  140.  
  141. Huh?  Thanks for all that... now all I have to do is find some quality  time
  142. to digest it. :-)  Actually, the reason this is such  a sticky thing is that
  143. the modem interface from the cartridge does not use the user port (where the
  144. modems normally go, in case I used the wrong name).  It uses the port where
  145. the cartridges go, and has a 9 pin connector to which a cable connects and
  146. makes the link to the modem.  I am no expert on these null modems in the first
  147. place, and I have an added dimension to the  problem.  I just hope when I'm
  148. ready to do it, the information presented here (and which I hope continues) is
  149. enough, and understandable enough,  for me and anyone else interested to make
  150. one.
  151.  ------------
  152. Category 8,  Topic 28
  153. Message 12        Tue May 29, 1990
  154. C128-BILL                    at 18:22 EDT
  155.  
  156. Ah!  Thanx Roy for pointing that out.  Pins 2/3, not wires 2/3. However in msg
  157. 10, Roy, you mention shorting pins 4 & 5.  I haven't seen that one, yet.  The
  158. one I have for here has 4/5 crossed (swapped) and not and not tied to 8.  The
  159. 6/20 might have to be swapped, too (DSR). Thanx for the correction.  :)
  160.  ------------
  161. Category 8,  Topic 28
  162. Message 13        Sat Jun 02, 1990
  163. R.RANDALL5 [Zeroy]           at 00:51 EDT
  164.  
  165. I told you this might get sticky.  Properly, 4 & 5 should be crossed. 
  166. However, some devices don't use 4 & 5 while others depend on them.  PC serial
  167. ports usually want to see pin 5 high.  If a the attached device (say, a
  168. Commodore) doesn't put pin 4 high, then the PC will refuse to send to it. 
  169. Therefore, we can fool them both by looping back their OWN pin 4 to their own
  170. pin 5.  Pin 8 is Carrier Detect.  Again, some terminal programs don't pay any
  171. attention to CD.  Some modems will hold pin 8 high all the time.  Some modems
  172. hold pin 8 high ONLY if it is properly synched with another modem's carrier. 
  173. My C=64's serial port seems to ignore most of this stuff. The question then
  174. remains, what are you hooking it to, and what does it expect to see?
  175.  ------------
  176. Category 8,  Topic 28
  177. Message 14        Wed Jul 04, 1990
  178. DIGITAL.DOC                  at 20:17 PDT
  179.  
  180. ED,
  181.  
  182. As promised a few decades ago, here's the pin-out and interconnect for RS-
  183. 232C.
  184.  
  185. Here is the standard RS-232C pin-out for the DB-25 connector:
  186.  
  187.    Pin Name Function
  188.     1   AA  Chassis Ground/Common
  189.     2   BA  Data from terminal
  190.     3   BB  Data received from Modem
  191.     4   CA  Request to Send
  192.     5   CB  Clear to Send
  193.     6   CC  Data Set Ready
  194.     7   AB  Signal Ground
  195.     8   CF  Carrier Detection
  196.     9       Not Used
  197.    10       Not Used
  198.    11       Not Used
  199.    12       Not Used
  200.    13       Not Used
  201.    14       Not Used
  202.    15   DB  Transmitted Bit Clock (Int)
  203.    16       Not Used
  204.    17   DD  Received Clock Bit
  205.    18       Not Used
  206.    19       Not Used
  207.    20   CD  Data Terminal Ready
  208.    21       Not Used
  209.    22   CE  Ring Indicator
  210.    23       Not Used
  211.    24   DA  Transmitted Bit Clock (Ext)
  212.    25       Not Used
  213.  
  214.  
  215. The "Standard" Null Modem cable is made as follows:
  216.  
  217.    Connector 1       Connector 2
  218.    -----------------------------
  219.    Pin 1             Pin 1
  220.    -----------------------------
  221.    Pin 2             Pin 3
  222.    -----------------------------
  223.    Pin 3             Pin 2
  224.    -----------------------------
  225.    Pin 4             Pin 8
  226.    Pin 5
  227.    -----------------------------
  228.    Pin 6             Pin 20
  229.    -----------------------------
  230.    Pin 7             Pin 7
  231.    -----------------------------
  232.    Pin 8             Pin 4
  233.                      pin 5
  234.    -----------------------------
  235.    Pin 20            Pin 6
  236.    -----------------------------
  237.  
  238.  
  239. There ya go.  Be aware that different equipments do not always use the same
  240. pin to signal configuration.
  241.       <Doc>
  242.  ------------
  243. Category 8,  Topic 28
  244. Message 15        Thu Jul 05, 1990
  245. ED.BELL [* sysop *]          at 01:40 EDT
  246.  
  247. Excellent DOC!  And, as much of the technical stuff you put out here, this 
  248. would make an excellent tidbit for the SBJ.  pssst.  Sheri Lynn...
  249.  ------------
  250. Category 8,  Topic 28
  251. Message 16        Thu Jul 05, 1990
  252. DIGITAL.DOC                  at 18:19 PDT
  253.  
  254. <Blushing!!>
  255.  ------------
  256. Category 8,  Topic 28
  257. Message 17        Fri Jul 06, 1990
  258. ED.BELL [* sysop *]          at 03:25 EDT
  259.  
  260. No need for that DOC!  I looked at the file on hard copy and it is  even
  261. better than I originally thought.  I think this should be in the next SBJ!
  262.  ------------
  263. Category 8,  Topic 28
  264. Message 18        Sun Jul 08, 1990
  265. DIGITAL.DOC                  at 01:04 PDT
  266.  
  267. Thanks Ed!
  268.   Just doing my thing, as it were!
  269.  ------------
  270.  
  271.