Developer Press© Apple Computer, Inc. 2000 Developer Note PowerBook 150
CHAPTER 1 PowerBook 150 System Overview 1Figure 1-0Listing 1-0Table 1-0
CHAPTER 1 PowerBook 150 System Overview 1-2 Features The PowerBook 150 computer retains the physical appearance of the PowerBook 145B computer except
CHAPTER 1 PowerBook 150 System OverviewCompatibility Issues 1-3 Battery: a rechargeable NiCad battery is included. A 2.4 volt battery provides back
CHAPTER 1 PowerBook 150 System Overview 1-4 Compatibility Issues Modem Slot 1 The PowerBook 150 modem slot accepts the any serial modem compatible wi
CHAPTER 1 PowerBook 150 System OverviewPowerBook 150 System Architecture 1-5 PowerBook 150 System Architecture 1 The PowerBook 150 computer is design
CHAPTER 1 PowerBook 150 System Overview 1-6 PowerBook 150 System Architecture Internal Hardware 1 The PowerBook 150 internal hardware is made up of a
CHAPTER 1 PowerBook 150 System OverviewPowerBook 150 System Architecture 1-7 Figure 1-3 Component view (bottom) of the PowerBook 150 logic board DRA
CHAPTER 1 PowerBook 150 System Overview 1-8 PowerBook 150 System Architecture Figure 1-4 PowerBook 150 memory adapter kit connector pinoutDATA01DATA0
CHAPTER 1 PowerBook 150 System OverviewPowerBook 150 System Architecture 1-9 In the following table, the 80-pin connector (to the main logic board) i
Apple Computer, Inc.© 1994 Apple Computer, Inc.All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
CHAPTER 1 PowerBook 150 System Overview 1-10 PowerBook 150 System Architecture 29 29 /FCASD[2] Filtered column address strobe for DDATA[23-16]31 31
CHAPTER 1 PowerBook 150 System OverviewPowerBook 150 System Architecture 1-11 System Interconnect 1 A connector on the top of the main logic board co
CHAPTER 2 IDE Hard Drive Interface 2Figure 2-0Listing 2-0Table 2-0
CHAPTER 2 IDE Hard Drive Interface 2-2 This chapter provides information about the IDE hard drive hardware interface to the PowerBook 150 computer. T
CHAPTER 2 IDE Hard Drive Interface 2-3 Table 2-1 provides the signal names and descriptions on the PowerBook 150 IDE connector. Table 2-1 IDE connec
CHAPTER 2 IDE Hard Drive Interface 2-4 16 IDEDATA14 Data bit 14. IDEDATA00–15 signals are used to transfer 16-bit data to and from the drive buffer.1
CHAPTER 2 IDE Hard Drive Interface 2-5 36 IDE_DA02 This signal is used to specify which IDE drive register is being accessed by the PowerBook 150 com
CHAPTER 3 Software for the ATA/IDE Hard Disk 3Figure 3-0Listing 3-0Table 3-0
iiiContents Figures and Tables v Preface About This Developer Note viiContents of This Note viiSupplementary Documents viiConventions and Abbreviatio
CHAPTER 3 Software for the ATA/IDE Hard Disk 3-2 Introduction to IDE SoftwareThis chapter describes the IDE system software for controlling IDE hard
CHAPTER 3Software for the ATA/IDE Hard DiskIntroduction to IDE Software 3-3Figure 3-1 Relationship of the ATA Manager to the Macintosh system architec
CHAPTER 3Software for the ATA/IDE Hard Disk3-4 IDE Hard Disk Device Driver ReferenceATA Manager 3The Macintosh ATA Manager schedules I/O requests from
CHAPTER 3Software for the ATA/IDE Hard DiskIDE Hard Disk Device Driver Reference 3-5 device information uploading drive queue management and event p
CHAPTER 3Software for the ATA/IDE Hard Disk3-6 IDE Hard Disk Device Driver ReferenceStatus 3The status routine returns status information about the ID
CHAPTER 3Software for the ATA/IDE Hard DiskIDE Hard Disk Device Driver Reference 3-7RESULT CODESIDE Hard Disk Device Driver Control Calls 3The IDE har
CHAPTER 3Software for the ATA/IDE Hard Disk3-8 IDE Hard Disk Device Driver ReferenceThe Verify Function 3The verify function requests a read verificati
CHAPTER 3Software for the ATA/IDE Hard DiskIDE Hard Disk Device Driver Reference 3-9The Eject Media Function 3The eject media function prepares and in
CHAPTER 3Software for the ATA/IDE Hard Disk3-10 IDE Hard Disk Device Driver ReferenceThe Return Media Icon Function 3The return media icon function re
CHAPTER 3Software for the ATA/IDE Hard DiskIDE Hard Disk Device Driver Reference 3-11RESULT CODESThe Need Time Code Function 3The need time code funct
iv Standard Control Calls 3-7IDE Hard Disk Device Driver Status Call 3-11ATA Manager Reference 3-14The ATA Parameter Block 3-14Functions 3-18ATA I/O
CHAPTER 3Software for the ATA/IDE Hard Disk3-12 IDE Hard Disk Device Driver ReferenceOUTPUT PARAMETERSRESULT CODESThe Return Driver Gestalt Function 3
CHAPTER 3Software for the ATA/IDE Hard DiskIDE Hard Disk Device Driver Reference 3-13OUTPUT PARAMETERSRESULT CODESThe Power-Mode Status Function 3This
CHAPTER 3Software for the ATA/IDE Hard Disk3-14 ATA Manager ReferenceRESULT CODESATA Manager Reference 3This section defines the data structures and fu
CHAPTER 3Software for the ATA/IDE Hard DiskATA Manager Reference 3-15uchar hdrReserved; /* reserved */Ptr hdrReserved2; /* reserved */ProcPtr ataCompl
CHAPTER 3Software for the ATA/IDE Hard Disk3-16 ATA Manager Referencein “Functions” beginning on page 3-18. An invalid code in this field results in an
CHAPTER 3Software for the ATA/IDE Hard DiskATA Manager Reference 3-17The format of the scatter gather list is a series of the following structure defin
CHAPTER 3Software for the ATA/IDE Hard Disk3-18 ATA Manager ReferencedeviceID A short word that uniquely identifies an IDE device. The field consists of
CHAPTER 3Software for the ATA/IDE Hard DiskATA Manager Reference 3-19ATA I/O Execution 3You can use the ATA_ExecIO function to execute all data I/O tr
CHAPTER 3Software for the ATA/IDE Hard Disk3-20 ATA Manager Referenceulong ataActualTxCnt; /* ← actual number of bytes transferred */ulong ataReserved
CHAPTER 3Software for the ATA/IDE Hard DiskATA Manager Reference 3-21bytes still to be transferred). When the SGType bits of the ataFlags field are set
v Figures and Tables Chapter 1 PowerBook 150 System Overview 1-1 Figure 1-1 PowerBook 150 block diagram 1-5 Figure 1-2 Component view (top) of the Po
CHAPTER 3Software for the ATA/IDE Hard Disk3-22 ATA Manager ReferenceATA Manager Inquiry 3You can use the ATA_MgrInquiry function to get information a
CHAPTER 3Software for the ATA/IDE Hard DiskATA Manager Reference 3-23RESULT CODESATA Manager Initialization 3You must call the ATA_MgrInit function pr
CHAPTER 3Software for the ATA/IDE Hard Disk3-24 ATA Manager Referencechar ataContrlFamily[16];/* ← family of ATA Controller */char ataContrlType[16];
CHAPTER 3Software for the ATA/IDE Hard DiskATA Manager Reference 3-25RESULT CODESATA I/O Queue Release 3You can use the ATA_QRelease function to relea
CHAPTER 3Software for the ATA/IDE Hard Disk3-26 ATA Manager ReferenceIt is up to the application that called the ATA_Abort function to clean up the ab
CHAPTER 3Software for the ATA/IDE Hard DiskATA Manager Reference 3-27Field descriptionsataPBHdr See the ataPBHdr parameter block definition on page 3-1
CHAPTER 3Software for the ATA/IDE Hard Disk3-28 ATA Manager ReferenceThe parameter block associated with this function is defined as follows:typedef st
CHAPTER 3Software for the ATA/IDE Hard DiskATA Manager Reference 3-29RESULT CODESATA Manager Shutdown 3You can use the ATA_MgrShutDown function to shu
CHAPTER 3Software for the ATA/IDE Hard Disk3-30 ATA Manager ReferenceRESULT CODESDriver Reference Number Deregistration 3You can use the ATA_DrvrDereg
CHAPTER 3Software for the ATA/IDE Hard DiskError Code Summary 3-31Field descriptionsataPBHdr See the ataPBHdr parameter block definition on page 3-14.d
CHAPTER 3Software for the ATA/IDE Hard Disk3-32 Error Code Summary-1785 AT_CorDataErr Data Corrected bit set in error register; was corrected (good d
IN-1IndexAadapter card for DRAM expansion 1-7ATA_Abort function 3-25ATA_BusInquiry function 3-23 to 3-25ATA_DrvrDeregister function 3-30ATA_DrvrRegis
INDEXIN-2Nneed time code function 3-11Oopen routine 3-4P, QPowerBook 150features 1-2 to 1-3internal hardware 1-6 to 1-11system architecture 1-5 t
vii PREFACE About This Developer Note This document describes the Macintosh JeDI computer, emphasizing those features that are new or different from
viii PREFACE To order products or to request a complimentary copy of the APDA Tools Catalog , contact APDA Apple Computer, Inc. P.O. Box 319Buffalo
ix PREFACE Standard abbreviations used in this developer note include:$ n hexadecimal value n AC alternating currentADB Apple Desktop BusASC Appl
Comments to this Manuals