ð Developer Press Apple Computer, Inc. 1995 ð Developer Note Macintosh PowerBook 5300 Computer Macintosh PowerBook 5300/100Macintosh PowerBook 530
x Table 4-1 Signal assignments on the expansion bay connector 34 Table 4-2 Control signals on the expansion bay connector 36 Table 4-3 Floppy disk si
CHAPTER 7 Power Manager Interface 7Figure 7-0Listing 7-0Table 7-0 Thi d t t d ith F M k 4 0 4
CHAPTER 7 Power Manager Interface 86 About the Power Manager Interface This chapter describes the new application programming interface (API) to the
CHAPTER 7 Power Manager InterfaceAbout the Power Manager Interface 87 Checking for Routines 7 Before calling any of the Power Manager interface routi
CHAPTER 7 Power Manager Interface 88 About the Power Manager Interface Table 7-1 Interface routines and their selector values Routine name Selector v
CHAPTER 7 Power Manager InterfaceAbout the Power Manager Interface 89 Assembly-language note All the routines share a single trap, _PowerMgrDispatch
CHAPTER 7 Power Manager Interface 90 About the Power Manager Interface Field descriptions ASSEMBLY-LANGUAGE INFORMATION The trap is _PowerMgrDispatc
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 91ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector v
CHAPTER 7Power Manager Interface92 About the Power Manager InterfaceASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector v
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 93ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector v
xi PREFACE About This Developer Note This developer note describes the Macintosh PowerBook 5300 computer, emphasizing the features that are new or d
CHAPTER 7Power Manager Interface94 About the Power Manager InterfaceSetSpindownDisable 7You can use the SetSpindownDisable routine to disable hard dis
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 95When power to the internal hard disk is about to be turned off, the software calls
CHAPTER 7Power Manager Interface96 About the Power Manager InterfaceDESCRIPTIONThe GetScaledBatteryInfo routine provides a generic means of returning
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 97Field descriptionsThe value of warningLevel is the battery level at which the first
CHAPTER 7Power Manager Interface98 About the Power Manager InterfaceIMPORTANTCalling AutoSleepControl with enableSleep set to false multiple times inc
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 99ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector v
CHAPTER 7Power Manager Interface100 About the Power Manager InterfaceNoteIn some PowerBook computers, there is a hardware switch to connect either por
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 101ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector
CHAPTER 7Power Manager Interface102 About the Power Manager InterfaceASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 103ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector
xii PREFACE Supplemental Reference Documents 0 The following documents provide information that complements or extends the information in this devel
CHAPTER 7Power Manager Interface104 About the Power Manager InterfaceASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 105ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector
CHAPTER 7Power Manager Interface106 About the Power Manager InterfaceGetBatteryTimes 7You can use the GetBatteryTimes routine to find out about how muc
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 107Header File for Power Manager Dispatch 7Here is a sample header file for access t
CHAPTER 7Power Manager Interface108 About the Power Manager Interface/* bits in bitfield returned by GetIntModemInfo and set by SetIntModemState */#de
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 109typedef pascal void (*HDSpindownProc)(HDQueueElement *theElement);struct HDQueueE
CHAPTER 7Power Manager Interface110 About the Power Manager Interface#pragma parameter __D0 PMSelectorCount(__D0)short PMSelectorCount()= {0x7000, 0xA
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 111#pragma parameter __D0 SpinDownHardDiskvoid SpinDownHardDisk()= {0x7007, 0xA09E};
CHAPTER 7Power Manager Interface112 About the Power Manager Interface#pragma parameter __D0 GetIntModemInfo(__D0)unsigned long GetIntModemInfo()= {0x7
CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 113#pragma parameter __D0 SetSCSIDiskModeAddress(__D0)void SetSCSIDiskModeAddress(sh
xiii PREFACE To order products or to request a complimentary copy of the APDA Tools Catalog , contact APDA Apple Computer, Inc. P.O. Box 319Buffalo
CHAPTER 7Power Manager Interface114 About the Power Manager Interface#pragma parameter __D0 GetBatteryTimes(__D0,__A0)void GetBatteryTimes(BatteryTime
CHAPTER 8 Software for ATA Devices 8Figure 8-0Listing 8-0Table 8-0 Thi d t t d ith F M k 4 0 4
CHAPTER 8 Software for ATA Devices 116 Introduction to the ATA Software This chapter describes the system software that controls ATA devices in the M
CHAPTER 8 Software for ATA DevicesIntroduction to the ATA Software 117 At the system level, the ATA disk driver and the ATA Manager work in the same
CHAPTER 8 Software for ATA Devices 118 Introduction to the ATA Software the caller until completion. The driver queues asynchronous calls and returns
CHAPTER 8 Software for ATA DevicesIntroduction to the ATA Software 119 The driver maintains independent spindown timers for each PC card drive, allow
CHAPTER 8 Software for ATA Devices 120 ATA Disk Driver Reference ATA Disk Driver Reference 8 This section describes the routines provided by the ATA
CHAPTER 8 Software for ATA DevicesATA Disk Driver Reference 121 RESULT CODES The Status Routine 8 The status routine returns status information about
CHAPTER 8 Software for ATA Devices 122 ATA Disk Driver Reference RESULT CODES Control Functions 8 The control routine in the ATA disk driver supports
CHAPTER 8 Software for ATA DevicesATA Disk Driver Reference 123 RESULT CODES format 8 Because ATA hard drives are low-level formatted at the factory,
xiv PREFACE Hexadecimal numbers are preceded by a dollar sign ($). For example, the hexadecimal equivalent of decimal 16 is written as $10. ]Note A
CHAPTER 8Software for ATA Devices124 ATA Disk Driver Referenceget drive icon 8The get drive icon function returns a pointer to the device icon and the
CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 125get drive information 8The get drive information function returns information about the
CHAPTER 8Software for ATA Devices126 ATA Disk Driver ReferenceRESULT CODESset partition mounting 8The set partition mounting function enables the spec
CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 127RESULT CODESclear partition mounting 8The clear partition mounting function prevents the
CHAPTER 8Software for ATA Devices128 ATA Disk Driver ReferenceRESULT CODESregister partition 8The register partition function supports PC Exchange. I
CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 129Parameter blockRESULT CODESmount volume 8The mount volume function instructs the driver
CHAPTER 8Software for ATA Devices130 ATA Disk Driver Reference Idle: The state with moderate power savings. The device can return to the active state
CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 131RESULT CODESdriver gestalt 8The driver gestalt function provides the application with in
CHAPTER 8Software for ATA Devices132 ATA Disk Driver ReferenceRESULT CODESget boot partition 8The get boot partition function returns 1 if the specifi
CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 133get partition mount status 8The get partition mount status function returns 1 if the spe
xv PREFACE Other abbreviations used in this note include $ n hexadecimal value n AC alternating currentADB Apple Desktop BusAPI application progr
CHAPTER 8Software for ATA Devices134 ATA Disk Driver Referenceget partition information 8The get partition information function supports PC Exchange.
CHAPTER 8Software for ATA DevicesATA Manager Reference 135RESULT CODESATA Manager Reference 8This section defines the data structures and functions tha
CHAPTER 8Software for ATA Devices136 ATA Manager ReferenceThe ATA parameter block header structure is defined as follows:struct ataPBHdr // ATA Manager
CHAPTER 8Software for ATA DevicesATA Manager Reference 137when the request has finished without error, or when the request has terminated due to an err
CHAPTER 8Software for ATA Devices138 ATA Manager ReferenceataPtr1 This pointer field is available for application use. It is not modified by the ATA Man
CHAPTER 8Software for ATA DevicesATA Manager Reference 139ProtocolType 4–5 These two bits specify the type of command. The following command types are
CHAPTER 8Software for ATA Devices140 ATA Manager ReferenceQLockOnError 10 When set to 0, this bit indicates that an error during the transaction shoul
CHAPTER 8Software for ATA DevicesATA Manager Reference 141Functions 8This section describes the ATA Manager functions that are used to manage and perf
CHAPTER 8Software for ATA Devices142 ATA Manager ReferenceIt is up to the application that called the ATA_Abort function to clean up the aborted reque
CHAPTER 8Software for ATA DevicesATA Manager Reference 143UInt16 ataIOpbSize; // ← Size of ATA I/O PB UInt16 ataMaxIOpbSize; // ← TBD; zero for now UI
xvi PREFACE NiCad nickel cadmiumNiMH nickel metal hydridePCMCIA Personal Computer Memory Card International AssociationPDS processor-direct slotPROM
CHAPTER 8Software for ATA Devices144 ATA Manager ReferenceataHBAPrivSize This field contains the byte size of the HBA’s private data area. This field is
CHAPTER 8Software for ATA DevicesATA Manager Reference 145NoteTo insure proper operation, all PCMCIA/ATA and Notify-all device drivers must register u
CHAPTER 8Software for ATA Devices146 ATA Manager ReferenceReserved[21] This field is reserved. To ensure future compatibility, all reserved fields shoul
CHAPTER 8Software for ATA DevicesATA Manager Reference 147RESULT CODESATA_DrvrDeregister 8You can use the ATA_DrvrDeRegister function to deregister t
CHAPTER 8Software for ATA Devices148 ATA Manager ReferenceUInt32 ataEventMask; // → Masks of various events // for event handlerSInt16 Reserved[14]; /
CHAPTER 8Software for ATA DevicesATA Manager Reference 149The data structure of the function is as follows:struct ataEject // configuration parameter
CHAPTER 8 Software for ATA Devices 150 ATA Manager Reference devicePB RegBlock; // → Device register images UInt8* packetCDBPtr; // ATAPI packet co
CHAPTER 8Software for ATA DevicesATA Manager Reference 151RegBlock This field contains the ATA device register image structure. Values contained in thi
CHAPTER 8Software for ATA Devices152 ATA Manager ReferenceATA_FindRefNum 8You can use the ATA_FindRefNum function to determine whether a driver has be
CHAPTER 8Software for ATA DevicesATA Manager Reference 153// Version 2(ataPBVers = 2)structataDrvrRegister // Parameter block structure// for ataPBVer
CHAPTER 1 Introduction 1Figure 1-0Listing 1-0Table 1-0 Thi d t t d ith F M k 4 0 4
CHAPTER 8Software for ATA Devices154 ATA Manager ReferenceThe data structure for the function is as follows:struct ataGetDevConfiguration// Parameter
CHAPTER 8Software for ATA DevicesATA Manager Reference 1550: The function waits for the assertion of DRQ bit in the status register before sending the
CHAPTER 8Software for ATA Devices156 ATA Manager ReferencepcCopy This field indicates the current Card Socket/Copy register setting of the PCMCIA devic
CHAPTER 8Software for ATA DevicesATA Manager Reference 157SInt8 *ataLocationIconPtr;// → Pointer to icon data buffer SInt8 *ataLocationStringPtr;// →
CHAPTER 8 Software for ATA Devices 158 ATA Manager Reference SInt8 ataErrorReg; // ← Last ATA error image; // valid if error bit setSInt16 ataReser
CHAPTER 8Software for ATA DevicesATA Manager Reference 159ATA_MgrInquiry 8You can use the ATA_MgrInquiry function to get information, such as the vers
CHAPTER 8Software for ATA Devices160 ATA Manager ReferenceIOClkResolutionThis field contains the I/O clock resolution in nanoseconds. The current imple
CHAPTER 8Software for ATA DevicesATA Manager Reference 161ATA_NOP 8The ATA_NOP function performs no operation across the interface and does not change
CHAPTER 8Software for ATA Devices162 ATA Manager ReferenceField descriptionsataPBHdr See the definition of the ataPBHdr on page 136. There are no addit
CHAPTER 8Software for ATA DevicesATA Manager Reference 163UInt16 wordRegValue; // ↔ Word register value read // or to be written} registerValue;// The
CHAPTER 1 Introduction 2 Features The Macintosh PowerBook 5300 computer is the first of a new generation of all-in-one notebook computers featuring th
CHAPTER 8Software for ATA Devices164 ATA Manager ReferenceWhen reading or writing ATA registers, use the following order:1. Data register2. Alternate
CHAPTER 8Software for ATA DevicesATA Manager Reference 1654. Sector Count register5. Sector Number register6. Cylinder Low register7. Cylinder High re
CHAPTER 8Software for ATA Devices166 ATA Manager ReferenceField descriptionsataPBHdr See the definition of the ataPBHdr parameter block on page 136.Sta
CHAPTER 8Software for ATA DevicesATA Manager Reference 167UInt8 pcPin; // ↔ Card Pin register settingUInt8 pcCopy; // ↔ Card Socket/Copy register// se
CHAPTER 8Software for ATA Devices168 Using the ATA Manager With DriverspcCopy This field indicates the new Card Socket/Copy Register setting of the PCM
CHAPTER 8Software for ATA DevicesUsing the ATA Manager With Drivers 169Device Driver Loading 8This section describes the sequence and method of driver
CHAPTER 8Software for ATA Devices170 Using the ATA Manager With DriversOnce the driver loading and initialization sequence has been performed for a pa
CHAPTER 8Software for ATA DevicesUsing the ATA Manager With Drivers 171IMPORTANTATA Manager version 1.0 uses the old API; the ATA Manager version 2.0
CHAPTER 8Software for ATA Devices172 Using the ATA Manager With DriversThe typical sequence of the media driver during the Open() call is as follows:1
CHAPTER 8Software for ATA DevicesUsing the ATA Manager With Drivers 173ROM Driver Notification 8If no driver indicates that it controls the device, the
CHAPTER 1 IntroductionAppearance 3 Trackpad: The cursor-positioning device is an integrated flat pad that replaces the trackball used in previous Ma
CHAPTER 8 Software for ATA Devices 174 Using the ATA Manager With Drivers The driver must either return a statusErr indicating that the call is not
CHAPTER 8Software for ATA DevicesError Code Summary 175Setting the I/O Speed 8The ATA controllers used in Macintosh systems have their I/O cycle time
CHAPTER 8Software for ATA Devices176 Error Code Summary$DB45 (–9403)$F905 (–1787)AT_DMarkErr Data mark not found reported by device.$DB46 (–9402
CHAPTER 8Software for ATA DevicesError Code Summary 177$DB77 (–9353)$F8EF (–1809)ATAQLocked I/O queue for the port is locked due to a previous I/O
CHAPTER 9 PC Card Services 9Figure 9-0Listing 9-0Table 9-0 Thi d t t d ith F M k 4 0 4
CHAPTER 9 PC Card Services 180 Client Information This chapter describes the Card Services part of the PC Card Manager.The PC Card Manager is a new p
CHAPTER 9 PC Card ServicesClient Information 181 UInt16 socket; // → logical socket numberUInt16 attributes; // → bitmap of attributes};// &apo
CHAPTER 9 PC Card Services 182 Client Information DESCRIPTION The CSGetNextClient function returns the next clientHandle in Card Services’ global
CHAPTER 9 PC Card ServicesClient Information 183 UInt8 *vendorString;// ← pointer to vendor string// (zero-terminated)} ClientInfo;struct //
ð Apple Computer, Inc. 1995 Apple Computer, Inc.All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,
CHAPTER 1 Introduction 4 Peripheral Devices Figure 1-2 Back view of the computer Peripheral Devices 1 In addition to the devices that are included w
CHAPTER 9 PC Card Services 184 Client Information csInfoSubfunctionMask = 0xFF00,csClientInfoSubfunction = 0x0000,csCardNameSubfunction = 0x8000,csCa
CHAPTER 9PC Card ServicesConfiguration 185RESULT CODESConfiguration 9The functions described in this section help you configure cards and sockets.CSGetC
CHAPTER 9PC Card Services186 ConfigurationUInt8 cardValues; // ← valid card register valuesUInt8 padding[1]; };// 'attributes' field valu
CHAPTER 9PC Card ServicesConfiguration 187DESCRIPTIONThe CSGetConfigurationInfo function is generally called after a client has parsed a tuple stream,
CHAPTER 9PC Card Services188 ConfigurationFor attributes, intType, present, and cardValues field values see “CSGetConfigurationInfo” beginning on page 18
CHAPTER 9PC Card ServicesConfiguration 189CSModifyConfiguration 9You can use the CSModifyConfiguration function to alter the configuration of a socket or
CHAPTER 9PC Card Services190 ConfigurationRESULT CODESCSReleaseConfiguration 9You can use the CSReleaseConfiguration function to release a previously lo
CHAPTER 9PC Card ServicesConfiguration 191CSAccessConfigurationRegister 9You can use the CSAccessConfigurationRegister function to modify a single config
CHAPTER 9PC Card Services192 MasksRESULT CODESMasks 9The functions described in this section get and set client event and socket masks.CSGetClientEve
CHAPTER 9PC Card ServicesMasks 193csBatteryDeadEvent = 0x0010,csBatteryLowEvent = 0x0020,csReadyChangeEvent = 0x0040,csCardDetectChangeEvent = 0x0080,
CHAPTER 1 IntroductionConfigurations 5 Configurations 1 The Macintosh PowerBook 5300 computer is available in several configurations, as shown in Table
CHAPTER 9PC Card Services194 MasksDESCRIPTIONThe CSSetClientEventMask function is used by a client to establish its event mask. If the GetSetClientEve
CHAPTER 9PC Card ServicesMasks 195RESULT CODESCSReleaseSocketMask 9You can use the CSReleaseSocketMask function to clear the event mask for a PC card
CHAPTER 9PC Card Services196 TuplesTuples 9You can use the functions described in this section to obtain PC card information from the corresponding tu
CHAPTER 9PC Card ServicesTuples 197// 'attributes' field valuesenum {csReturnLinkTuples= 0x0001};RESULT CODESCSGetNextTuple 9You can use the
CHAPTER 9PC Card Services198 TuplesUInt8 tupleCode; // ← tuple code foundUInt8 tupleLink; // ← link value for tuple found} TuplePB;struct {UInt16
CHAPTER 9PC Card ServicesTuples 199UInt16 flags; // ↔ internal useUInt32 linkOffset; // ↔ internal useUInt32 cisOffset; // ↔ internal useunion {struct
CHAPTER 9PC Card Services200 Card and Socket StatusCard and Socket Status 9The CSGetStatus function gets card and socket status information.CSGetStatu
CHAPTER 9PC Card ServicesAccess Window Management 201enum {csWriteProtectChanged = 0x0001,csCardLockChanged = 0x0002,csEjectRequestPending = 0x0004,cs
CHAPTER 9PC Card Services202 Access Window Management// 'attributes' field valuesenum {csMemoryWindow = 0x0001,csIOWindow = 0x0002,csAttribu
CHAPTER 9PC Card ServicesAccess Window Management 203csExtAccSpeedMant5pt5= 0x0C,csExtAccSpeedMant6pt0= 0x0D,csExtAccSpeedMant7pt0= 0x0E,csExtAccSpeed
CHAPTER 1 Introduction 6 Compatibility Issues optimizes the available colors. For the active matrix color display, the effective range of the CLUT is
CHAPTER 9PC Card Services204 Access Window ManagementThe parameter block associated with this function is as follows:typedef struct ReqModRelWindowPB
CHAPTER 9PC Card ServicesClient Registration 205The parameter block associated with this function is as follows:typedef struct ReqModRelWindowPB ReqMo
CHAPTER 9PC Card Services206 Client RegistrationThe parameter block associated with this function is as follows:typedef struct GetCardServicesInfoPB G
CHAPTER 9PC Card ServicesClient Registration 207// csMemoryClient = 0x0001,// csIOClient = 0x0004,// csShareableCardInsertEvents= 0x0008,// csExclusiv
CHAPTER 9PC Card Services208 Miscellaneous FunctionsPtr clientData; // → pointer to client's dataUInt16 version; // → Card Services version //
CHAPTER 9PC Card ServicesMiscellaneous Functions 209DIVERGENCE FROM PCMCIA STANDARDCard Services does not issue CARD_RESET in place of CARD_READY. If
CHAPTER 9PC Card Services210 Miscellaneous FunctionsCSVendorSpecific 9You can use the CSVendorSpecific function to perform certain elements that are Ma
CHAPTER 9PC Card ServicesMiscellaneous Functions 211EjectCard Parameter Block 9You can use vendor-specific call #1 to eject a card.// vendor-specific c
CHAPTER 9PC Card Services212 Miscellaneous FunctionsUInt8 subType; // ← detailed card type (defined at top of file)UInt16 reserved; // ↔ reserved (sh
CHAPTER 9PC Card ServicesMiscellaneous Functions 213EnableSocketEvents Parameter Block 9You can use vendor-specific call #3 to enable events on every s
CHAPTER 1 IntroductionCompatibility Issues 7 Developers should not assume that the Power Manager’s data structures are the same on all PowerBook mode
CHAPTER 9PC Card Services214 Miscellaneous FunctionsThe parameter block associated with this function is as follows:typedef struct VendorSpecificPB Ve
CHAPTER 9PC Card ServicesPC Card Manager Constants 215RESULT CODESCSRequestExclusive and CSReleaseExclusive 9The functions CSRequestExclusive and CSRe
CHAPTER 9PC Card Services216 PC Card Manager ConstantsBAD_EDC = 0x04, // EDC generator specified is invalidRESERVED_5 = 0x05, // «reserved for histor
CHAPTER 9PC Card ServicesPC Card Manager Constants 217CARD_RESET = 0x06, // physical reset has completedINSERTION_REQUEST = 0x07, // request to insert
219680x0 code Instructions that can run on a PowerPC microprocessor only by means of an emulator. See also native code. ADB See Apple Desktop Bus
GLOSSARY 220native code Instructions that run directly on a PowerPC microprocessor. See also 680x0 code.nonvolatile RAM RAM that retains its content
221 Index Numerals 68HC05 microprocessor 14 A AC adapter 4access to internal components 24access windows 201active matrix display 25ADB (Apple Deskto
INDEX 222 BlockMove routine 70 BlockMoveUncached routine 70 BlockZero routine 70 BlockZeroUncached routine 70 C cache coherency 7, 72Card Service
INDEX223custom ICs (continued)Pratt 10Singer 14, 28TREX 15Whitney 13Ddcbz instruction 70Device Manager 79display controller IC 14Display Manager 74dis
CHAPTER 1 Introduction 8 Compatibility Issues While it is essential to use 16-bit alignment for data that is being shared with 680x0 code, you should
INDEX224HardDiskPowered routine 92HardDiskQInstall routine 94HardDiskQRemove routine 95HDI-30 connector 25HFS volume format 76I, JIDE disk interface 1
INDEX225Power Manager interface routines (continued)GetSCSIDiskModeAddress 102GetSleepTimeout 90GetWakeupTimer 103HardDiskPowered 92HardDiskQInstall 9
INDEX226T, UTFT display 25trackball 22trackpad 22software support for 65TREX custom IC 15tuple information 196tuples 119VVCB allocation block size 76v
THE APPLE PUBLISHING SYSTEM This Apple manual was written, edited, and composed on a desktop publishing system using Apple Macintosh computers and Fr
CHAPTER 2 Architecture 2Figure 2-0Listing 2-0Table 2-0 Thi d t t d ith F M k 4 0 4
CHAPTER 2 Architecture 10 The architecture of the Macintosh PowerBook 5300 computer is partitioned into three subsystems: the processor/memory subsys
CHAPTER 2 ArchitectureProcessor/Memory Subsystem 11 Processor/Memory Subsystem 2 The processor/memory subsystem includes the PowerPC 603 microprocess
CHAPTER 2 Architecture 12 Processor/Memory Subsystem ROM 2 The ROM in the Macintosh PowerBook 5300 computer is implemented as a 1M by 32-bit array co
CHAPTER 2 ArchitectureInput/Output Subsystem 13 Input/Output Subsystem 2 The input/output subsystem includes the components that communicate by way o
iiiContents Figures and Tables ix Preface About This Developer Note xiContents of This Note xiSupplemental Reference Documents xiiApple Publications
CHAPTER 2 Architecture 14 Input/Output Subsystem The Whitney IC provides the device select signals for the following ICs: the flat panel display co
CHAPTER 2 ArchitectureInput/Output Subsystem 15 Baboon Custom IC 2 The Baboon custom IC provides the interface to the expansion bay. The IC performs
CHAPTER 2 Architecture 16 Video Card Video Card 2 The video card includes two additional components that communicate by way of the I/O bus: the Ari
CHAPTER 3 I/O Features 3Figure 3-0Listing 3-0Table 3-0 Thi d t t d ith F M k 4 0 4
CHAPTER 3 I/O Features 18 Internal IDE Hard Disk Drive This chapter describes both the built-in I/O devices and the interfaces for external I/O devic
CHAPTER 3 I/O FeaturesInternal IDE Hard Disk Drive 19 Figure 3-1 Maximum dimensions of the internal IDE hard disk Hard Disk Connector 3 The interna
CHAPTER 3 I/O Features 20 Internal IDE Hard Disk Drive Figure 3-2 Connector for the internal IDE hard disk Connector Location 3 Figure 3-3 shows the
CHAPTER 3 I/O FeaturesInternal IDE Hard Disk Drive 21 IDE Signal Descriptions 3 Table 3-2 describes the signals on the IDE hard disk connector. 9 DD4
CHAPTER 3 I/O Features 22 Trackpad The IDE data bus is connected to the I/O bus through bidirectional bus buffers. To match the big-endian format of
CHAPTER 3 I/O FeaturesKeyboard 23 The trackpad is a solid-state device that emulates a mouse by sensing the motions of the user’s finger over its surf
iv Input/Output Subsystem 13Whitney Peripheral Support IC 13Combo IC 14Singer IC 14Power Manager IC 14Display Controller IC 14Baboon Custom IC 15TREX
CHAPTER 3 I/O Features 24 Flat Panel Display After removing two screws, the user can lift out the keyboard to obtain access to the internal component
CHAPTER 3 I/O FeaturesSerial Port 25 Serial Port 3 The Macintosh PowerBook 5300 computer has a standard Macintosh serial port for synchronous, asynch
CHAPTER 3 I/O Features 26 SCSI Port Table 3-5 shows the signal assignments for the external SCSI connector. Note that pin 1 of the external SCSI conn
CHAPTER 3 I/O FeaturesADB Port 27 ADB Port 3 The Apple Desktop Bus (ADB) port on the Macintosh PowerBook 5300 computer is functionally the same as on
CHAPTER 3 I/O Features 28 Infrared Module Infrared Module 3 The computer has an infrared (IR) module connected internally to serial port B. The IR mo
CHAPTER 3 I/O FeaturesSound System 29 Sound Inputs 3 The sound system accepts inputs from several sources: built-in microphone external sound inp
CHAPTER 3 I/O Features 30 Sound SystemThe sound output jack provides enough current to drive a pair of low-impedance headphones. The sound output jac
CHAPTER 4 Expansion Modules 4Figure 4-0Listing 4-0Table 4-0 Thi d t t d ith F M k 4 0 4
CHAPTER 4 Expansion Modules 32 Expansion Bay This chapter describes each of the following expansion features of the Macintosh PowerBook 5300 computer
CHAPTER 4 Expansion ModulesExpansion Bay 33 Figure 4-2 Expansion bay dimensions Expansion Bay Connector 4 The expansion bay connector is a 90-pin shi
v RAM Expansion 39Electrical Design Guidelines for the RAM Expansion Card 40Connector Pin Assignments 40Signal Descriptions 42Address Multiplexing 43
CHAPTER 4 Expansion Modules 34 Expansion Bay Signals on the Expansion Bay Connector 4 Table 4-1 shows the signal assignments on the expansion bay con
CHAPTER 4 Expansion ModulesExpansion Bay 35 53 Reserved 72 IDE_D(4)54 DEV_ID(0) 73 IDE_D(6)55 DEV_ID(2) 74 GND56 Reserved 75 IDE_D(9)57 Reserved 76 I
CHAPTER 4 Expansion Modules 36 Expansion Bay Signal Definitions 4 The signals on the expansion bay connector are of three types: expansion bay contro
CHAPTER 4 Expansion ModulesExpansion Bay 37Note Signal names that begin with a slash (/) are active low. ◆ Unused IDE Signals 4 Several signals defi
CHAPTER 4 Expansion Modules 38 Expansion Bay Power on the Expansion Bay 4 Table 4-6 describes the power lines on the expansion bay connector. The MB_
CHAPTER 4 Expansion ModulesRAM Expansion 39 Guidelines for Developers 4 Each expansion bay device must be designed to prevent damage to itself and to
CHAPTER 4 Expansion Modules 40 RAM Expansion Electrical Design Guidelines for the RAM Expansion Card 4 This section provides the electrical informati
CHAPTER 4 Expansion ModulesRAM Expansion 41 45 DataL(18) 46 DataH(18)47 DataL(19) 48 DataH(19)49 DataL(12) 50 DataH(12)51 +3V_MAIN 52 +3V_MAIN53 Data
CHAPTER 4 Expansion Modules 42 RAM Expansion Signal Descriptions 4 Table 4-9 describes the signals on the RAM expansion connector. Signal names that
CHAPTER 4 Expansion ModulesRAM Expansion 43 In the table, signals are specified as inputs or outputs with respect to the main logic board that contain
vi System Software 65Control Strip 66Support for ATA Devices 66Large Partition Support 6664-Bit Volume Addresses 66System-Level Software 67Applicatio
CHAPTER 4 Expansion Modules 44 RAM Expansion Table 4-10 also shows how the signals are multiplexed during the row and column address phases. For each
CHAPTER 4Expansion ModulesRAM Expansion 45NoteThe address multiplexing scheme used in the Macintosh PowerBook 5300 computer supports only the types of
CHAPTER 4Expansion Modules46 RAM ExpansionNoteThe DRAM refresh operation depends on the state of the computer. When the computer is operating normally
CHAPTER 4Expansion ModulesRAM Expansion 47Mechanical Design of the RAM Expansion Card 4All the components of the RAM expansion card, including the co
CHAPTER 4Expansion Modules48 RAM ExpansionFigure 4-5 shows the maximum component height and the restricted areas on the bottom (component side) of the
CHAPTER 4Expansion ModulesVideo Card 49Video Card 4The Macintosh PowerBook 5300 computer accepts an optional video card that provides support for an
CHAPTER 4Expansion Modules50 Video CardTable 4-11 lists the video monitors supported by the video card. The external video interface is enabled by at
CHAPTER 4Expansion ModulesVideo Card 51External Video Connector 4The video card for the Macintosh PowerBook 5300 computer has the same type VID-14 vid
CHAPTER 4Expansion Modules52 Video CardFigure 4-7 Video connectors Monitor Sense Codes 4To identify the type of monitor connected, the video card us
CHAPTER 4Expansion ModulesVideo Card 53Video Card Design Guide 4This section gives electrical and mechanical specifications for developers who wish to
vii Chapter 8 Software for ATA Devices 115Introduction to the ATA Software 116ATA Disk Driver 117Drives on PC Cards 118Drives in the Expansion Bay 11
CHAPTER 4Expansion Modules54 Video CardTable 4-15 gives descriptions of the signals on the video card connector. 39 IO_DATA(23) 40 IO_DATA(18)41 /AS 4
CHAPTER 4Expansion ModulesVideo Card 55Video Card Mechanical Design 4Figure 4-8 shows the dimensions of the video card and the location of the externa
CHAPTER 4Expansion Modules56 Video CardFigure 4-9 is a bottom view of the video card and shows the position of the 80-pin connector (callout 3). Figur
CHAPTER 4Expansion ModulesVideo Card 57Figure 4-11 Video card top view with component restrictions Figure 4-12 is a top view of the video card showing
CHAPTER 4Expansion Modules58 PCMCIA SlotFigure 4-13 is a detail drawing showing the dimensions of the three mounting holes for the EMI shieldFigure 4-
CHAPTER 4Expansion ModulesPCMCIA Slot 59and ejecting cards when they’re dragged to the trash. The Finder extension also helps a client provide custom
CHAPTER 4Expansion Modules60 PCMCIA SlotSignal Definitions 4Certain signals on the PC card sockets are defined as follows: BVD1, BVD2: Battery voltage
CHAPTER 5 Software Features 5Figure 5-0Listing 5-0Table 5-0 Thi d t t d ith F M k 4 0 4
CHAPTER 5 Software Features 62 ROM Software This chapter describes the new features of the software for the Macintosh PowerBook 5300 computer. It des
CHAPTER 5 Software FeaturesROM Software 63 Memory Controller Software 5 The memory control routines have been rewritten to operate with the PBX memor
CHAPTER 5 Software Features 64 ROM Software ATA Storage Devices 5 Support for ATA storage devices (the internal IDE drive, PCMCIA drives, and ATAPI C
CHAPTER 5 Software FeaturesSystem Software 65 Trackpad Support 5 The trackpad hardware, the Power Manager IC, and the system software work together t
CHAPTER 5 Software Features 66 System SoftwareNote For those changes that affect the software, information about new or modified APIs is given elsewhe
CHAPTER 5 Software FeaturesSystem Software 67 System-Level Software 5 Several system components have been modified to use the 64-bit API to correctly
CHAPTER 5 Software Features 68 System Software Limitations 5 The software modifications that support large partition sizes do not solve all the proble
CHAPTER 5Software FeaturesSystem Software 69The DR Emulator provides a high degree of compatibility for 680x0 code. One area where compatibility will
CHAPTER 5Software Features70 System SoftwareNoteThe new BlockMove extensions do not use the string instructions, which are fast on the PowerPC 601 but
CHAPTER 5Software FeaturesSystem Software 71IMPORTANTDriver software cannot call the BlockMove routines directly. Instead, drivers must use the BlockC
CHAPTER 5Software Features72 System SoftwarePOWER Emulation 5Earlier Power Macintosh computers included emulation for certain PowerPC 601 instructions
CHAPTER 5Software FeaturesSystem Software 73IMPORTANTThe emulation software in the Macintosh PowerBook 5300 computer cannot make the separate caches i
ix Figures and Tables Chapter 1 Introduction 1 Figure 1-1 Front view of the computer 3 Figure 1-2 Back view of the computer 4 Table 1-1 Configurations
CHAPTER 5Software Features74 System SoftwareDisplay Manager 5Until now, system software has used the NuBus-specific Slot Manager to get and set inform
CHAPTER 6 Large Volume Support 6Figure 6-0Listing 6-0Table 6-0 Thi d t t d ith F M k 4 0 4
CHAPTER 6 Large Volume Support 76 Overview of the Large Volume File System This chapter describes the large volume file system for the Macintosh Power
CHAPTER 6 Large Volume SupportThe API Modifications 77 The maximum number of files will continue to be less than 65,000. This limit is directly related
CHAPTER 6 Large Volume Support 78 The API Modifications struct XVolumeParam {ParamBlockHeaderunsigned long ioXVersion; // XVolumeParam version == 0sho
CHAPTER 6 Large Volume SupportThe API Modifications 79 ioVNxtCNID The next unused catalog node ID. ioVFrBlk The number of unused allocation blocks. io
CHAPTER 6Large Volume Support80 The API Modificationschar ioPermssn; // read/write permissionPtr ioMisc; // miscellaneousPtr ioBuffer; // data bufferun
CHAPTER 6Large Volume SupportThe API Modifications 81New Extended Function 6This section describes the extended PBXGetVolInfo function that provides vo
CHAPTER 6Large Volume Support82 The API ModificationsDESCRIPTIONThe PBXGetVolInfo function returns information about the specified volume. It is similar
CHAPTER 6Large Volume SupportThe API Modifications 83ASSEMBLY-LANGUAGE INFORMATIONThe trap macro and routine selector for PBXGetVolInfo are:RESULT CODE
Comments to this Manuals