Powerbook 520/520C/540/540C
Total Page:16
File Type:pdf, Size:1020Kb
Developer Note PowerBook 520 and 520c and PowerBook 540 and 540c Computers Developer Note May 1994 Developer Press Apple Computer, Inc. 1994 Apple Computer, Inc. Internet is a trademark of Digital LIMITED WARRANTY ON MEDIA AND 1994 Apple Computer, Inc. Equipment Corporation. REPLACEMENT All rights reserved. ITC Zapf Dingbats is a registered If you discover physical defects in the No part of this publication may be trademark of International Typeface manual or in the media on which a software reproduced, stored in a retrieval Corporation. product is distributed, APDA will replace system, or transmitted, in any form or Motorola is a registered trademark of the media or manual at no charge to you by any means, mechanical, electronic, Motorola Corporation. provided you return the item to be replaced photocopying, recording, or otherwise, NuBus is a trademark of Texas with proof of purchase to APDA. without prior written permission of Instruments. ALL IMPLIED WARRANTIES ON THIS Apple Computer, Inc. Printed in the PowerPC is a trademark of IBM MANUAL, INCLUDING IMPLIED United States of America. Corporation. WARRANTIES OF MERCHANTABILITY The Apple logo is a trademark of AND FITNESS FOR A PARTICULAR Simultaneously published in the United Apple Computer, Inc. PURPOSE, ARE LIMITED IN DURATION States and Canada. Use of the “keyboard” Apple logo TO NINETY (90) DAYS FROM THE DATE (Option-Shift-K) for commercial OF THE ORIGINAL RETAIL PURCHASE purposes without the prior written OF THIS PRODUCT. consent of Apple may constitute trademark infringement and unfair Even though Apple has reviewed this competition in violation of federal and manual, APPLE MAKES NO WARRANTY state laws. OR REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH RESPECT TO THIS No licenses, express or implied, are MANUAL, ITS QUALITY, ACCURACY, granted with respect to any of the MERCHANTABILITY, OR FITNESS FOR A technology described in this book. PARTICULAR PURPOSE. AS A RESULT, Apple retains all intellectual property THIS MANUAL IS SOLD “AS IS,” AND rights associated with the technology YOU, THE PURCHASER, ARE ASSUMING described in this book. This book is THE ENTIRE RISK AS TO ITS QUALITY intended to assist application AND ACCURACY. developers to develop applications only for Apple Macintosh computers. IN NO EVENT WILL APPLE BE LIABLE Every effort has been made to ensure FOR DIRECT, INDIRECT, SPECIAL, that the information in this manual is INCIDENTAL, OR CONSEQUENTIAL accurate. Apple is not responsible for DAMAGES RESULTING FROM ANY printing or clerical errors. DEFECT OR INACCURACY IN THIS MANUAL, even if advised of the possibility Apple Computer, Inc. of such damages. 20525 Mariani Avenue Cupertino, CA 95014 THE WARRANTY AND REMEDIES SET 408-996-1010 FORTH ABOVE ARE EXCLUSIVE AND IN LIEU OF ALL OTHERS, ORAL OR Apple, the Apple logo, APDA, WRITTEN, EXPRESS OR IMPLIED. No AppleLink, AppleTalk, LaserWriter, Apple dealer, agent, or employee is LocalTalk, Macintosh, Macintosh authorized to make any modification, Quadra, and PowerBook are extension, or addition to this warranty. trademarks of Apple Computer, Inc., registered in the United States and Some states do not allow the exclusion or other countries. limitation of implied warranties or liability AppleColor, Apple Desktop Bus, Apple for incidental or consequential damages, so SuperDrive, Balloon Help, Finder, the above limitation or exclusion may not PowerBook Duo, QuickDraw, and apply to you. This warranty gives you System 7.0 are trademarks of Apple specific legal rights, and you may also have Computer, Inc. other rights which vary from state to state. Adobe Illustrator and PostScript are trademarks of Adobe Systems Incorporated, which may be registered in certain jurisdictions. America Online is a service mark of Quantum Computer Services, Inc. Classic is a registered trademark licensed to Apple Computer, Inc. CompuServe is a registered service mark of CompuServe, Inc. FrameMaker is a registered trademark of Frame Technology Corporation. Helvetica and Palatino are registered trademarks of Linotype Company. Contents Figures and Tables vii Preface About This Developer Note ix Contents of This Note ix Supplementary Documents ix Conventions and Abbreviations x Typographical Conventions xi Standard Abbreviations xi Chapter 1 Introduction 1 Features 2 Appearance 3 Configurations 5 Peripheral Devices 5 Compatibility Issues 6 RAM Expansion Cards 6 Number of Colors 6 Video Mirror Mode 6 MacsBug Version 6.2.2 7 Sound Sample Rates 7 Power Manager Control Panels 7 Chapter 2 Architecture 9 Processor/Memory Subsystem 10 Microprocessor 10 RAM 10 ROM 12 Pratt Memory Controller IC 12 Input/Output Subsystem 12 Whitney Peripheral Support IC 13 Power Manager IC 13 Display Controller IC 14 Combo IC 14 Singer IC 14 Keystone Video Controller IC 14 Ariel Video Output IC 14 iii Chapter 3 I/O Features 15 Internal Hard Disk Drive 16 Hard Disk Power Budget 16 Hard Disk Carrier Bracket 17 Hard Disk Mounting Envelope 18 Hard Disk Connector 18 Signals on Connector J1 19 Signals on Connector J2 20 Internal Floppy Disk Drive 21 Trackpad 22 Keyboard 22 Flat Panel Displays 23 Flat Panel Display Circuitry 24 Number of Colors 24 External Video Port 24 Video Mirroring 25 Video Monitors 25 External Video Connector 26 Monitor Sense Codes 26 Serial Port 28 SCSI Port 28 SCSI Disk Mode 28 SCSI Connectors 29 Ethernet Port 30 ADB Port 31 Sound System 31 Chapter 4 Expansion Modules 33 RAM Expansion Card 34 Electrical Design Guidelines for the RAM Expansion Card 34 Connector Pin Assignments 35 Signal Descriptions 36 Address Multiplexing 36 Banks of DRAM 38 DRAM Device Requirements 39 Expansion Card Electrical Limits 39 Mechanical Design Guidelines for the RAM Expansion Card 40 RAM Expansion Connector 40 RAM Expansion Card Design 40 PDS Expansion Card 42 User Installation of the PDS Card 42 Electrical Description of the PDS 43 Signals on the PDS Connector 43 MC68030-Compatible Signals on the PDS Connector 45 iv System Support Signals on the PDS Connector 47 Descriptions of the Power Leads 47 Characteristics of the PDS Signals 48 PDS Power Consumption 49 Power Budget 49 Power Control Circuits 49 Logic Design Guidelines for the PDS Card 52 Addressing Guidelines 52 Accessing Memory From the PDS Card 52 Timing Considerations 52 Mechanical Design Guidelines for the PDS Card 52 PDS Card Shell 53 PDS Card Connector 53 PDS Card Design 54 Modem Expansion Card 56 Signals on the Modem Connector 57 Signal Assignments on the Modem Connector 57 MC68030-Compatible Signals on the Modem Connector 59 System Support Signals on the Modem Connector 60 DAA Signals on the Modem Connector 61 Modem Power 62 Physical Design Guidelines for Modem Card 62 Modem Card Connector 62 Design of the Modem Card 62 DAA Interface Card 64 Signals on the DAA Connector 64 Signal Assignments on the DAA Connector 65 Descriptions of the DAA Signals 65 Physical Design of the DAA Card 66 DAA Connector 66 Design of a Simple DAA Card 66 The Multi-Country DAA Card 68 Chapter 5 Software 71 ROM Software 72 MC68040 and MC68LC040 Microprocessors 72 Memory Controller Software 72 Power Manager Software 73 Display Controller Software 73 Sound Features 73 Ethernet Driver 73 PDS Support Software 74 Support for Function Keys 74 Intelligent Battery Support 74 Trackpad Software 74 v System Software 75 Identifying the PowerBook 520 and 540 Computers 75 New System Enabler 75 Control Strip 75 Selecting SVGA 76 New Control Panels 77 PowerBook Control Panel 77 PowerBook Setup Control Panel 78 PowerBook Display Control Panel 79 Trackpad Control Panel 79 Control Strip Control Panel 80 AutoRemounter Control Panel 80 Adding Control Strip Modules 80 Contents of Module Files 81 Module Interface 81 Module Reentrancy 82 Control Strip Module Reference 82 Control Strip Module Messages 82 Utility Routines 86 Gestalt Selectors 93 Chapter 6 Power Manager Interface 95 About the Power Manager Interface 96 Things That May Change 96 Checking for Routines 97 Power Manager Interface Routines 97 Header File for Power Manager Dispatch 117 Index 125 vi Figures and Tables Chapter 1 Introduction 1 Figure 1-1 Front view of the PowerBook 540 computer 4 Figure 1-2 Back view of the PowerBook 540 computer 4 Table 1-1 Models and configurations 5 Chapter 2 Architecture 9 Figure 2-1 Block diagram of the PowerBook 520 and 540 computers 11 Chapter 3 I/O Features 15 Figure 3-1 Hard disk carrier bracket 17 Figure 3-2 Hard disk drive dimensions 18 Figure 3-3 Pins on the hard disk connector 19 Figure 3-4 PowerBook 520 and 540 keyboard, U.S. layout 22 Figure 3-5 PowerBook 520 and 540 keyboard, ISO layout 23 Figure 3-6 Pin assignments on the video connectors 26 Table 3-1 Hard disk power budget 17 Table 3-2 Signals on connector J1 19 Table 3-3 SCSI ID encoding 19 Table 3-4 Signals on the internal hard disk connector (J2) 20 Table 3-5 Signals on the internal floppy disk connector 21 Table 3-6 Types of flat panel displays 23 Table 3-7 Video monitors and modes 25 Table 3-8 Signals on the video connector 27 Table 3-9 Monitor sense codes 27 Table 3-10 Serial port signals 28 Table 3-11 Internal and external HDI-30 SCSI connector signals 29 Table 3-12 Pin assignments on the Ethernet port 30 Table 3-13 ADB connector pin assignments 31 Chapter 4 Expansion Modules 33 Figure 4-1 Dimensions of the RAM expansion card 40 Figure 4-2 Restricted areas on the top of the RAM expansion card 41 Figure 4-3 Restricted areas on the bottom of the RAM expansion card 41 Figure 4-4 Edge view of the RAM expansion card 42 Figure 4-5 Recommended connection logic on the PDS card 50 Figure 4-6 Recommended