Developer Note Power Macintosh 4400
1/29/97 © Apple Computer, Inc. 1997 Apple Computer, Inc. LIMITED WARRANTY ON MEDIA AND © 1997 Apple Computer, Inc. REPLACEMENT All rights reserved. If you discover physical defects in the No part of this publication may be manual or in the media on which a software reproduced, stored in a retrieval product is distributed, ADC will replace the system, or transmitted, in any form or media or manual at no charge to you by any means, mechanical, electronic, provided you return the item to be replaced photocopying, recording, or otherwise, with proof of purchase to ADC. without prior written permission of ALL IMPLIED WARRANTIES ON THIS Apple Computer, Inc., except to make a MANUAL, INCLUDING IMPLIED backup copy of any documentation WARRANTIES OF MERCHANTABILITY provided on CD-ROM. AND FITNESS FOR A PARTICULAR The Apple logo is a trademark of PURPOSE, ARE LIMITED IN DURATION Apple Computer, Inc. TO NINETY (90) DAYS FROM THE DATE Use of the “keyboard” Apple logo OF THE ORIGINAL RETAIL PURCHASE (Option-Shift-K) for commercial OF THIS PRODUCT. purposes without the prior written consent of Apple may constitute Even though Apple has reviewed this trademark infringement and unfair manual, APPLE MAKES NO WARRANTY competition in violation of federal and OR REPRESENTATION, EITHER EXPRESS state laws. OR IMPLIED, WITH RESPECT TO THIS MANUAL, ITS QUALITY, ACCURACY, No licenses, express or implied, are MERCHANTABILITY, OR FITNESS FOR A granted with respect to any of the PARTICULAR PURPOSE. AS A RESULT, technology described in this book. THIS MANUAL IS SOLD “AS IS,” AND Apple retains all intellectual property YOU, THE PURCHASER, ARE ASSUMING rights associated with the technology THE ENTIRE RISK AS TO ITS QUALITY described in this book. This book is AND ACCURACY. intended to assist application developers to develop applications only IN NO EVENT WILL APPLE BE LIABLE for Apple-labeled or Apple-licensed FOR DIRECT, INDIRECT, SPECIAL, computers. INCIDENTAL, OR CONSEQUENTIAL Every effort has been made to ensure DAMAGES RESULTING FROM ANY that the information in this manual is DEFECT OR INACCURACY IN THIS accurate. Apple is not responsible for MANUAL, even if advised of the possibility printing or clerical errors. of such damages. Apple Computer, Inc. THE WARRANTY AND REMEDIES SET 1 Infinite Loop FORTH ABOVE ARE EXCLUSIVE AND IN Cupertino, CA 95014 LIEU OF ALL OTHERS, ORAL OR 408-996-1010 WRITTEN, EXPRESS OR IMPLIED. No Apple dealer, agent, or employee is Apple, the Apple logo, AppleLink, authorized to make any modification, Apple SuperDrive, GeoPort, extension, or addition to this warranty. LaserWriter, LocalTalk, Mac, Macintosh, Performa, PlainTalk, PowerBook, and Some states do not allow the exclusion or Power Macintosh are trademarks of limitation of implied warranties or liability Apple Computer, Inc., registered in the for incidental or consequential damages, so United States and other countries. the above limitation or exclusion may not Adobe, Acrobat, and PostScript are apply to you. This warranty gives you trademarks of Adobe Systems specific legal rights, and you may also have Incorporated or its subsidiaries and other rights which vary from state to state. may be registered in certain jurisdictions. Helvetica and Palatino are registered trademarks of Linotype-Hell AG and/ or its subsidiaries. ITC Zapf Dingbats is a registered trademark of International Typeface Corporation. PowerPC is a trademark of International Business Machines Corporation, used under license therefrom. Simultaneously published in the United States and Canada.
Contents
Figures and Tables vii
Preface About This Note ix Contents of This Note ix Supplemental Reference Documents x The Apple Developer Catalog x Apple Developer World Web Site xi Conventions and Abbreviations xi Typographical Conventions xi Standard Abbreviations xi
Chapter 1 Introduction 1 Summary of Features 2 Comparison With Apple Logic Board Design LPX-40 3 Compatibility Issues 4 Communications Slot 4 DRAM Expansion 5 DRAM DIMM Dimensions 5 Cache Expansion 5 ATA (IDE) Hard Disk and ATAPI CD-ROM Drive 6 Video Display RAM 6 External Features 7 Front View 7 Back View 8
Chapter 2 Architecture 9 Block Diagram and Main ICs 10 Main Processor 10 PowerPC 603e Microprocessor 10 Memory Subsystem 10 RAM 11 ROM 11 Second-Level Cache (Optional) 11 System RAM 13 Custom ICs 13 PSX IC 13 O’Hare IC 14
iii
AWACS Sound IC 15 CudaLite IC 15 ATI 264VT-A4S2 IC 16 Display RAM DIMM 16
Chapter 3 I/O Features 19 Board Layout 20 Serial I/O Ports 22 Apple Printer and Modem Ports 22 ADB Port 24 Apple ADB Keyboard 24 Disk Drives 25 Floppy Disk Drives 25 GCR Floppy Disk Drive 25 ATA (IDE) Hard Disk 26 Hard Disk Specifications 26 Hard Disk Connectors 28 Pin Assignments 28 ATA (IDE) Signal Descriptions 29 CD-ROM Drive 29 SCSI Bus 30 SCSI Connector 30 SCSI Bus Termination 31 Sound 31 Sound Output 31 Sound Input 32 Sound Input Specifications 33 Digitizing Sound 34 Sound Modes 34 Built-in Video 34 Video Connector 35 Video Display Sense Codes 36 Video Display Resolution 38
Chapter 4 Expansion Features 39 DRAM DIMMs 40 DRAM DIMM Connectors 42 RAM Address Multiplexing 45 RAM Devices 46 RAM Refresh 46 RAM DIMM Dimensions 46 Second-Level Cache DIMM 48
iv
Video RAM 50 Video RAM DIMM Card 53 PCI Expansion Slot 54
Index 57
v
Figures and Tables
Chapter 1 Introduction 1
Figure 1-1 Front view of the computer 7 Figure 1-2 Back view of the computer 8
Table 1-1 Comparison with the Apple Logic Board Design LPX-40 3
Chapter 2 Architecture 9
Figure 2-1 System block diagram 12
Chapter 3 I/O Features 19
Figure 3-1 Power Macintosh 4400 connector layout 20 Figure 3-2 Serial port sockets 23 Figure 3-3 Maximum dimensions of the hard disk 27 Figure 3-4 Mini-phono jack for sound output 32 Figure 3-5 Mini-phono microphone sound-input jack 34 Figure 3-6 Macintosh 15-pin external monitor connector 35
Table 3-1 Connectors on the Power Macintosh 4400 logic board 21 Table 3-2 Serial port signals 23 Table 3-3 ADB connector pin assignments 24 Table 3-4 Reset and NMI key combinations 25 Table 3-5 Pin assignments on the GCR floppy disk connector 25 Table 3-6 Pin assignments on the ATA (IDE) hard disk connector 28 Table 3-7 Signals on the ATA (IDE) hard disk connector 29 Table 3-8 Pin assignments for the SCSI connectors 30 Table 3-9 Signal assignments for the sound output connector 32 Table 3-10 Signal assignments for the sound-nput jack 33 Table 3-11 Pin assignments for the Macintosh 15-pin external monitor connector 35 Table 3-12 Video display sense codes 36 Table 3-13 Maximum pixel depths for resolution setting 38
Chapter 4 Expansion Features 39
Figure 4-1 Dimensions of the RAM DIMM 47 Figure 4-2 Video DIMM card dimensions 54
Table 4-1 DRAM DIMM configurations supported in DIMM slot 1 40 Table 4-2 DRAM DIMM configurations supported in DIMM slots 2 and 341
vii
Table 4-3 Pin assignments on the 3.3 V unbuffered EDO DRAM DIMM connectors 42 Table 4-4 RAM DIMM signals 45 Table 4-5 Address multiplexing modes for various DRAM devices 45 Table 4-6 Address multiplexing in noninterleaved banks 46 Table 4-7 Pin and signal assignments for the L2 cache DIMM connector 48 Table 4-8 Signal descriptions for L2 cache DIMM connector 49 Table 4-9 Pin and signal assignments on the 120-pin video DIMM connector 51 Table 4-10 PCI signals 55
viii
PREFACE
About This Note
This developer note describes the Power Macintosh 4400 computer, which is a new Macintosh model that uses a logic board based on the Apple Logic Board Design LPX-40. This developer note describes the differences and similarities between features of the Power Macintosh 4400 computer and the Apple Logic Board Design LPX-40. The information in the Apple Logic Board Design LPX-40 developer note is repeated in chapters 2 through 4 of this developer note. If you are already familiar with the LPX-40 logic board, Chapter 1 provides you with the information required to understand the design features of the Power Macintosh 4400 computer. This developer note is intended to help hardware and software developers design products that are compatible with the Macintosh products described here. If you are unfamiliar with Macintosh computers or would simply like more technical information, you may wish to read the related technical documents listed in the section “Supplemental Reference Documents.”
Contents of This Note 0
The information is arranged in four chapters and an index. ■ Chapter 1, “Introduction,” gives a summary of the features of the Power Macintosh 4400 computer and discusses issues related to compatibility with other Macintosh computer software and hardware. ■ Chapter 2, “Architecture,” describes the organization of the logic board. This chapter includes a block diagram and descriptions of the main components of the logic board. ■ Chapter 3, “I/O Features,” describes the built-in input/output (I/O) device interfaces and the external I/O ports. It also describes the built-in video support for external video monitors. ■ Chapter 4, “Expansion Features,” describes the expansion slots on the Power Macintosh 4400 computer logic board. This chapter provides descriptions of the supported DRAM, second-level cache, and I/O expansion slots and brief descriptions of the expansion modules for the other slots.
ix
Supplemental Reference Documents 0
For a description of the version of the Mac OS that supports the Power Macintosh 4400 computer, developers should refer to Technote 1050. Developers should have the relevant books of the Inside Macintosh series. You should also have Designing PCI Cards and Drivers for Power Macintosh Computers. These books are available in technical bookstores and through the Apple Developer Catalog. You should also have the ATA Device Software Guide if you plan to develop software utilities or drivers for ATA or ATAPI devices.
The Apple Developer Catalog 0
The Apple Developer Catalog (ADC) is Apple Computer’s worldwide source for hundreds of development tools, technical resources, training products, and information for anyone interested in developing applications on Apple computer platforms. Customers receive the Apple Developer Catalog featuring all current versions of Apple development tools and the most popular third-party development tools. ADC offers convenient payment and shipping options, including site licensing. To order products or to request a complimentary copy of the Apple Developer Catalog, contact Apple Developer Catalog Apple Computer, Inc. P.O. Box 319 Buffalo, NY 14207-0319 Telephone 1-800-282-2732 (United States) 1-800-637-0029 (Canada) 716-871-6555 (International) Fax 716-871-6511 AppleLink ORDER.ADC Internet http://www.devcatalog.apple.com
Apple Developer World Web Site 0
The Apple Developer World Wide Web site is the one-stop source for finding technical and marketing information specifically for developing successful Macintosh-compatible software and hardware products. Developer World is
x
PREFACE
dedicated to providing developers with up-to-date Apple documentation for existing and emerging Macintosh technologies. Developer World can be reached at http://www.devworld.apple.com
Conventions and Abbreviations 0
This developer note uses the following typographical conventions and abbreviations.
Typographical Conventions 0 New terms appear in boldface where they are first defined. Computer-language text—any text that is literally the same as it appears in computer input or output—appears in Courier font. Hexadecimal numbers are preceded by a dollar sign ($). For example, the hexadecimal equivalent of decimal 16 is written as $10.
Note A note like this contains information that is interesting but not essential for an understanding of the text. ◆
IMPORTANT A note like this contains important information that you should read before proceeding. ▲
Standard Abbreviations 0 When unusual abbreviations appear in this book, the corresponding terms are also spelled out. Standard units of measure and other widely used abbreviations are not spelled out. Here are the standard units of measure used in this developer note: A amperes mA milliamperes dB decibels µA microamperes GB gigabytes MB megabytes Hz hertz MHz megahertz in. inches mm millimeters k 1000 ms milliseconds K 1024 µs microseconds KB kilobytes ns nanoseconds kg kilograms Ω ohms
xi
kHz kilohertz sec. seconds kΩ kilohms V volts lb. pounds W watts
Here are other abbreviations that may used in this developer note: $n hexadecimal value n AC alternating current ADB Apple Desktop Bus AV audiovisual AWACS audio waveform amplifier and converter for sound CD-ROM compact disk read-only memory CLUT color lookup table DAC digital to analog converter DAV digital audio video DDC display data channel DESC digital video decoder and scaler DIMM dual inline memory module DMA dynamic memory access DRAM dynamic random-access memory DVA digital video application EDO extended data out DRAM device type EMI electromagnetic interference FPU floating-point unit GCR group code recording GIMO graphic internal monitor out (for PC compatibility cards) IC integrated circuit IDE integrated device electronics IIC inter-integrated circuit (an internal control bus) I/O input/output IR infrared LS TTL low-power Schottky TTL (a standard type of device) MESH Macintosh enhanced SCSI hardware MFM modified frequency modulation MMU memory management unit MOS metal-oxide semiconductor NTSC National Television Standards Committee (the standard system used for broadcast TV in North America and Japan) NMI nonmaskable interrupt
xii
PREFACE
PAL Phase Alternating Line system (the standard for broadcast TV in most of Europe, Africa, South America, and southern Asia) PCI Peripheral Component Interconnect PDS processor-direct slot PLL phase locked loop PWM pulse-width modulation RAM random-access memory RGB a video signal format with separate red, green, and blue components RISC reduced instruction set computing RMS root-mean-square ROM read-only memory SANE Standard Apple Numerics Environment SCSI Small Computer System Interface SCC serial communications controller SECAM the standard system used for broadcast TV in France and the former Soviet countries SGRAM synchronous graphics random access memory SIMM single inline memory module S-video a type of video connector that keeps luminance and chrominance separate; also called a Y/C connector SWIM Super Woz Integrated Machine, a custom IC that controls the floppy disk interface TTL transistor-transistor logic (a standard type of device) VCR video-cassette recorder VLSI very large scale integration VRAM video RAM; used for display buffers Y/C a type of video connector that keeps luminance and chrominance separate; also called an S-video connector YUV a video signal format with separate luminance and chrominance components
xiii
CHAPTER 1
Figure 1-0 Listing 1-0 Table 1-0 Introduction 1
CHAPTER 1
Introduction
The Power Macintosh 4400 computer has a new logic board that incorporates a PowerPC™ 603e microprocessor, a second-level (L2) cache expansion slot, three DRAM expansion slots, one PCI communications slot, two Peripheral Component Interconnect (PCI) card expansion slots, standard Macintosh I/O ports, and support for an internal ATAPI CD-ROM drive. The Power Macintosh 4400 logic board layout follows the LPX form factor.
Summary of Features 1
Here is a summary of the hardware features of the Power Macintosh 4400 computer. Each feature is described more fully later in this note. ■ Microprocessor: PowerPC 603e microprocessor running at 200 MHz. ■ RAM: 0 MB soldered to the main logic board; expandable to 160 MB using 168-pin JEDEC-standard 3.3 volt unbuffered EDO (extended data out) DIMM (dual inline memory module) devices. Three DIMM slots are provided for DRAM expansion. ■ ROM: 4 MB soldered on main logic board; 64-bit ROM data bus width. ■ Cache: 256 KB L2 cache on a 160-pin DIMM card (optional). ■ Macintosh standard 15-pin monitor connector. ■ Video display modes: the Power Macintosh 4400 computer provides support for a wide range of displays depending on the amount of video RAM installed. For a complete description of the display modes and pixel resolutions supported by the Power Macintosh 4400 computer, see “Video Display Resolution” on page 38. ■ 2D built-in graphics acceleration. ■ Sound: 16 bits/channel stereo sound input and output, external rear jack for sound in, rear jack for headphones or amplified stereophonic speakers, and one built-in speaker. ■ Hard disks: one internal 3.5-inch IDE hard disk with 1.2 GB or larger capacity; external SCSI port (DB-25) for additional SCSI devices. PIO, singleword DMA, and multiword DMA data transfers are supported. ■ CD-ROM drive support: internal 8X-speed ATAPI CD-ROM drive. ■ PCI card expansion slots: accepts two 7-inch PCI cards, or one 7-inch and one 12-inch PCI card. ■ PCI communications slot for comm slot II cards. ■ Floppy disk support: one internal 1.4 MB Apple SuperDrive. ■ Processor bus: 64-bit wide, 40 MHz, supporting split address and data tenures. ■ Standard Macintosh I/O ports: two GeoPort serial ports, sound input and output jacks, a SCSI port, and an ADB port. ■ Apple GeoPort: supported on the Macintosh printer and modem serial ports. ■ Power switch: support for soft power from keyboard and power switch.
2 Summary of Features CHAPTER 1
Introduction
■ Voltage switch: allows selection of either 115 for voltages of 100-130 V or 230 for voltages of 200-230 V depending on the voltage that you will be connecting to. The voltage selection must be set manually on the power supply. ■ Energy saving: sleep, startup, and shutdown scheduling can be controlled with an Energy Saver control panel.
Comparison With Apple Logic Board Design LPX-40 1
The main logic board in the Power Macintosh 4400 computer is based on the Apple Logic Board Design LPX-40. Table 1-1 compares the features of the Power Macintosh 4400 computer with the features of Apple Logic Board Design LPX-40.
Table 1-1 Comparison with the Apple Logic Board Design LPX-40
Apple Logic Board Design Power Macintosh 4400 Features LPX-40 computer Processor type PowerPC 603e or 604e PowerPC 603e Processor speed 160 MHz, 180 MHz, and 200 MHz 200 MHz Cache 256 KB L2 cache (optional) 256 KB L2 cache (optional) Amount of RAM 0 MB–96 MB 0 MB–160 MB RAM expansion 3 168-pin 3.3 volt unbuffered 3 168-pin 3.3 volt unbuffered EDO DIMMs EDO DIMMs Memory bus 64 bits, 40 MHz 64 bits, 40 MHz Video RAM 1 MB expandable to 4 MB 1 MB expandable to 4 MB (EDO DRAM, SDRAM, or (EDO DRAM, SDRAM, or SGRAM depending on logic SGRAM depending on logic board configuration) board configuration) Video input None (third-party PCI cards) None (third-party PCI cards) Video output Depending on the amount Depending on the amount of video RAM installed, the of video RAM installed, the built-in video supports up to built-in video supports up to 1280-by-1024 pixel 1280-by-1024 pixel resolution at 16 bits per pixel resolution at 16 bits per pixel Graphics 2D graphics acceleration 2D graphics acceleration acceleration Sound capabilities 8 or 16 bits/channel; stereo 8 or 16 bits/channel; stereo in, stereo record, stereo out in, stereo record, stereo out Remote control None None
continued
Comparison With Apple Logic Board Design LPX-40 3 CHAPTER 1
Introduction
Table 1-1 Comparison with the Apple Logic Board Design LPX-40 (continued)
Apple Logic Board Design Power Macintosh 4400 Features LPX-40 computer Floppy disk drive 1, internal (MFM or GCR) 1, internal (GCR) ADB ports 1 1 PS/2 ports 2, for PS/2 keyboard and None mouse Internal hard disk Supports 1 (IDE/ATA) Supports 1 (IDE/ATA) Internal CD-ROM Supports 1 (ATAPI) Supports 1 (ATAPI) Internal SCSI None None expansion bay External SCSI ports 1 1 Expansion slots 3 or 5 PCI slots for 7-inch or 2 PCI slots for 7-inch or 12-inch PCI cards, 12-inch PCI cards, 1 PCI depending on the riser card communications slot for PCI in the enclosure comm slot II cards DMA I/O 10 DMA channels 10 DMA channels Serial ports 2, LocalTalk and GeoPort 2, LocalTalk and GeoPort supported supported
Compatibility Issues 1
This section describes key issues you should be aware of to ensure that your hardware and software work properly with the logic board in the Power Macintosh 4400 computer. Some of the topics described here are covered in more detail in later parts of this developer note. The gestalt value for the Power Macintosh 4400 computer is 515.
Communications Slot 1 The communications slot in the Power Macintosh 4400 computer is a PCI bus compatible communications slot (comm slot II) and is in general not compatible with communication cards for the Macintosh LC family of computers, the Macintosh Quadra 630 computer, or cards that operate in the communications slot (comm slot I) in Power Macintosh 5200 and 6200 computers. The exception is that cards that do not use the bus, such as serial modem cards, can be designed to work in both comm slot I and comm slot II. For more information about designing serial modem cards that are compatible with both communications slots, see the Power Macintosh 5500 and 6500 Developer Note. The comm slot on the PCI riser card in the Power Macintosh 4400
4 Compatibility Issues CHAPTER 1
Introduction computer is electrically the same as the comm slot in the Power Macintosh 5400, 5500, and 6500 and the Macintosh Performa 6400 computers.
DRAM Expansion 1 The Power Macintosh 4400 computer requires 168-pin 3.3 volt unbuffered EDO (extended data out) JEDEC-standard DRAM DIMM cards, like those required for the Apple Logic Board Design LPX-40, rather than the 168-pin 5 volt fast-page DIMM cards used in the Power Macintosh 5400, 7600, 8500, and 9500 computers and the Macintosh Performa 6400. The connector notches have different offsets to differentiate between device types and to ensure that the correct devices are installed on the logic board. For information about DRAM DIMM configurations supported in the Power Macintosh 4400 computer, see “DRAM DIMMs” on page 40. The Power Macintosh 4400 computer has three DRAM expansion slots. DRAM expansion slot 1 supports single-bank DIMMs (a maximum of 32 MB). DRAM expansion slots 2 and 3 support both single-bank and dual-bank DIMMs (a maximum of 64 MB per slot with dual-bank DIMMs). A total of 160 MB of DRAM is supported. No DRAM is soldered on the main logic board. DRAM DIMM developers should note that the PSX memory controller on the logic board does not provide support for 4 M by 4 bits with 12-by-10 addressing, 1 M by 16 bits with 12-by-8 addressing, or with 11-by-9 addressing DRAM devices. The limit of 16 address-line loads per DIMM slot for the Apple LPX-40 Logic Board Design has been increased on the Power Macintosh 4400 logic board to support 32 address-line loads per DIMM slot. This allows 64 MB DIMMs, consisting of thirty-two 4 M by 4 bit DRAM devices, to be used in the dual-bank DIMM slots on the Power Macintosh 4400 logic board.
DRAM DIMM Dimensions 1 The JEDEC MO-161 specification shows three possible heights for the 8-byte DIMM. For Macintosh computers, it is recommended that developers use only the shortest of the three: 1.100 inches. Taller DIMMs could put excessive pressure on the DIMM sockets due to possible mechanical interference inside the case.
Cache Expansion 1 The Power Macintosh 4400 computer supports an optional 256K second-level DIMM cache card that includes an integrated cache controller. Apple does not support development of third-party cache cards for the Power Macintosh 4400 computer. The 160-pin cache expansion slot is the same as the cache slot found in the Power Macintosh 5400 and Macintosh Performa 6400 computer models.
Compatibility Issues 5 CHAPTER 1
Introduction
ATA (IDE) Hard Disk and ATAPI CD-ROM Drive 1 The interface for the internal hard disk and CD-ROM drive on the Power Macintosh 4400 computer logic board is ATA (IDE) for the hard disk and ATAPI for the CD-ROM, not SCSI. This could cause compatibility problems for disk utility programs. The system software release for computers equipped with the Power Macintosh 4400 computer includes version 3.1 or greater of the ATA Manager and supports PIO, singleword DMA, and multiword DMA data transfers. For more information about the software that controls ATA devices, see the ATA Device Software Guide, which can be found on the Apple Developer World Wide web site.
Video Display RAM 1 In addition to 2D graphics acceleration, the Power Macintosh 4400 computer uses the same video RAM DIMM expansion implementation that is used on the Apple Logic Board Design LPX-40. It supports expansion of up to 4 MB of video RAM through a variety of video RAM devices. The Power Macintosh 4400 computer also supports DDC (display data channel) plug-and-play monitor identification. For additional information about video display resolution and video display sense codes supported by the Power Macintosh 4400 computer, see “Built-in Video” beginning on page 34. For a description of the video RAM DIMM connector, see “Video RAM” on page 50.
6 Compatibility Issues CHAPTER 1
Introduction
External Features 1
The Power Macintosh 4400 computer has a new compact design enclosure simular in size to other Power Macintosh desktop computers. The front bezel is plastic and the case is painted metal. The chassis includes heavy internal bracing, which easily supports 17 and 20-inch monitors.
Front View 1 Figure 1-1 is a front view of a Power Macintosh 4400 computer. The front view shows the location of the openings for the CD-ROM drive and floppy disk, the CD-ROM open and close button, and the power button with incorporated power-on light.
Figure 1-1 Front view of the computer
Monitor CD-ROM drive
CD-ROM drive Internal hard Open/Close button disk drive
Power button A green light Computer indicates that the computer is on.
Power key Floppy disk drive Use this key to turn your computer on and off.
Speaker
Keyboard Mouse
External Features 7 CHAPTER 1
Introduction
Back View 1 The back panel includes the power socket, the built-in I/O ports, and the openings for I/O access to the expansion modules: the 2 access covers for PCI I/O expansion cards, and the optional communications card. Figure 1-2 shows the back view of a Power Macintosh 4400 computer.
Figure 1-2 Back view of the computer
SCSI port Access covers for PCI expansion slots (2)
Power socket Communication card (optional)
Apple Desktop Bus Sound input port (ADB) port Sound output port
Printer port External modem port Monitor port
8 External Features CHAPTER 2
Figure 2-0 Listing 2-0 Table 2-0 Architecture 2 CHAPTER 2
Architecture
This chapter describes the architecture of the Power Macintosh 4400 computer logic board. It describes the major components of the main logic board: the microprocessor, the custom ICs, and the display RAM. If are already familiar with the Apple Design Logic Board LPX-40, the major differences between the Power Macintosh 4400 computer and the Apple Design Logic Board LPX-40 are: ■ the addition of a PCI comm slot on the Power Macintosh 4400 computer 3-slot PCI riser card ■ PS/2 ports are not supported ■ MFM floppy drive is not supported
Block Diagram and Main ICs 2
The main logic board of the Power Macintosh 4400 computer uses the PowerPC 603e microprocessor. The board is designed with many of the custom ICs that are used on the Apple Design Logic Board LPX-40. Figure 2-1 shows the system block diagram. The architecture of the main logic board is based on two buses: the processor bus and the PCI bus. The processor bus connects the microprocessor, ROM, cache, and memory; the PCI bus connects the video expansion slots and the I/O devices.
Main Processor 2 The Power Macintosh 4400 computer has a PowerPC 603e main processor.
PowerPC 603e Microprocessor 2 The PowerPC 603e microprocessor runs at 200 MHz. The principle features of the PowerPC 603e microprocessor include ■ full RISC processing architecture ■ parallel processing units: two integer and one floating-point ■ a branch manager that can usually implement branches by reloading the incoming instruction queue without using any processing time ■ an internal memory management unit (MMU) ■ 32 KB of on-chip cache memory (16 KB for data and 16 KB for instructions) For complete technical details, see the PowerPC 603 RISC Microprocessor User’s Manual.
Memory Subsystem 2 The memory subsystem consists of RAM, ROM, and an optional second-level (L2) cache. The PSX custom IC provides burst mode control to the cache and ROM.
10 Block Diagram and Main ICs CHAPTER 2
Architecture
RAM 2 There are no DRAM devices soldered on the logic board. Three slots are provided for RAM expansion. 168-pin 3.3 volt unbuffered EDO (extended data out) JEDEC-standard DRAM DIMM cards are required. The maximum supported DRAM is three slots containing 32 MB each for a total of 96 MB. For additional information about the supported DRAM devices, see “DRAM DIMMs” on page 40.
ROM 2 The ROM consists of 4 MB of masked ROM soldered to the main logic board.
Second-Level Cache (Optional) 2 The optional second-level (L2) cache consists of 256 KB of high-speed RAM on a 160-pin DIMM card, which is plugged into a 160-pin edge connector on the main logic board. For additional information about the second-level cache, see “Second-Level Cache DIMM” on page 48.
Block Diagram and Main ICs 11 CHAPTER 2
Architecture
Figure 2-1 System block diagram
Address 32 Second-level 603e PowerPC processor cache slot Data 64
4 MB ROM
Bus clock
PSX 3 DRAM DIMM ASIC slots Video DIMM
ATI-264VT Riser card video controller with 2 PCI slots, 1 comm II slot monitor PCI bus
Sound CLK PCI clock Clock 32 MHz generator
O'Hare Internal floppy I/O controller GCR
Cuda Lite SCSI port ATA/IDE HD ATAPI CD ROM SCC AWACs Serial ports ADB port
Sound ports
12 Block Diagram and Main ICs CHAPTER 2
Architecture
System RAM 2 The Power Macintosh 4400 main logic board has no DRAM memory soldered on the main logic board. All RAM expansion is provided by 3.3 volt unbuffered EDO DRAM devices on 8-byte JEDEC-standard DIMMs. Three 168-pin DIMM sockets are used for memory expansion. Available DRAM DIMM sizes are 8, 16, 32, and 64 MB. DIMM socket 1 supports one-bank DRAM modules. DIMM sockets 2 and 3 support both one- and two-bank DRAM modules. The PSX custom IC provides memory control for the system RAM. For additional information about supported DRAM, see “DRAM DIMMs” beginning on page 40.
Custom ICs 2 The architecture of the Power Macintosh 4400 main logic board is designed around five large custom integrated circuits: ■ the PSX memory controller and PCI bridge ■ the O’Hare I/O subsystem and DMA engine ■ the AWACS sound processor ■ the CudaLite ADB controller ■ the ATI 264VT-A4S2 graphics controller The computer also uses several standard ICs that are used in other Macintosh computers. This section describes only the custom ICs.
PSX IC 2 The PSX IC functions as the bridge between the PowerPC 603e microprocessor and the PCI bus. It provides buffering and address translation from one bus to the other. The PSX IC also provides the control and timing signals for system cache, ROM, and RAM. The memory control logic supports byte, word, long word, and burst accesses to the system memory. If an access is not aligned to the appropriate address boundary, PSX generates multiple data transfers on the bus.
Memory Control 2 The PSX IC controls the system RAM and ROM and provides address multiplexing and refresh signals for the DRAM devices. For information about the address multiplexing, see “RAM Address Multiplexing” on page 45.
PCI Bus Bridge 2 The PSX IC acts as a bridge between the processor bus and the PCI expansion bus, converting signals on one bus to the equivalent signals on the other bus. The PCI bridge functions are performed by two converters. One converter accepts requests from the processor bus and presents them to the PCI bus. The other converter accepts requests from the PCI bus and provides access to the RAM and ROM on the processor bus.
Block Diagram and Main ICs 13 CHAPTER 2
Architecture
The PCI bus bridge in the PSX IC runs asynchronously so that the processor bus and the PCI bus can operate at different rates. The processor bus operates at a clock rate of 40 MHz, and the PCI bus operates at 33.33 MHz. The PCI bus bridge generates PCI parity as required by the PCI bus specification, but it does not check parity or respond to the parity error signal.
Big-Endian and Little-Endian Bus Addressing 2 Byte order for addressing on the processor bus is big endian and byte order on the PCI bus is little endian. The bus bridge performs the appropriate byte swapping and address transformations to translate between the two addressing conventions. For more information about the translations between big-endian and little-endian byte order, see Part One, “The PCI Bus,” in Designing PCI Cards and Drivers for Power Macintosh Computers.
Processor Bus to PCI Bus Transactions 2 Transactions from the processor bus to the PCI bus can be either burst or nonburst. Burst transactions are always 32 bytes long and are aligned on cache-line or 8-byte boundaries. In burst transactions, all the bytes are significant. Burst transactions are used by the microprocessor to read and write large memory structures on PCI devices.
Note For the processor to generate PCI burst transactions, the address space must be marked as cacheable. Refer to Macintosh Technote Number 1008, Understanding PCI Bus Performance, for details. ◆ Nonburst transactions can be of arbitrary length from 1 to 8 bytes and can have any alignment. Nonburst transactions are used by the processor to read and write small data structures on PCI bus devices.
PCI Bus to Processor Bus Transactions 2 For transactions from the PCI bus to the processor bus, the bridge responds only to PCI bus memory commands and configuration commands. On the processor bus, the bridge generates a burst transaction or a nonburst transaction depending on the type of command and the address alignment. For Memory Write and Invalidate commands that are aligned with the cache line, the bridge generates a burst-write transaction. Similarly, for Memory Read Line and Memory Read Multiple commands whose alignment is less than three-quarters through a cache line, the bridge generates a burst-read transaction. The maximum burst-read or burst-write transaction allowed by the bridge is 32 bytes—8 PCI beats. Commands other than those mentioned here are limited to two beats if aligned to a processor bus doubleword boundary and to one beat otherwise.
O’Hare IC 2 The O’Hare IC is based on the Grand Central IC present in the Power Macintosh 7500 computer. It is an I/O controller and DMA engine for Power Macintosh computers using
14 Block Diagram and Main ICs CHAPTER 2
Architecture the PCI bus architecture. It provides power-management control functions for energy management features included on Macintosh computers. The O’Hare IC is connected to the PCI bus and uses the 33.33 MHz PCI bus clock. The O’Hare IC includes circuitry equivalent to the IDE, SCC, SCSI, sound, SWIM3, and VIA controller ICs. The functional blocks in the O’Hare IC include the following: ■ support for descriptor-based DMA for I/O devices ■ system-wide interrupt handling ■ a SWIM3 floppy drive controller ■ SCSI controller (MESH based) ■ SCC serial I/O controller ■ IDE hard disk interface controller ■ sound control logic and buffers The O’Hare IC provides bus interfaces for the following I/O devices: ■ CudaLite ADB controller IC (VIA1 and VIA2 registers) ■ AWACS sound input and output IC ■ 8 KB nonvolatile RAM control The SCSI controller in the O’Hare IC is a MESH controller. DMA channels in the O’Hare IC are used to support data transfers. The clock signal to the SCSI controller is 45.1584 MHz. The O’Hare IC also contains the sound control logic and the sound input and output buffers. There are two DMA data buffers—one for sound input and one for sound output—so the computer can record sound input and process sound output simultaneously. The data buffer contains interleaved right and left channel data for support of stereo sound. The SCC circuitry in the O’Hare IC is an 8-bit device. The PCLK signal to the SCC is a 24.5 MHz clock. The SCC circuitry supports GeoPort and LocalTalk protocols.
AWACS Sound IC 2 The audio waveform amplifier and converter (AWACS) is a custom IC that combines a waveform amplifier with a 16-bit digital sound encoder and decoder (codec). It conforms to the IT&T ASCO 2300 Audio-Stereo Codec Specification and furnishes high-quality sound input and output. For information about the operation of the AWACS IC, see Chapter 3 of Developer Note: Power Macintosh Computers, available on the developer CD-ROM and as part of Macintosh Developer Note Number 8.
CudaLite IC 2 The CudaLite IC is a custom version of the Motorola MC68HC05 microcontroller. It provides several system functions, including ■ the ADB interface
Block Diagram and Main ICs 15 CHAPTER 2
Architecture
■ PS2 keyboard and mouse interface ■ management of system resets ■ management of the real-time clock ■ on/off control of the power supply (soft power)
ATI 264VT-A4S2 IC 2 The ATI 264VT-A4S2 IC is a custom IC containing the logic for the video display. It includes the following functions: ■ display memory controller, clock generator, and video DAC (digital-to-analog converter) ■ video CLUT (color lookup table) ■ 2D graphics acceleration ■ true color palette DAC supporting pixel clock rates to 135 MHz for 1280-by-1024 resolution at 75 Hz ■ hardware cursor up to 64x64x2 ■ DCC1 and DDC2B plug-and-play monitor support ■ supports EDO DRAM up to 60 MHz memory clock across a 64-bit memory interface ■ supports SDRAM or SGRAM up to 80 MHz memory clock, providing a bandwidth up to 640 MB per second A separate data bus handles data transfers between the ATI 264VT-A4S2 IC and the display memory. The display memory data bus is 64 bits wide for display memory of 2 MB or greater. For 1 MB of display memory, the data bus is 32 bits wide. The ATI 264VT-A4S2 IC breaks each 64-bit data transfer into several pixels of the appropriate size for the current display mode—4, 8, 16, 24, or 32 bits per pixel. The ATI 264VT-A4S2 IC has an internal phase locked loop (PLL) to generate clocks for the display memory interface and the pixel digital to analog converter (DAC). The 2D graphics accelerator is a fixed-function accelerator for rectangle fill, line draw, polygon fill, panning/scrolling, bit masking, monochrome expansion, and scissoring with full ROP support.
Display RAM DIMM 2 The display memory is separate from the main memory. The Power Macintosh 4400 computer supports +5 V EDO DRAM, +3.3 V SDRAM and +3.3 V SGRAM devices for video memory expansion. The video memory DIMM can be configured as 1 MB, 2 MB, or 4 MB. The maxinmum supported size for an EDO video DIMM is 2 MB. EDO video DIMMs larger than 2 MB provide no additional performance due to the limited bandwidth of the EDO devices.
16 Block Diagram and Main ICs CHAPTER 2
Architecture
With a 4 MB SGRAM DIMM, the display data generated by the computer can have pixel depths of 4, 8, 16, 24, or 32 bits for monitors up to 1024-by-768 pixels and 4, 8, or 16 bits for larger monitors up to 1280-by-1024 pixels. For additional information about video on the Power Macintosh 4400 main logic board, see “Built-in Video” on page 34 and “Video RAM” on page 50.
Block Diagram and Main ICs 17
CHAPTER 3
Figure 3-0 Listing 3-0 Table 3-0 I/O Features 3 CHAPTER 3
I/O Features
This chapter describes both the built-in I/O devices and the interfaces for external I/O devices. It also describes the types of external video monitors that can be used with the Power Macintosh 4400 computer.
Board Layout 3
The Power Macintosh 4400 logic board is built to the industry standard LPX 13-by-9 inch form factor. The layout of the connectors on the board is shown in Figure 3-1.
Figure 3-1 Power Macintosh 4400 connector layout
29 30 31 32 12,13,14 33 34
28 27 26
23 22
24 25 21 20 19 17
18 11 17
16 9 15 10
1 2 3 4 5 6 7 8
20 Board Layout CHAPTER 3
I/O Features
Table 3-1 lists the locations and types of connectors on the Power Macintosh 4400 logic board. Refer to the connector numbers in Figure 3-1 to determine the location of each connector on the logic board.
Table 3-1 Connectors on the Power Macintosh 4400 logic board
Location Description Connector type 1 PS/2 mouse port 6-pin mini-DIN (not on Power Macintosh 4400 logic board) 2 PS/2 keyboard port 6-pin mini-DIN (not on Power Macintosh 4400 logic board) 3 Apple ADB port 4-pin mini-DIN 4 Apple printer serial port 9-pin mini-DIN 5 Apple modem serial port 9-pin mini-DIN 6 Sound in Mini-phono jack 7 Sound out Mini-phono jack 8 Monitor out 15-pin Macintosh 9 Power supply 12-pin header 10 Power supply 12-pin header 11 SCSI 50-pin header 12 DRAM DIMM slot 3 168-pin connector 13 DRAM DIMM slot 2 168-pin connector 14 DRAM DIMM slot 1 168-pin connector 15 PCI riser connector 192-pin connector 16 GIMO 22-pin connector 17 Video DIMM 120-pin connector 18 Power supply soft power 3-pin header 19 MFM floppy disk drive 34-pin header (not on Power Macintosh 4400 logic board) 20 Apple GCR floppy disk drive 20-pin header 21 CD-audio 4-pin header 22 ATAPI CD-ROM 40-pin header 23 ATA (IDE) hard disk 40-pin header 24 ROM connector 160-pin connector 25 L2 cache connector 160-pin connector
continued
Board Layout 21 CHAPTER 3
I/O Features
Table 3-1 Connectors on the Power Macintosh 4400 logic board (continued)
Location Description Connector type 26 Feature options jumper (6) 3-pin headers 27 Battery connector 4-pin header 28 CPU frequency multiplier (4) 3-pin headers (jumper) 29 Fan 3-pin header 30 Power LED 3-pin header 31 Reset switch 2-pin header 32 Soft power switch 2-pin header 33 NMI switch 2-pin header 34 Speaker 4-pin header
Serial I/O Ports 3
The Power Macintosh 4400 computer has two standard Macintosh serial ports: two 9-pin mini-DIN serial ports for a printer and a modem.
Apple Printer and Modem Ports 3 The printer and modem serial ports have 9-pin mini-DIN sockets that accept either 8-pin or 9-pin plugs. Both ports support LocalTalk and GeoPort serial protocols. Figure 3-2 shows the mechanical arrangement of the pins on the serial port sockets; Table 3-2 shows the signal assignments.
22 Serial I/O Ports CHAPTER 3
I/O Features
Figure 3-2 Serial port sockets
8 7 6 8 7 6
5 9 4 3 5 9 4 3
2 1 2 1
Printer Modem
Table 3-2 Serial port signals
Pin Signal name Signal description 1 HSKo Handshake output 2 HSKi Handshake input (external clock on modem port) 3 TxD– Transmit data – 4 GND Ground 5 RxD– Receive data – 6 TxD+ Transmit data + 7 GPi General-purpose input (wakeup CPU or perform DMA handshake) 8 RxD+ Receive data + 9 +5 V +5 volts to external device (100 mA maximum)
Note Pin 9 on each serial connector provides +5 V power for external devices. The total current available for all devices connected to the +5 V pins on the serial ports and ADB ports is 500 mA. Each external device should draw no more than 100 mA. Excessive current drain will cause a fuse to interrupt the +5 V supply; the fuse automatically resets when the load returns to normal. ◆ Both serial ports include the GPi (general-purpose input) signal on pin 7. The GPi signal for each port connects to the corresponding data carrier detect input on the SCC portion of the O’Hare custom IC, described in Chapter 2. On both serial ports, the GPi line can be connected to the receive/transmit clock (RTxCA) signal on the SCC. That connection supports devices that provide separate transmit and receive data clocks, such as
Serial I/O Ports 23 CHAPTER 3
I/O Features
synchronous modems. For more information about the serial ports, see Guide to the Macintosh Family Hardware, second edition.
ADB Port 3
The Apple Desktop Bus (ADB) port on the Power Macintosh 4400 computer is functionally the same as on other Macintosh computers. The ADB is a single-master, multiple-slave serial communications bus that uses an asynchronous protocol and connects keyboards, graphics tablets, mouse devices, and other devices to the computer. The custom ADB microcontroller drives the bus and reads status from the selected external device. A 4-pin mini-DIN connector connects the ADB to the external devices. Table 3-3 lists the ADB connector pin assignments. For more information about the ADB, see Guide to the Macintosh Family Hardware, second edition.
Table 3-3 ADB connector pin assignments
Pin Signal name Description 1 ADB Bidirectional data bus used for input and output. It is an open-collector signal pulled up to +5 volts through a 470-ohm resistor on the main logic board. 2 PSW Power-on/off signal. 3 +5 V +5 volts to external device. 4 GND Ground.
Note The total current available for all devices connected to the +5 V pins on the ADB, Macintosh serial ports is a maximum of 500 mA. Each device should use no more than 100 mA. ◆
Apple ADB Keyboard 3
The Apple ADB keyboard has a Power key, identified by the symbol p. Pressing the Power key button will turn on the computer. When the user chooses Shut Down from the Special menu, the computer either shuts down or a dialog box appears asking if you really want to shut down. The user can also turn off the power by pressing the Power key. Enclosures may or may not include a programmer’s switch to reset the computer. If an enclosure does not have a programmer’s switch, the user invokes the reset and nonmaskable interrupt (NMI) functions by pressing Command key combinations while
24 ADB Port CHAPTER 3
I/O Features
holding down the Power key, as shown in Table 3-4. The Command key is identified by the symbols and x.
Note The user must hold down a key combination for at least 1 second to allow the ADB microcontroller enough time to respond to the NMI or hard-reset signal. u
Table 3-4 Reset and NMI key combinations
Key combination Function Command-Power (x-p) NMI (always active) Control-Command-Power (Control-x-p) Reset
Disk Drives 3
The Power Macintosh 4400 computer has a connector for one GCR (group code recording) internal high-density floppy disk drive, one internal ATA (IDE) hard disk drive, an internal ATAPI CD-ROM drive, and external SCSI devices.
Floppy Disk Drives 3 The Power Macintosh 4400 has connectors for either a GCR or MFM floppy disk drive. The GCR connector is for an internal high-density floppy disk drive (Apple SuperDrive). The MFM connector is for an internal high-density MFM floppy disk drive.
GCR Floppy Disk Drive 3 The GCR drive is connected with a 20-pin cable that is connected to the main logic board. Table 3-5 shows the pin assignments on the GCR floppy disk connector.
Table 3-5 Pin assignments on the GCR floppy disk connector
Pin Signal name Description 1 GND Ground 2 PH0 Phase 0: state control line 3 GND Ground 4 PH1 Phase 1: state control line
continued
Disk Drives 25 CHAPTER 3
I/O Features
Table 3-5 Pin assignments on the GCR floppy disk connector (continued)
Pin Signal name Description 5 GND Ground 6 PH2 Phase 2: state control line 7 GND Ground 8 PH3 Phase 3: register write strobe 9 +5 V +5 volts 10 /WRREQ Write data request 11 +5 V +5 volts 12 SEL Head select 13 +12 V +12 volts 14 /ENBL Drive enable 15 +12 V +12 volts 16 RD Read data 17 +12 V +12 volts 18 WR Write data 19 +12 V +12 volts 20 n.c. Not connected
ATA (IDE) Hard Disk 3 The Power Macintosh 4400 computer has an internal hard disk that complies with the standard ATA-3 interface. This interface, used for ATA drives on IBM AT–compatible computers, is also referred to as the IDE interface. The hard drives used on the Power Macintosh 4400 computer must have software drivers and hardware termination that comply with revision 3.1 of the ATA-3 interface specification.
Hard Disk Specifications 3 Figure 3-3 shows the maximum dimensions of the hard disk and the location of the mounting holes. As the figure shows, the minimum clearance between conductive components and the bottom of the mounting envelope is 0.5 mm.
26 Disk Drives CHAPTER 3
I/O Features
Figure 3-3 Maximum dimensions of the hard disk
IDE connector Power 25.4 (1.00) A A Mounting hole 6-32, .22" 6.40 (.252)2x 3 min. full thread, 4X B 146.0 (5.75) 101.6 (4.00) 2x 60.00 (2.36) 2x 60.30 (2.37) 44.40 (1.75)
16.00 (.63) 2x 3.20 (.125) 2x 95.25 (3.75) Mounting hole 6-32, through 6x 101.6 (4.00) 7