From: tdiaz-a(in_a_circle)-apple2-dotsero-org (Tony Diaz)
Newsgroups: comp.sys.apple2,comp.answers,news.answers
Approved: [email protected]
Followup-To: comp.sys.apple2
Subject: Apple II Pinouts (FAQ)
Newsgroups: comp.sys.apple2,comp.answers,news.answers
Approved: [email protected]
Followup-To: comp.sys.apple2
Subject: Apple II Pinouts (FAQ)
Archive-name: apple2/cdrom
Posting-Frequency: monthly
Last-modified: August 21 2007
Version: 1.0
http://wiki.apple2.org/index.php?title=Pinouts
Posting-Frequency: monthly
Last-modified: August 21 2007
Version: 1.0
http://wiki.apple2.org/index.php?title=Pinouts
Disclaimer: These haven't been verified these, but they did appear to be posted by reliable people.
For a complete rundown on custom keyboard layouts, see Volume I, Chapter 7, of Apple's Final Cut Pro 4 User's Manual. Click the Lock button to unlock the current keyboard layout diagram. To assign the command to a key, select the command in the list and do one of the following. Testing conducted by Apple in September 2015 using preproduction Magic Keyboard devices, firmware and software with shipping iMac systems. Testing consisted of full battery discharge while engaging the device on a paired iMac using automated equipment. Battery life depends on device settings, usage and other factors.
Apple II+ / IIe / Stealth IIgs Power Connector
- = Denotes IIgs ROM 00/01 with installed connector as in Stealth IIgs or Service Stock IIgs Motherboards (so they could be used in either Stealth or standard IIgs cases) This also applies for the 26 pin keyboard connector.
GS Motherboard Power Connector
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 Game Port (9-pin Connector)
- Note: These functions are not available on the //c or IIc+.
Apple 16-Pin DIP Socket (Internal)
All Apple II / Compatibles with slots have this connector internally.
Game Port Information (with BASIC Peek/Poke locations) obtained from pages 430-433 of the Apple // User's Guide, Second Edition by Lon Poole:
-16296 Annunciator 0 Off
Turns off game control output (annunciator) number 0. The voltage on pin 15 of the game control is set to approximately 0 volts (TTL low).
-16295 Annunciator 0 On
Turns on game control output (annunciator) number 0. The voltage on pin 15 of the game control is set to approximately +5 volts (TTL high).
The following annunciator soft switches follow the same rules as annunciator 0 for their respective pin assignments:
-16294 Annunciator 1 Off -16293 Annunciator 1 On
-16292 Annunciator 2 Off -16291 Annunciator 2 On
-16290 Annunciator 3 Off -16289 Annunciator 3 On
-16287 Read Pushbutton 0
When the pushbutton on game control number 0 or the open-apple key is being pressed, the value in this location exceeds 127. When it is not being pressed, the value is 127 or less.
The following pushbutton soft switches follow the same rules as pushbutton 0 for their respective pin assignments:
-16286 Read Pushbutton 1
-16285 Read Pushbutton 2
-16272 Stobe Output
Normally pin 5 of the game control connector is +5 volts. If you PEEK memory location -16285, it drops to 0 volts for one-half microsecond. POKE will trigger the strobe twice.
The following is a direct exerpt from page 167 of the Apple //e Reference Manual:
'The hand-control inputs are connected to the timing inputs of an NE558 quadruple 555-type analog timer. Addressing $C07x sends a signal from the 74LS154 that resets all four timers and causes their outputs to go one (high). A variable resistance of up to 150K ohms connected between one of these inputs and the +5V supply controls the charging time of one of four 0.022-microfarad capacitors. When the voltage on the capacitor passes a certain threshhold, the output of the NE558 changes back to zero (low).
Programs can determine the setting of a variable resistor by resetting the timers and then counting time until the selected timer input changes from high to low. The resulting count is proportional to the resistance.”
Basically, the above excerpt is a long description of the BASIC PDL() function.
Apple //e Expansion (Peripheral) slot
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/0 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.*
Macbook Keyboard Layout
Pin 2-17 – AO-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 – 1/0 STROBE' – Normally high; goes low during phase 0 when the 6502 addresses a location between Sc800 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 500' is available for all accessory cards.
Pin 26 – GND – System common ground.
Pin 27 – DNA 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.
Apple keyboard a1242 wired mini aluminum. 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 – PHASEO – 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.
Apple IIc Plus Internal Modem Connector
![Apple Keyboard Layout Diagram Apple Keyboard Layout Diagram](https://www.howtogeek.com/thumbcache/2/200/1fdbd5a16008a430260d4066831323ff/wp-content/uploads/2014/05/dvorak-keyboard-layout.jpg)
Mini DIN-8 Serial Port (GS, IIc Plus, 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:
(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
The IIc cannot do hardware handshaking very well, but this is as close as you can get:
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).
![Diagram Diagram](https://kids.kiddle.co/images/f/f0/Romanian-keyboard-layout.png)
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). tf 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).
Windows Mac Keyboard Layout
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.
Non-Apple DE9 and DB25 Serial Ports
Pinouts are for looking at the back of the computer, as usual.
IIGS (and Apple ///) RGB Connector
6502/65C02 Pinouts
Apple Imac Keyboard Layout Diagram
> 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.
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.
//e, //c, Laser 128 Mouse pinouts
[Numbering is the same as the 9-pin game port connector.]
3.5 in. and 5.25 in. 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.
Unidisk | IIgs | |||
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.
The Disk ][ uses an IDC-20 (20 pin insulation displacement connector) in which the pins are numbered in columns, i.e.
The above numbering is from the back of the plug (where the ribbon cable connects to the plug).
(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 DuoDisk 5.25 Cable Pinout
Apple //c DA-15 Video Expansion Connector
Note. The signals at the DA-15 on the Apple IIc are not the same as those at the DA-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.
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.
Apple //e Motherboard keyboard connector
From [email protected] (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.
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=YO, 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.
The Yl row and YO/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 II/II+ Keyboard Socket
This socket is located near the front of the motherboard.
Name | ||
1 | +5 | +5 volt power supply. Total current drain on this pin |
must be less than 120mA. | ||
2 | STROBE | Strobe output from keyboard. This line should be given a |
pulse at least 10 microsecond long each time a key is | ||
pressed on the keyboard. The strobe can be of either | ||
polarity. | ||
_____ | _____ | |
3 | RESET | Microprocessor's RESET line. Normally high, this line |
should be pulled low when the <RESET> key is pressed. | ||
4,9,16 | NC | No connection. |
5-7,10-13 | Data | Seven bit ASCII keyboard data input. |
8 Gnd | System electrical ground. | |
15 | -12v | -12 volt power supply. Keyboard should draw |
less than 50mA. |
Parallel Printer DB-25 cable pinouts
.. also the connections needed to connect that to a 'MPC parallel card’
IIgs Apple Desktop Bus - ADB
Note: There is no connection on any IIgs to the 'reserved' pin.
(C) Copyright 1998-2007 Tony Diaz
Retrieved from 'http://wiki.apple2.org/index.php?title=Pinouts&oldid=381'