Pinouts for Apple II Connectors Disclaimer: I haven't verified these, but they did appear to be posted by reliable people. This web page lists a lot of Apple II related pinouts, the following categorized table of contents should make finding things easier than before. * Power connectors + GS Motherboard power connector + Apple //c Power Connector * Serial, Parallel connectors + GS, Macintosh & //c+ serial ports + //c serial port pinouts + Parallel printer DB-25 cable + IIc+ internal modem connector + non-Apple DB9 and DB25 serial ports * Video connectors + GS (and Apple ///) RGB connection + Apple //c Video Expansion port + Laser video connector * System level connectors + 6502/65C02 pinouts + //e expansion slot pinouts * Disk connectors + 5.25" and 3.5" disk cables * 'Human' I/O connectors + Apple //e motherboard keyboard connector + Apple //e numeric keypad connector + 16 pin game port + 9 pin game connector + //e, //c, Laser mouse pinouts _________________________________________________________________ GS Motherboard power connector: 7 -5V 0.25 A 6 -12V 0.25 A 5 +12V 1.0 A 4 +5V 4.0 A 3 No connection 2 GND 1 GND The pins are numbered as above when you are sitting in front of the computer, i.e. 7 is closest to the back of the motherboard. Apple //c External Power Connector From the Apple //c Technical Reference Manual Section 11.2.2 The External Power Connector The external power supply is attached to the internal converter by means of a 7-pin DIN connector. The connector pins are identified in Figure 11-1 and Table 11-3. Figure 11-1 External Power Connector . --+ +-- Pin# Signal . / 7 |_| 1 \ Pin 1 Not Connected . | 6 2 | Pin 2,3 Signal Ground . \ 5 4 3 / Pin 4 Shield Ground . \_______/ Pin 5,6 +15 VDC . Pin 7 Not Connected Table 11-3 External Power Connector Signals Pin# Name Description 1,7 -- Not Connected 2,3 Ground Common Electrical Ground 4 Chassis Chassis Ground 5,6 +15 +15-volt DC input to converter _________________________________________________________________ Mini DIN-8 serial port (GS, IIc+, Macintosh) [And pinouts to connect to a serial DB-25 printer] The IIgs serial port is numbered as follows, looking at the back of the computer: 8 7 6 5 4 3 2 1 The wiring for a serial printer cable (==modem cable) would be as follows: IIgs Printer (DB-25) 1 Hshk Out ----- 6 DSR (or possibly 5 CTS, or 8 DCD) 2 HShk In ----- 20 DTR (or possibly 4 RTS) 3 TxD- ----- 3 RxD 4 Gnd ----- 7 Signal Ground 5 RxD- ----- 2 TxD 6 TxD+ No connection 7 GPI No connection 8 RxD+ Loop to signal ground (pin 4 at IIgs or pin 7 at printer) (Cable shield should be connected to shielding at the IIgs end, and to pin 1 at the printer end.) By comparison, a modem cable will swap pins 1 and 2, and pins 3 and 5 (using the numbering of the IIgs end). //c (5-pin) serial port, null modem cable pinouts 5 1 4 2 3 The functions are: 1 Handshake Out (nominally DTR) 2 Data Out (TxD) 3 Ground 4 Data In (RxD) 5 Handshake In (nominally DSR) To wire up a IIc to a simple modem without hardware handshaking, use the following pinout: IIc Modem DIN-5 DB-25M 1 ----- 20 DTR 2 ----- 2 TxD 3 ----- 7 Gnd 4 ----- 3 RxD 5 ----- 6 DSR (you might want to use pin 8, DCD in some cases) The IIc cannot do hardware handshaking very well, but this is as close as you can get: IIc Modem DIN-5 DB-25M 1 ----- 4 RTS 2 ----- 2 TxD 3 ----- 7 Gnd 4 ----- 3 RxD 5 ----- 5 CTS The IIc's handshaking lines have annoying side effects, which cause problems with hardware handshaking: 1. The "Handshake Out" signal is implemented to mean "I want to send data" (the official and original meaning of RTS). If you turn off the output handshake line, the IIc will stop sending data. For a hardware handshaking modem, RTS is supposed to mean "You are allowed to send me data" (from the computer's point of view). If the computer tells the modem to stop transmitting, the computer will also be unable to transmit. This will reduce the rate at which data can be transferred bidirectionally, but doesn't cause any other problems. 2. The "Handshake In" signal is implemented to mean "There is receive data present" (the official meaning of DCD). If the incoming handshake line is disabled, the IIc will stop receiving data (ignore any data on RxD). For a hardware handshaking modem, CTS is supposed to mean "You are allowed to send me data" (from the modem's point of view). If the modem tells the computer to stop transmitting, the computer will also be unable to receive, and will discard any data sent by the modem while CTS is not active. This can cause screen corruption and loss of data blocks or acknowledgements during a file transfer, which will require retransmission. It is only likely to be a problem while a lot of data is being sent, so is more likely to cause problems during a file upload than a download. If the comms software is quick enough, it can drop RTS immediately when CTS is lowered, which will prevent the modem from sending any more data. You will need the //c System Utilities disk to set up the serial port speeds, or a comm program that overrides them anyway. Max speed is 9600. Parallel Printer DB-25 cable pinouts And also the connections needed to connect that to a 'MPC parallel card' MPC DB25 Function ---- ---- -------------------- 1 17 Ground 2 10 ACK 6 15 Error 8 1 Strobe 9 12 Out of Paper 10 2 Data 0 (LSB) 11 3 Data 1 12 4 Data 2 13 5 Data 3 14 6 Data 4 15 7 Data 5 16 8 Data 6 17 9 Data 7 (MSB) 18 13 Select 20 19-25 Ground Apple IIc+ internal modem connector: __ |1 | |2 | |3 | |4 | |5 | |6 | |7 | |__| Pin Signal Description -------------------------------- 1 -5V -5 Volts 2 RXD Receive Data 3 TXD Transmit Data 4 DCD Data Carrier Detect 5 DTR Data Terminal Ready 6 DSR Data Signal Ready 7 GND Ground Non-Apple DB9 and DB25 Serial ports Pinouts are for looking at the back of the computer, as usual. DB-25 ,----------------------------------------------------. \ 13 12 11 10 09 08 07 06 05 04 03 02 01 / \ 25 24 23 22 21 20 19 18 17 16 15 14 / `------------------------------------------------' DB-9 ,---------------------. \ 5 4 3 2 1 / \ 9 8 7 6 / `-----------------' pin# DB-25 DE-9 ------ ------ ------ shield gnd gnd 1 gnd DCD 2 TD RD 3 RD TD 4 RTS DTR 5 CTS SG 6 DSR DSR 7 SG RTS 8 DCD CTS 9 +dcv RI 10 -dcv (DC test voltage) [DCE->DTE] 11 QM 12 (S)DCD 13 (S)CTS 14 (S)TD, NS, [fault on IW1] 15 TC [DCE->DTE] 16 (S)RD, DCT 17 RC 18 DCR 19 (S)RTS 20 DTR 21 SQ 22 RI 23 data rate selector 24 (TC) [DTE->DCE] 25 busy _________________________________________________________________ IIGS (and Apple ///) RGB Connector: pin # signal 1 ground (for red ?) 2 red 3 composite sync. (in German: Farbmischsynchronisation) 4 not used 5 green 6 ground (for green ?) 7 -5 V 8 +12 V 9 blue 10 not used 11 audio output (not used) 12 monochrome screen off (???) 13 ground (for blue ?) 14 not used 15 not used system ground | | __________|_____________________________ \ 8 7 6 5 4 3 2 1 / \ 15 14 13 12 11 10 9 / ------------------------------------ Apple //c DB-15 Video Expansion Connector [Sorry, no cute diagram showing which pin is which] 1- TEXT Video text signal from TMG; set to inverse of GR, except in double high-resolution mode. 2- 14M 14M master timing signal from the system oscillator. 3- SYNC* Displays horizontal and vertical synchronization signal from IOU pin 39. 4- SEGB Displays vertical counter bit from IOU pin 4; in text mode, indicates second low-order vertical counter; in graphics mode, indicates low-resolution. 5- 1VSOUND One-volt sound signal from pin 5 of the audio hybrid circuit (AUD). 6- LDPS* Video shift-register load enable from pin 12 of TMG. 7- WNDW* Active area display blanking; includes both horizontal and vertical blanking. 8- +12V Regulated +12 volts DC; can drive 300mA. 9- PRAS* RAM row-address strobe from TMG pin 19. 10- GR Graphics mode enable from IOU pin 2. 11- SEROUT* Serialized character generator output from pin 1 of the 74LS166 shift register. 12- NTSC Composite NTSC video signal from VID hybrid chip. 13- GND Ground reference and supply. 14- VIDD7 From 74LS374 video latch; causes half-dot shift high. 15- CREF Color reference signal from TMG pin 3; 3.58 MHz. Note: The signals at the DB-15 on the Apple IIc are not the same as those at the DB-15 end of the Apple III, Apple IIGS, and Macintosh II. Do not attempt to plug a cable intended for one into the other. Several of these signals, such as the 14 MHz, must be buffered within about 4 inches of the back panel connector--preferably inside a container directly connected to the back panel. Laser video connector pinouts First, the Laser 128 video port pinout: Pin Signal === ====== 1 Intensity signal 2 F14M - 14 MHz 3 Red - signal 4 Blue - signal 5 Spkr sound output 6 Load Pulse for LCD 7 Dispen for LCD 8 +12 volts DC 9 Horizontal Sync Signal 10 Composite Video Sync Signal 11 Serial out - Data for LCD 12 Composite Video Output 13 Ground 14 Vertical Sync Signal 15 Green - Signal _________________________________________________________________ 6502/65C02 pinouts > Does anyone know what each of the pins on the 6502 CPU chip in the Apple > II Plus does? They all plug into the socket on the motherboard to keep the chip from drifting away. 1 VP- 40 RES- 2 RDY 39 VDA 3 ABORT- 38 M/X 4 IRQ- 37 (PHI)2(IN) CAN'T REPRODUCE THE PHI SYMBOL HERE 5 ML- 36 DE 6 NMI- 35 E 7 VPA 34 R/W- 8 Vdd 33 D0/BA0 9 A0 32 D1/BA1 10 A1 31 D2/BA2 11 A2 30 D3/BA3 12 A4 29 D4/BA3 .... .... sequences continue 15 A6 26 D7/BA7 16 A7 25 A15 17 A8 24 A14 18 A9 23 A13 19 A10 21 A12 20 A11 20 Vss I used a trailing "-" where the letters have a line over them in the published pinout. I got the info from pg 544 of "Programming the 65816 Including the 6502, 65C02, and 65802" by David Eyes and Ron Lichty, ABrady Book Published by Prentice Hall Press. Apple //e Expansion (not memory) slot pinouts The following is a direct excerpt from pages 172-174 of the Apple //e Reference Manual regarding the pin-out of the expansion slots: Pin 1 - I/O SELECT - Normally high; goes low during phase 0 when the 6502 addresses location $CnXX, where n is the connector number. This line can drive 10 LS TTL loads.* Pin 2-17 - A0-A15 - Three-state address bus. The address becomes valid during phase 1 and remains valid during phase 0. Each address line can drive 5 LS TTL loads.* Pin 18 - R/W' - Three-state read/write line. Valid at the same time as the address bus; high during a read cycle, low during a write cycle. It can drive 2 LS TTL loads.* Pin 19 - SYNC' - Composite horizontal and vertical sync, on expansion slot 7 ONLY. This line can drive 2 LS TTL loads.* Pin 20 - I/O STROBE' - Normally high; goes low during phase 0 when the 6502 addresses a location between $C800 and $CFFF. This line can drive 4 LS TTL loads.* Pin 21 - RDY - Input to the 6502. Pulling this line low during phase 1 halts the 6502 with the address bus holding the address of the location currently being fetched. This line has a 3300 ohm pullup resistor to +5V. Pin 22 - DMA' - Input to the address bus buffers. Pulling this line low during phase 1 disconnects the 6502 from the address bus. This line has a 3300 ohm pullup resistor to +5V. Pin 23 - INT OUT - Interrupt priority daisy-chain output. Usually connected to pin 28 (INT IN). Note: On slot 7 ONLY, this pin can be connected to the graphics-mode signal GR (Not available on revision A boards). Pin 24 - DMA OUT - DMA priority daisy-chain output. Usually connected to pin 22 (DMA IN). Pin 25 - +5V - +5V power supply. A total of 500mA is available for all accessory cards. Pin 26 - GND - System common ground. Pin 27 - DMA IN - DMA priority daisy-chain input. Usually connected to pin 24 (DMA OUT). Pin 28 - INT IN - Interrupt priority daisy-chain input. Usually connected to pin 23 (INT OUT). Pin 29 - NMI' - Non-maskable interrupt to 6502. Pulling this line low starts an interrupt cycle with the interrupt-handling routine at location $03FB. This line has a 3300 ohm pullup resistor to +5V. Pin 30 - IRQ' - Interrupt request to 6502. Pulling this line low starts an interrupt cycle only if the interrupt-disable (I) flag in the 6502 is not set. Uses the interrupt-handling routine at location $03FE. This line has a 3300 ohm pullup resistor to +5V. Pin 31 - RES' - Pulling this line low initiates a reset routine. Pin 32 - INH' - Pulling this line low during phase 1 inhibits (disables) the memory on the main circuit board. This line has a 3300 ohm pullup resistor to +5V. Pin 33 - -12V - -12V power supply. A total of 200mA is available for all accessory cards. Pin 34 - -5V - -5V power supply. A total of 200mA is available for all accessory cards. Pin 35 - 3.58M - 3.58MHz color reference signal, on slot 7 ONLY. This line can drive 2 LS TTL loads.* Pin 36 - 7M - System 7MHz clock. This line can drive 2 LS TTL loads.* Pin 37 - Q3 - System 2MHz asymmetrical clock. This line can drive 2 LS TTL loads.* Pin 38 - PHASE1 - 6502 phase 1 clock. This line can drive 2 LS TTL loads.* Pin 39 - uPSYNC - The 6502 signals an operand fetch by driving this line high during the first read cycle of each instruction. Pin 40 - PHASE0 - 6502 phase 0 clock. This line can drive 2 LS TTL loads.* Pin 41 - DEVICE SELECT' - Normally high; goes low during phase 0 then the 6502 addresses location $C0nX, where n is the connector number plus 8. This line can drive 10 LS TTL loads.* Pin 42-49 - D0-D7 - Three-state buffered bi-directional data bus. Data becomes valid during phase 0 high and remains valid until phase 0 goes low. Each data line can drive one LS TTL load.* Pin 50 - +12V - +12V power supply. A total of 250mA is available for all accessory cards. * Loading limits are for each card. _________________________________________________________________ 3.5" and 5.25" Drive cable pinouts Much of this information comes from page 90 of Open-Apple Volume 1, number 11 (1985). The following table lists all of the drive control signals for each type of controller card/disk port. signal function Unidisk IIc IIgs Disk ][ GND ground reference 1-4 1-4 1-3 1,3,5,7 -12V -12 volts DC 5 5 5 9 +5V +5 volts DC 6,16 6 6 11,12 +12V +12 volts DC 7,8 7,8 7,8 13,15,17,19 WRPROT write protect 10 10 10 20 PH 0-3 stepper motor phases 11-14 11-14 11-14 2,4,6,8 WREQ write request 15 15 15 10 DRVEN drive enable 17 (9) 17 17 (9) 14 RDDATA read data 18 18 18 16 WRDATA write data 19 19 19 18 EXTINT external interrupt - 9 - - 3.5DISK Apple 3.5 drive enable - - 4 - HDSEL 3.5" drive head select - - 16 - not connected - 16 - - The UniDisk uses pin 9 to select the second drive. Inside each UniDisk, the signal from pin 9 at the computer is connected to pin 17 of the daisy- chain drive connector. When the computer selects drive 2 by activating pin 9, the first drive passes this through and the second drive sees its enable signal on pin 17. Thus all drives are identical. The Disk ][ controller has two drive connectors, and the same pin (14) is used on each connector to select the appropriate drive. This signal is the only difference between the connectors - all other signals are connected in parallel. Despite the IIgs having special functions for pins 4 and 16, they may be ignored when dealing with 5.25" drives, and treated as a UniDisk controller (i.e. connect pin 4 to ground, and pin 16 to +5V). The Apple 3.5 drive disconnects these signals internally, so that they will not interfere with its operation. The UniDisk, IIc external drive and equivalents use a DB-19 connector, in which the pins are numbered along the connector, i.e. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 The Disk ][ uses an IDC-20 (20 pin insulation displacement connector) in which the pins are numbered in columns, i.e. 2 4 6 8 10 12 14 16 18 20 1 3 5 7 9 11 13 15 17 19 The above numbering is from the back of the plug (where the ribbon cable connects to the plug). If you are looking at the front of the plug (the socket side), reverse the rows in the above diagram (top row is 1, 3, ...) The pin numbering of the DB-19 connector does NOT correspond to the wire numbers in the cable. Pin 1 of the cable goes to pin 1 of the connector, but pin 2 of the cable goes to pin 11 of the connector. _________________________________________________________________ Apple //e Motherboard keyboard connector From: david@wraith.cs.uow.edu.au (David E A Wilson Apple II Reference Manual For //e only [part # 030-0357-A spiral bound] Understanding the Apple IIe by Jim Sather [Brady/Quality Software ISBN 0-8359-8019-7 ] The latter is more useful as it gives you the matrix of switches as well. J16 (Numeric Pad) J17 (Keyboard) 11 X5 X6 26 25 Y7 10 X6 SHFT* 24 23 Y6 9 X4 Y9 22 21 X4 8 X7 X3 20 19 X5 7 n/c X1 18 17 X7 6 Y5 X2 16 15 RESET* 5 Y2 X0 14 13 GND 4 Y4 Y8 12 11 CNTL* 3 Y3 Y5 10 9 CAPLOCK* 2 Y1 Y4 8 7 SW0/OAPL 1 Y0 Y3 6 5 SW1/CAPL Y2 4 3 +5v Y1 2 1 Y0 Main Keyboard Numeric Keypad X0 X1 X2 X3 | X4 X5 X6 X7 ------------------------------------+-------------------------------- Y0 ESC TAB A Z | / ) * ESC | Y1 1! Q D X | DOWN UP LEFT RIGHT | Y2 2@ W S C | 0 4 8 ( | Y3 3# E H V | 1 5 9 - | Y4 4$ R F B | 2 6 . RETURN | Y5 6^ Y G N | 3 7 + , +---------------------------------- Y6 5% T J M \| `~ RETURN DELETE Y7 7& U K ,< += P UP DOWN Y8 8* I ;: .> 0) [{ SPACE LEFT Y9 9( O L /? -_ ]} '" RIGHT Notes: 1) This is the US layout 2) Early //e keyboard ROMs had ? LEFT ESC RIGHT SPACE replacing the ESC DOWN UP LEFT RIGHT in the numeric keypad section of the above diagram 3) If you want more details such as the influence of the Control and CAPS LOCK keys or the DVORAK layout see pages 7-16 and 7-17 of Jim Sather's Understanding the Apple IIe. 4) Unlike the ][ & ][+, the //e keyboard is completely passive with the decoder chip located on the motherboard. 5) The +5v connection is to run the power light and the Open/Closed Apple switches. 6) The SHIFT, CONTROL, CAPSLOCK and RESET switches simply ground the appropriate pin of the connector (RESET via the CTRL line if the jumpers are in the standard setting). Apple //e Numeric Keypad connector The pins are numbered from 1 to 11, with pin 1 being the closest to the keyboard end of the computer (as far as I can tell). The pin functions are: 1=Y0, 2=Y1, 3=Y3, 4=Y4, 5=Y2, 6=Y5, 7=no connection, 8=X7, 9=X4, 10=X6, 11=X5. The X/Y pins refer to keyboard X/Y matrix signals. Closing a specific X/Y pair is the equivalent of pressing the corresponding key on the keyboard. The matrix is as follows: X7 X6 X5 X4 Y5 , + 7 3 Y4 CR . 6 2 Y3 - 9 5 1 Y2 ( 8 4 0 Y1 (see below) Y0 * ) / The Y1 row and Y0/X7 intersection vary depending on which keyboard ROM you have. The original IIe keyboard ROM (341-0132-B) has SPACE, RIGHT, ESC, LEFT, ?. I get the impression that this ROM is rare. The revised IIe keyboard ROM (341-0132-C) has RIGHT, LEFT, UP, DOWN, ESC. Apple 16-pin DIP socket (on the motherboard): ==================== | | 8 | * * | 9 7 | * * | 10 6 | * === * | 11 5 | * | * | 12 Apple Game Port (9-pin connector): =============================================== \ 5 4 3 2 1 / \ * * * * * / \ * * * * / \ 9 8 7 6 / \===========================/ Pin 1 - Pushbutton 1 Pin 2 - +5V Power Pin 3 - Ground Pin 4 - Game Control 2 Pin 5 - Game Control 0 Pin 6 - Pushbutton 2 Pin 7 - Pushbutton 0 Pin 8 - Game Control 1 Pin 9 - Game Control 3 //e, //c, Laser 128 Mouse pinouts [I'd expect the numbering to be the same as the 9-pin game port connector.] Pin Value 1 Mouse Signature 2 +5v 3 Ground 4 X Dir 5 X Int 6 Blank 7 Mouse Button 8 Y Dir 9 Y Int __________________________________________________________________________