Developer Note Macintosh PowerBook 160 and Macintosh PowerBook 180
Developer Note
Developer Technical Publications © Apple Computer, Inc. 2000
Apple Computer, Inc. LIMITED WARRANTY ON MEDIA AND © 2000, 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 system, product is distributed, APDA will replace or transmitted, in any form or by any the media or manual at no charge to you means, mechanical, electronic, provided you return the item to be replaced photocopying, recording, or otherwise, with proof of purchase to APDA. without prior written permission of ALL IMPLIED WARRANTIES ON THIS Apple Computer, Inc. Printed in the MANUAL, INCLUDING IMPLIED United States of America. WARRANTIES OF MERCHANTABILITY The Apple logo is a registered AND FITNESS FOR A PARTICULAR trademark of Apple Computer, Inc. PURPOSE, ARE LIMITED IN DURATION 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 FOR DIRECT, INDIRECT, SPECIAL, Apple Computer, Inc. INCIDENTAL, OR CONSEQUENTIAL 20525 Mariani Avenue DAMAGES RESULTING FROM ANY Cupertino, CA 95014 DEFECT OR INACCURACY IN THIS 408-996-1010 MANUAL, even if advised of the possibility Apple, the Apple logo, AppleLink, of such damages. AppleTalk, APDA, LaserWriter, and THE WARRANTY AND REMEDIES SET Macintosh are trademarks of Apple FORTH ABOVE ARE EXCLUSIVE AND IN Computer, Inc., registered in the United LIEU OF ALL OTHERS, ORAL OR States and other countries. WRITTEN, EXPRESS OR IMPLIED. No Apple Desktop Bus, Apple SuperDrive, Apple dealer, agent, or employee is Macintosh Quadra, and PowerBook are authorized to make any modification, trademarks of Apple Computer, Inc. extension, or addition to this warranty. Adobe Illustrator and PostScript are Some states do not allow the exclusion or trademarks of Adobe Systems limitation of implied warranties or liability Incorporated, which may be registered for incidental or consequential damages, so in certain jurisdictions. the above limitation or exclusion may not FrameMaker is a registered trademark apply to you. This warranty gives you of Frame Technology Corporation. specific legal rights, and you may also have Helvetica and Palatino are registered other rights which vary from state to state. trademarks of Linotype Company. ITC Zapf Dingbats is a registered trademark of International Typeface Corporation. NuBus is a trademark of Texas Instruments. Varityper is a registered trademark of Varityper, Inc. Simultaneously published in the United States and Canada.
Contents
Figures and Tables v
Preface About This Developer Note vii Supplementary Documents vii Conventions and Abbreviations viii Typographical Conventions viii Standard Abbreviations viii
Chapter 1 Hardware 1 Introduction 2 Features 2 Compatibility Issues 6 LCD Changes 6 Video Output 6 RAM Expansion Slot 7 New Modem Interface 7 SCSI Disk Mode 7 Soft Shutdown Control 7 Internal Microphone 8 Hardware Overview 9 Main Processor 9 Memory Mapping 9 Custom Integrated Circuits 11 CPU GLU 11 Miscellaneous GLU 11 GSC (Gray Scale Controller) 12 Video Controller 12 VIA Functions 12 ROM 12 ROM Overlay 12 ROM Wait States 12 RAM 13 RAM Wait States 13 Battery Backup 13 Floppy Disk Interface 14 Serial and SCSI Interfaces 15 Serial Communication Controller (SCC) 15 SCSI Controller 15 SCSI Disk Mode 17
iii
Internal Hard Disk 17 Hard Disk Design Guidelines 17 Power Budget 17 Dimensions and Mounting Requirements 18 Sound System 19 Power Manager 19 Power States 20 Internal Display Interface 21 LCD Screen 21 External Video Interface 21 Monitors Supported 22 External Video Connector and Adapter Cable 22 Monitor Sense Codes 24 RAM Expansion Interface 25 RAM Expansion Electrical Interface 25 /FASTRAM 25 /ROM.CS.EXP 26 RAM Chip Selects 26 Designing Compatible RAM Expansion Cards 31 Designing Fast RAM Expansion Cards 31 Modem Expansion Interface 33 Modem Electrical Interface 33 Modem Power Control 36 Modem Card Power Budget 36 Security Connector 37
Chapter 2 Software 39 ROM Software 40 Gray Scale and External Video Support 40 Mouse Driver Changes 40 Serial Driver Changes 40 SPI Modem Support 40 SCSI Disk Mode 41 System Software 41 Identifying the PowerBook 160/180 41 Sound Input Changes 41 New Control Panels 41
iv
Figures and Tables
Chapter 1 Hardware 1
Figure 1-1 Block diagram of the PowerBook 160/180 computers 4 Figure 1-2 Front view of the PowerBook 160/180 5 Figure 1-3 Back view of the PowerBook 160/180 5 Figure 1-4 32-bit memory and detailed I/O map 10 Figure 1-5 32-bit and 24-bit memory map comparison 11 Figure 1-6 Hard disk drive dimensions 18 Figure 1-7 Video connector pinout 23 Figure 1-8 RAM expansion connector pinout 30 Figure 1-9 RAM expansion card design guide 32
Table 1-1 Internal floppy disk connector signals 14 Table 1-2 Serial port signals 15 Table 1-3 Internal and external HDI-30 SCSI connector signals 16 Table 1-4 Hard disk power budget 17 Table 1-5 Power states 20 Table 1-6 Video output modes 22 Table 1-7 Video connector signals 23 Table 1-8 Recognized monitor sense codes 24 Table 1-9 RAM expansion connector signals 27 Table 1-10 Modem connector signals 34
Chapter 2 Software 39
Figure 2-1 PowerBook control panel 42 Figure 2-2 PowerBook control panel options 42 Figure 2-3 PowerBook Display control panel 43 Figure 2-4 AutoRemounter control panel 43
v
PREFACE
About This Developer Note
This document describes the Macintosh PowerBook 160 and Macintosh PowerBook 180 computers, emphasizing those features that are new or different from previous Macintosh PowerBook computers. It is written primarily for experienced Macintosh hardware and software developers who want to create products that are compatible with these new computers. If you are unfamiliar with the Macintosh or would simply like more technical information on the hardware, you may want to read the related technical manuals listed in the following section.
Supplementary Documents 0
To supplement the information in this document, you might wish to obtain related documentation such as Guide to the Macintosh Family Hardware, second edition, Designing Cards and Drivers for the Macintosh Family, third edition, and Inside Macintosh. The Macintosh PowerBook 100, 140, 145, and 170 developer notes provide information about these similar models that may also be of interest to you. For detailed information about the Motorola 68030 microprocessor used in the PowerBook 160 and PowerBook 180 computers, refer to the MC68030 Enhanced 32-Bit Microprocessor User’s Manual. All of these documents are available through APDA. APDA is Apple’s worldwide source for over 300 development tools, technical resources, training products, and information for anyone interested in developing applications on Apple platforms. To place an order or request a complimentary copy of the APDA Tools Catalog, contact APDA Apple Computer, Inc. P.O. Box 319 Buffalo, NY 14207-0319 U.S.: 800-282-2732 Canada: 800-637-0029 International: 716-871-6555 FAX: 716-871-6511 AppleLink: APDA America Online: APDA CompuServe: 76666,2405 Internet: [email protected]
vii
PREFACE
Conventions and Abbreviations 0
This developer note uses abbreviations and typographical conventions that are standard in Apple publications.
Typographical Conventions 0 This note uses the following typographical conventions. 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.
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. Standard units of measure used in Apple reference books include: A amperes MB megabytes GB gigabytes MHz megahertz Hz hertz ms milliseconds K 1024 ns nanoseconds KB kilobytes V volts mA milliamperes W watts
Standard abbreviations used in Apple reference books include: $n hexadecimal value n AC alternating current ADB Apple Desktop Bus CLUT color look-up table DAC digital-to-analog converter IC integrated circuit ASIC application-specific integrated circuit MMU memory-management unit RAM random-access memory ROM read-only memory RGB red-green-blue (a video display system used by Apple computers)
viii
PREFACE
SCSI small computer system interface SVGA super VGA (a video display system used with PC-type computers) VGA video graphics adapter (a video display system used with PC-type computers) VRAM video RAM
ix
CHAPTER 1
Figure 1-0 Listing 1-0 Table 1-0 Hardware 1
CHAPTER 1
Hardware
This chapter describes the major features of the Macintosh PowerBook 160 and PowerBook 180 computers, emphasizing the similarities and differences between these and other Macintosh PowerBook computers. To ensure that your hardware and software is compatible with other members of the PowerBook family, you should read the developer notes for the PowerBook 100, 140, 145, and 170. See the Preface for information about ordering these documents.
Introduction 1
The PowerBook 160 and PowerBook 180 computers are the newest additions to the Macintosh PowerBook family of notebook computers. They offer improved performance, enhanced displays, video output, greater memory expansion capability, and other refinements.
Features 1
The major features of the PowerBook 160 and PowerBook 180 computers are: Microprocessor: Motorola 68030 running at 33 MHz (PowerBook 180) or 25 MHz (PowerBook 160). Both computers also offer a 16 MHz power saving mode. Coprocessor: the PowerBook 180 includes a Motorola 68882 FPU running at 33 MHz. Read-only memory (ROM): 1 MB. Random-access memory (RAM): 4 MB of pseudostatic RAM (PSRAM) soldered to the main logic board. RAM expansion: a RAM expansion slot accommodates RAM expansion cards of up to 10 MB, for a total of 14 MB RAM. Liquid Crystal Display (LCD): 4-bit video capability for 16 shades of gray on the built-in 640 x 400 pixel LCD. The PowerBook 180 uses a transreflective active matrix LCD, while the PowerBook 160 uses a transmissive mode FSTN LCD. Both displays are backlit by a cold cathode fluorescent lamp (CCFL). Video output: 8-bit video output circuitry supports 256 colors on all Apple monitors up to 16-inches in size, and 16 shades of gray on the Apple Portrait monitor. VGA and some SVGA modes are supported with appropriate adapter cables. There are two video output modes: dual mode and mirror mode. In dual mode the LCD and external monitor are independent. In video mirror mode, the image on the external monitor is identical to what is displayed on the LCD, but in color. Floppy disk: one internal 1.4 MB Apple SuperDrive with Super Woz Integrated Machine (SWIM) interface. Hard disk: one internal 2.5-inch SCSI (Small Computer System Interface) hard disk drive. Disk capacities of 40, 80, and 120 MB are offered.
2 Introduction
CHAPTER 1
Hardware