home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol157 / ataribus.lbr / HARDWARE.DQC / HARDWARE.DOC
Encoding:
Text File  |  1985-03-13  |  6.3 KB  |  146 lines

  1. HARDWARE REQUIREMENTS OF THE ATARIBUS INTERFACE
  2. -------- ------------ -- --- -------- ---------
  3.  
  4.  
  5.      ATARI computers communicate with their peripherals through a
  6. 19,200 baud asynchronous serial bus using TTL voltage levels..whew,
  7. what a mouthfull.  The full specifications of this bus, as well as
  8. the format of the communications that take place over it, are spelled
  9. out in the HARDWARE section of ATARI's "TECHNICAL REFERENCE NOTES".
  10. It is available at lots of computer store or from ATARI itself.  I
  11. suspect the ATARI part number is C016555 as it's the only likely
  12. number visible on the front cover.  This is the definitive reference
  13. book on the ATARI hardware and OS software available.
  14.  
  15.      In order for your CP/M system to talk to the ATARI, it must have
  16. a serial port capable of 19,200 baud operation.  If you already have
  17. such a port then it is probably connected to a 25 pin RS-232 connector
  18. and provides and expects RS-232 voltage levels (-9 - +9 volts) on it's
  19. output and input pins.  This is not quite what the ATARI wants to see.
  20. The ATARI really needs TTL voltage levels (0-3 volts or so) on it's bus.
  21. You have two choices as to how to solve this compatibility problem:
  22.  
  23. 1) You can connect to the serial port BETWEEN the serial interface chip
  24. and the RS-232 drivers/receivers.
  25.  
  26. 2) You can convert the RS-232 voltage levels back into TTL voltage levels.
  27.  
  28.      I chose the first method. I added a serial port to my system that was
  29. specificly intended for use with the ATARI and so I just ommitted the
  30. RS-232 interface altogether.  This is probably also the easiest way to
  31. connect to an existing serial port.  However if the distance between your
  32. CP/M system and your ATARI is fairly large, more than 10 feet or so, you
  33. may have to use the second method to avoid having lots of noise problems
  34. on the bus.  If you chose the second method you are on your own, however,
  35. as to exactly how you do the level conversion.
  36.  
  37.      You only really need four lines from the ATARI to the CP/M system:
  38.  
  39. - TRANSMIT DATA FROM THE ATARI
  40. - RECEIVE DATA TO THE ATARI
  41. - THE CMD- LINE
  42. - GROUND
  43.  
  44.      The TRANSMIT DATA line should connect to the RECEIVE DATA pin of your
  45. serial chip. Make sure that any existing RS-232 RECEIVER is disconnected
  46. from the pin if your are using method one.
  47.  
  48.      The TRANSMIT DATA pin of YOUR serial port should connect to the
  49. RECEIVE DATA line on the ATARI through an OPEN-COLLECTOR gate of some
  50. sort.  I used a 7407, which is an open-collector driver and is pretty
  51. cheap.  The input of one of the gates of the 7407 is connected to the
  52. TRANSMIT DATA pin of your serial port. The gate's output line goes to
  53. the RECEIVE DATA line on the ATARIBUS connector.
  54.  
  55.      The CMD- line from the ATARIBUS should connect to an input bit
  56. available on your CP/M system.  You can generally use the DSR or DCD
  57. input of your serial port chip.  Be carefull though as a few serial
  58. chips, like the Signetics 2661, will not receive any characters unless
  59. the DCD line is asserted true.  Just find some TTL input bit on your
  60. CP/M system and connect it to the CMD- line on the ATARIBUS.
  61.  
  62. Here's a cheapo diagram of how your interface should look:
  63. (the numbers in parenthesis are the ATARIBUS pin number for that signal)
  64.  
  65. YOUR CP/M MACHINE                                         ATARI COMPUTER
  66. ---- ---- -------                                         ----- --------
  67.  
  68.                     |\  7407 or whatever
  69. TRANSMIT DATA ------+ +---------------------------------- RECEIVE DATA (3)
  70.                     |/
  71.  
  72. RECEIVE DATA -------------------------------------------- TRANSMIT DATA (5)
  73.  
  74. DSR INPUT ----------------------------------------------- CMD- line (7)
  75.  
  76. GROUND -------------------------------------------------- GROUND (4 or 6)
  77.  
  78.  
  79.  
  80.  
  81.  
  82. GETTING AT THE ATARIBUS
  83. ------- -- --- --------
  84.  
  85.      The ATARIBUS is that funny looking and somewhat oversized black
  86. connector that plugs in the side of your computer and connects to your
  87. ATARI disk drives or cassette recorder or 850 interface.  It has 13 pins
  88. but only four of them concern us.  Here's a diagram of the connector as
  89. seen on the side of your ATARI:
  90.  
  91.  
  92.             GROUNDS (USE EITHER ONE)
  93.             (4) (6)
  94.               | |
  95.           +---+-+-------+
  96.          / 2. . . . . .12\
  97.         /                 \    <--- CONNECTOR
  98.        /  1. . . . . . .13 \
  99.       +------+-+-+----------+
  100.              | | |
  101.              | | \
  102.              | |  (7) THE CMD- LINE TO YOUR CP/M SYSTEM
  103.              |  \
  104.             (3)  (5) DATA TO YOUR CP/M SYSTEM
  105.              |
  106.         DATA FROM YOUR
  107.         CP/M SYSTEM
  108.  
  109.  
  110. You again have choices as to how you attach to the ATARIBUS:
  111.  
  112. 1) You can open a connector on an existing cable and attach to
  113. it's pins.  This could be a cassette, disk drive or whatever. If
  114. something attaches to the ATARIBUS it must have the same pinout as
  115. above.  Look for pin numbers marked on the connectors to insure
  116. you are connecting to the right pins.
  117.  
  118. 2) You can buy an ATARIBUS connector from Atari Program eXchange
  119. (APX) and do the job neatly by connecting to it's pins. Make sure
  120. you buy the correct type of connector, the one that plugs INTO
  121. the socket on the side of the ATARI.
  122.  
  123.      Method one is the cheapest method.  Method two is neater and
  124. there's less of a chance that you will screwup a cable and be left
  125. with no way to connect your cassette to the ATARI.
  126.  
  127.      If you use the second method you may want to buy both a MALE
  128. AND a FEMALE connector and solder them together connecting your lines
  129. to the points where they are joined.  This way you still have an
  130. open connector to plug in a cassette recorder or a Voicebox from
  131. the Alien Group.
  132.  
  133.  
  134.      If you've made it this far, you have done the hardest part.
  135. You should now see PATCHING.DOC for info about how to patch the
  136. utility programs for your hardware setup.
  137.  
  138.      You might want to patch AMON.COM first as it provides a good
  139. simple check on the bus RECEIVE and CMD- lines.
  140.  
  141.      If you run into problems, make sure that you have connected to
  142. the correct bus pins and make sure that your serial ports has a TTL
  143. level interface to the bus.  The OPEN-COLLECTOR driver on the serial
  144. port TRANSMIT DATA line is important as any other devices plugged into
  145. the ATARIBUS also drive that line.
  146.