john@uwmacc.UUCP (John Jacobsen) (02/04/87)
IBM to Apple microcomputer file transfer procedure Hello world. The following is a procedure I have written describ- ing how to make an IBM PC and an Apple Macintosh talk to each other. To the best of my knowledge this is correct and complete, but neither I nor the organization I belong to will be held responsible for any software or hardware damage resulting from following this procedure. This information may be freely distributed. Have fun! Required resources: 1. PC AT, XT, PC, Portable, Convertible with: serial port communications software package (e.g. Kermit) 2. Apple Macintosh 512, MacPlus, etc. with: serial port for printer or modem communications software package (e.g. Kermit) 3. Cabling (described below) 4. A file you want transfered Procedure (I will assume you are using the Kermit packages for this-- there should be similar ways of doing the necessary things on other packages): 1. Set up your computers within cabling distance. 2. Cable them together according to the procedure outlined below. 3. Start up your communications programs on both your computers. 4. Set your communications parameters as follows: baud 9600 parity none 5. On the Macintosh, under the "File Defaults" menu, choose "Text" if you are going to transfer a text/ASCII file, else choose "Binary" (you would do this if you were going to transfer a MacPaint image). 6. Set your connection ports: for IBM Kermit, if your cable is plugged into the first serial port, type "set port com1" at the prompt, or type "set port com2" if you want to use the 2nd serial port. For the Macintosh, under the "Settings" menu choose "Communications." Then click the mouse on the connection port that you've plugged into. This will be either a modem port or a printer port. 7. Set up the computer that will be recieving the file(s) as a "server." This consists of choosing "Be a Server" from the Macintosh Kermit "Remote" menu, or typing "server" at the IBM Kermit prompt. 8. At the computer that will be sending files, send the file(s) by choosing "Send File" from the "File" menu on the Macintosh or type "send" from the IBM Kermit prompt. You will then be prompted for the file name. After you type it and hit <return>, the file transfer will commence. Sit back and watch and think of this line: "FORM IS THE DREAMING OF SUBSTANCE." 9. When the file transfer is complete: From the sending machine, type "quit" (if IBM Kermit) or choose "Quit" from the "File" menu (if Macintosh Kermit). From the server, if IBM Kermit type <control>-C to break out of server mode, or if Macintosh is server type <command>-. (Cloverleaf key and period at same time) and hit <return>. Then quit out of the Kermit program. You should now have a copy of your file on the target machine. If not, something is terribly, terribly wrong. ** Cabling information ** This is the hardest part. For some reason, the companies manufacturing these computers didnUt intend for them to be used together. (!!!) You might give this part of this document to a facility that makes cabling and see if they can make you one based on these charts. I am assuming you have a serial port on your computer. On the Macintosh, a serial port is something for talking to a printer or modem. If it is a 512k Macintosh (old kind) it will have FEMALE, NINE-PIN sockets on the back, and if it is a Macintosh Plus, it will have ROUND, FEMALE, EIGHT-PIN sockets on the back. These serial ports will have pictures of a telephone reciever or a printer on the back. Macintosh Plus (round) sockets are a problem-- you need a cable that will plug into them. On the AT, your serial port is likely to be a nine-pin socket, and on the XT or PC (or Convertible or Portable) it will be a 25-pin socket. The trick is to hook the IBM and the Macintosh sockets together with the right kind of cable; hopefully, the cabling charts should be help- ful in finding the proper cable (take them to someone who makes or sells cables). Cabling Diagrams (care of Joe Rodkiewicz, MACC Maintenance Facility): You can use 4-conductor telephone wire or 5-conductor shielded cable. IBM AT/XT 286 to Macintosh Plus (Null Modem) IBM DB-25S Macintosh Plus Mini-Circ 8/Male ---------- ------------------------------- 2 Rx -----------------------------------3 Tx 3 Tx -----------------------------------5 Rx- 1 DCD --------] ] 4 DTR --------]-------------------------2 HSKi ] 6 DSR --------] 7 RTS --------] ] 8 CTS --------] [-------4 Frame Gnd. [ 5 Sig.Gnd. ---------------------[ [ [-------8 Rx+ IBM AT/XT 286 to Macintosh (Null Modem) IBM DB-9S Macintosh DB-9P --------- --------------- n/c - - - - ----------------1 Frame Gnd.(shield) 2 Rx -----------------------------------5 Tx- 3 Tx -----------------------------------9 Rx- 1 DCD ------] ] 4 DTR ------]---------------------------7 Handshake ] 6 DSR ------] 7 RTS ------] ] 8 CTS ------] [-------3 Sig.Gnd. [ 5 Sig. Gnd. --------------------[ [ [-------8 Rx+ IBM PC/XT/Portable/Convertible to Macintosh Plus (Null Modem) IBM DB-25S Macintosh Plus Mini-Circ 8/Male ---------- ------------------------------- 1 Chassis Gnd. (shield)---------- - - - n/c 2 Tx -----------------------------------5 Rx- 3 Rx -----------------------------------3 Tx 4 RTS ------] ] 5 CTS ------] 6 DSR ------] ] 8 DCD ------]---------------------------2 HSKI ] 20 DTR------] [-------4 Frame Gnd. [ 7 Sig.Gnd.----------------------[ [ [-------8 Rx+ IBM PC/XT/Portable/Convertible to Macintosh (Null Modem) IBM DB-25S Macintosh DB-9P ---------- --------------- 1 Chassis Gnd. (shield)---------- - - - n/c 2 Tx -----------------------------------9 Rx- 3 Rx -----------------------------------5 Tx- 4 RTS -------] ] 5 CTS -------] 6 DSR -------] ] 8 DCD -------]--------------------------7 Handshake ] 20 DTR ------] [-------3 Sig. Gnd. [ 7 Sig. Gnd. --------------------[ [ [-------8 Rx+ John E. Jacobsen University of Wisconsin -- Madison Academic Computing Center Faculty Support Center 1210 West Dayton Street rm. B106 Madison, Wisconsin 53706 U.S.A. (608) 262-5667 UUCP: {seismo | ucbvax | allegra | ihnp4 | harvard ... }!uwvax!uwmacc!john ARPA: john@unix.macc.wisc.edu