Apple Macintosh PowerBook 5300/100 Specifications

Browse online or download Specifications for PC/workstation barebones Apple Macintosh PowerBook 5300/100. Apple Macintosh PowerBook 5300/100 Specifications User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 244
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - Computer

ð Developer Press  Apple Computer, Inc. 1995 ð Developer Note Macintosh PowerBook 5300 Computer Macintosh PowerBook 5300/100Macintosh PowerBook 530

Page 2 - Thi d t t d ith F M k 4 0 4

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

Page 4 - Expansion Modules

CHAPTER 7 Power Manager Interface 7Figure 7-0Listing 7-0Table 7-0 Thi d t t d ith F M k 4 0 4

Page 5 - Software Features

CHAPTER 7 Power Manager Interface 86 About the Power Manager Interface This chapter describes the new application programming interface (API) to the

Page 6 - Large Volume Support

CHAPTER 7 Power Manager InterfaceAbout the Power Manager Interface 87 Checking for Routines 7 Before calling any of the Power Manager interface routi

Page 7 - Chapter 9

CHAPTER 7 Power Manager Interface 88 About the Power Manager Interface Table 7-1 Interface routines and their selector values Routine name Selector v

Page 8

CHAPTER 7 Power Manager InterfaceAbout the Power Manager Interface 89 Assembly-language note All the routines share a single trap, _PowerMgrDispatch

Page 9 - Figures and Tables

CHAPTER 7 Power Manager Interface 90 About the Power Manager Interface Field descriptions ASSEMBLY-LANGUAGE INFORMATION The trap is _PowerMgrDispatc

Page 10

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 91ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector v

Page 11 - About This Developer Note

CHAPTER 7Power Manager Interface92 About the Power Manager InterfaceASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector v

Page 12 - Apple Publications 0

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 93ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector v

Page 13 - Typographical Conventions 0

xi PREFACE About This Developer Note This developer note describes the Macintosh PowerBook 5300 computer, emphasizing the features that are new or d

Page 14 - Standard Abbreviations 0

CHAPTER 7Power Manager Interface94 About the Power Manager InterfaceSetSpindownDisable 7You can use the SetSpindownDisable routine to disable hard dis

Page 15 - PREFACE

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 95When power to the internal hard disk is about to be turned off, the software calls

Page 16

CHAPTER 7Power Manager Interface96 About the Power Manager InterfaceDESCRIPTIONThe GetScaledBatteryInfo routine provides a generic means of returning

Page 17 - Introduction 1

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 97Field descriptionsThe value of warningLevel is the battery level at which the first

Page 18 - Features 1

CHAPTER 7Power Manager Interface98 About the Power Manager InterfaceIMPORTANTCalling AutoSleepControl with enableSleep set to false multiple times inc

Page 19 - Appearance 1

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 99ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector v

Page 20 - Peripheral Devices 1

CHAPTER 7Power Manager Interface100 About the Power Manager InterfaceNoteIn some PowerBook computers, there is a hardware switch to connect either por

Page 21 - Compatibility Issues 1

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 101ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector

Page 22 - Compatibility Issues

CHAPTER 7Power Manager Interface102 About the Power Manager InterfaceASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector

Page 23 - Microprocessor Differences 1

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 103ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector

Page 24 - POWER-Clean Code 1

xii PREFACE Supplemental Reference Documents 0 The following documents provide information that complements or extends the information in this devel

Page 25 - Architecture 2

CHAPTER 7Power Manager Interface104 About the Power Manager InterfaceASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector

Page 26 - CHAPTER 2

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 105ASSEMBLY-LANGUAGE INFORMATIONThe trap is _PowerMgrDispatch ($A09E). The selector

Page 27 - Processor/Memory Subsystem 2

CHAPTER 7Power Manager Interface106 About the Power Manager InterfaceGetBatteryTimes 7You can use the GetBatteryTimes routine to find out about how muc

Page 28 - PBX Memory Controller IC 2

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 107Header File for Power Manager Dispatch 7Here is a sample header file for access t

Page 29 - Input/Output Subsystem 2

CHAPTER 7Power Manager Interface108 About the Power Manager Interface/* bits in bitfield returned by GetIntModemInfo and set by SetIntModemState */#de

Page 30 - Input/Output Subsystem

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 109typedef pascal void (*HDSpindownProc)(HDQueueElement *theElement);struct HDQueueE

Page 31 - TREX Custom IC 2

CHAPTER 7Power Manager Interface110 About the Power Manager Interface#pragma parameter __D0 PMSelectorCount(__D0)short PMSelectorCount()= {0x7000, 0xA

Page 32 - Video Card 2

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 111#pragma parameter __D0 SpinDownHardDiskvoid SpinDownHardDisk()= {0x7007, 0xA09E};

Page 33 - I/O Features 3

CHAPTER 7Power Manager Interface112 About the Power Manager Interface#pragma parameter __D0 GetIntModemInfo(__D0)unsigned long GetIntModemInfo()= {0x7

Page 34 - Hard Disk Specifications 3

CHAPTER 7Power Manager InterfaceAbout the Power Manager Interface 113#pragma parameter __D0 SetSCSIDiskModeAddress(__D0)void SetSCSIDiskModeAddress(sh

Page 35 - Hard Disk Connector 3

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

Page 36 - Signal Assignments 3

CHAPTER 7Power Manager Interface114 About the Power Manager Interface#pragma parameter __D0 GetBatteryTimes(__D0,__A0)void GetBatteryTimes(BatteryTime

Page 37 - IDE Signal Descriptions 3

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

Page 38 - Trackpad 3

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

Page 39 - Keyboard 3

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

Page 40 - Flat Panel Display 3

CHAPTER 8 Software for ATA Devices 118 Introduction to the ATA Software the caller until completion. The driver queues asynchronous calls and returns

Page 41 - SCSI Port 3

CHAPTER 8 Software for ATA DevicesIntroduction to the ATA Software 119 The driver maintains independent spindown timers for each PC card drive, allow

Page 42 - CHAPTER 3

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

Page 43 - ADB Port 3

CHAPTER 8 Software for ATA DevicesATA Disk Driver Reference 121 RESULT CODES The Status Routine 8 The status routine returns status information about

Page 44 - Sound System 3

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

Page 45 - Sound Outputs 3

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,

Page 46 - Sound System

xiv PREFACE Hexadecimal numbers are preceded by a dollar sign ($). For example, the hexadecimal equivalent of decimal 16 is written as $10. ]Note A

Page 47 - Expansion Modules 4

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

Page 48 - Expansion Bay 4

CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 125get drive information 8The get drive information function returns information about the

Page 49 - Expansion Bay Connector 4

CHAPTER 8Software for ATA Devices126 ATA Disk Driver ReferenceRESULT CODESset partition mounting 8The set partition mounting function enables the spec

Page 50 - CHAPTER 4

CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 127RESULT CODESclear partition mounting 8The clear partition mounting function prevents the

Page 51

CHAPTER 8Software for ATA Devices128 ATA Disk Driver ReferenceRESULT CODESregister partition 8The register partition function supports PC Exchange. I

Page 52 - Signal Definitions 4

CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 129Parameter blockRESULT CODESmount volume 8The mount volume function instructs the driver

Page 53 - Unused IDE Signals 4

CHAPTER 8Software for ATA Devices130 ATA Disk Driver Reference Idle: The state with moderate power savings. The device can return to the active state

Page 54 - Sequence of Control Signals 4

CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 131RESULT CODESdriver gestalt 8The driver gestalt function provides the application with in

Page 55 - RAM Expansion 4

CHAPTER 8Software for ATA Devices132 ATA Disk Driver ReferenceRESULT CODESget boot partition 8The get boot partition function returns 1 if the specifi

Page 56 - Connector Pin Assignments 4

CHAPTER 8Software for ATA DevicesATA Disk Driver Reference 133get partition mount status 8The get partition mount status function returns 1 if the spe

Page 57

xv PREFACE Other abbreviations used in this note include $ n hexadecimal value n AC alternating currentADB Apple Desktop BusAPI application progr

Page 58 - Signal Descriptions 4

CHAPTER 8Software for ATA Devices134 ATA Disk Driver Referenceget partition information 8The get partition information function supports PC Exchange.

Page 59 - Address Multiplexing 4

CHAPTER 8Software for ATA DevicesATA Manager Reference 135RESULT CODESATA Manager Reference 8This section defines the data structures and functions tha

Page 60 - IMPORTANT

CHAPTER 8Software for ATA Devices136 ATA Manager ReferenceThe ATA parameter block header structure is defined as follows:struct ataPBHdr // ATA Manager

Page 61 - DRAM Device Requirements 4

CHAPTER 8Software for ATA DevicesATA Manager Reference 137when the request has finished without error, or when the request has terminated due to an err

Page 62 - RAM Expansion

CHAPTER 8Software for ATA Devices138 ATA Manager ReferenceataPtr1 This pointer field is available for application use. It is not modified by the ATA Man

Page 63 - RAM Card Dimensions 4

CHAPTER 8Software for ATA DevicesATA Manager Reference 139ProtocolType 4–5 These two bits specify the type of command. The following command types are

Page 64 - RAM Card Connector 4

CHAPTER 8Software for ATA Devices140 ATA Manager ReferenceQLockOnError 10 When set to 0, this bit indicates that an error during the transaction shoul

Page 65 - Video Card 4

CHAPTER 8Software for ATA DevicesATA Manager Reference 141Functions 8This section describes the ATA Manager functions that are used to manage and perf

Page 66 - Video Mirroring 4

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

Page 67 - External Video Connector 4

CHAPTER 8Software for ATA DevicesATA Manager Reference 143UInt16 ataIOpbSize; // ← Size of ATA I/O PB UInt16 ataMaxIOpbSize; // ← TBD; zero for now UI

Page 68 - Monitor Sense Codes 4

xvi PREFACE NiCad nickel cadmiumNiMH nickel metal hydridePCMCIA Personal Computer Memory Card International AssociationPDS processor-direct slotPROM

Page 69 - Video Card Design Guide 4

CHAPTER 8Software for ATA Devices144 ATA Manager ReferenceataHBAPrivSize This field contains the byte size of the HBA’s private data area. This field is

Page 70

CHAPTER 8Software for ATA DevicesATA Manager Reference 145NoteTo insure proper operation, all PCMCIA/ATA and Notify-all device drivers must register u

Page 71 - Signal name Description

CHAPTER 8Software for ATA Devices146 ATA Manager ReferenceReserved[21] This field is reserved. To ensure future compatibility, all reserved fields shoul

Page 72 - 56 Video Card

CHAPTER 8Software for ATA DevicesATA Manager Reference 147RESULT CODESATA_DrvrDeregister 8You can use the ATA_DrvrDeRegister function to deregister t

Page 73 - Video Card 57

CHAPTER 8Software for ATA Devices148 ATA Manager ReferenceUInt32 ataEventMask; // → Masks of various events // for event handlerSInt16 Reserved[14]; /

Page 74 - PCMCIA Slot 4

CHAPTER 8Software for ATA DevicesATA Manager Reference 149The data structure of the function is as follows:struct ataEject // configuration parameter

Page 75 - Summary Specifications 4

CHAPTER 8 Software for ATA Devices 150 ATA Manager Reference devicePB RegBlock; // → Device register images UInt8* packetCDBPtr; // ATAPI packet co

Page 76 - Controller Interrupts 4

CHAPTER 8Software for ATA DevicesATA Manager Reference 151RegBlock This field contains the ATA device register image structure. Values contained in thi

Page 77 - Software Features 5

CHAPTER 8Software for ATA Devices152 ATA Manager ReferenceATA_FindRefNum 8You can use the ATA_FindRefNum function to determine whether a driver has be

Page 78 - ROM Software 5

CHAPTER 8Software for ATA DevicesATA Manager Reference 153// Version 2(ataPBVers = 2)structataDrvrRegister // Parameter block structure// for ataPBVer

Page 79 - ROM Software

CHAPTER 1 Introduction 1Figure 1-0Listing 1-0Table 1-0 Thi d t t d ith F M k 4 0 4

Page 80

CHAPTER 8Software for ATA Devices154 ATA Manager ReferenceThe data structure for the function is as follows:struct ataGetDevConfiguration// Parameter

Page 81 - System Software 5

CHAPTER 8Software for ATA DevicesATA Manager Reference 1550: The function waits for the assertion of DRQ bit in the status register before sending the

Page 82 - 64-Bit Volume Addresses 5

CHAPTER 8Software for ATA Devices156 ATA Manager ReferencepcCopy This field indicates the current Card Socket/Copy register setting of the PCMCIA devic

Page 83 - Application-Level Software 5

CHAPTER 8Software for ATA DevicesATA Manager Reference 157SInt8 *ataLocationIconPtr;// → Pointer to icon data buffer SInt8 *ataLocationStringPtr;// →

Page 84 - Limitations 5

CHAPTER 8 Software for ATA Devices 158 ATA Manager Reference SInt8 ataErrorReg; // ← Last ATA error image; // valid if error bit setSInt16 ataReser

Page 85 - New BlockMove Extensions 5

CHAPTER 8Software for ATA DevicesATA Manager Reference 159ATA_MgrInquiry 8You can use the ATA_MgrInquiry function to get information, such as the vers

Page 86

CHAPTER 8Software for ATA Devices160 ATA Manager ReferenceIOClkResolutionThis field contains the I/O clock resolution in nanoseconds. The current imple

Page 87 - POWER-Clean Native Code 5

CHAPTER 8Software for ATA DevicesATA Manager Reference 161ATA_NOP 8The ATA_NOP function performs no operation across the interface and does not change

Page 88 - POWER Emulation 5

CHAPTER 8Software for ATA Devices162 ATA Manager ReferenceField descriptionsataPBHdr See the definition of the ataPBHdr on page 136. There are no addit

Page 89 - QuickDraw Acceleration API 5

CHAPTER 8Software for ATA DevicesATA Manager Reference 163UInt16 wordRegValue; // ↔ Word register value read // or to be written} registerValue;// The

Page 90 - Display Manager 5

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

Page 91 - Large Volume Support 6

CHAPTER 8Software for ATA Devices164 ATA Manager ReferenceWhen reading or writing ATA registers, use the following order:1. Data register2. Alternate

Page 92 - Allocation Block Size 6

CHAPTER 8Software for ATA DevicesATA Manager Reference 1654. Sector Count register5. Sector Number register6. Cylinder Low register7. Cylinder High re

Page 93 - The API Modifications 6

CHAPTER 8Software for ATA Devices166 ATA Manager ReferenceField descriptionsataPBHdr See the definition of the ataPBHdr parameter block on page 136.Sta

Page 94 - The API Modifications

CHAPTER 8Software for ATA DevicesATA Manager Reference 167UInt8 pcPin; // ↔ Card Pin register settingUInt8 pcCopy; // ↔ Card Socket/Copy register// se

Page 95

CHAPTER 8Software for ATA Devices168 Using the ATA Manager With DriverspcCopy This field indicates the new Card Socket/Copy Register setting of the PCM

Page 96

CHAPTER 8Software for ATA DevicesUsing the ATA Manager With Drivers 169Device Driver Loading 8This section describes the sequence and method of driver

Page 97 - New Extended Function 6

CHAPTER 8Software for ATA Devices170 Using the ATA Manager With DriversOnce the driver loading and initialization sequence has been performed for a pa

Page 98

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

Page 99 - Trap macro Selector

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

Page 100

CHAPTER 8Software for ATA DevicesUsing the ATA Manager With Drivers 173ROM Driver Notification 8If no driver indicates that it controls the device, the

Page 101 - Power Manager Interface 7

CHAPTER 1 IntroductionAppearance 3 Trackpad: The cursor-positioning device is an integrated flat pad that replaces the trackball used in previous Ma

Page 102 - Things That May Change 7

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

Page 103 - Checking for Routines 7

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

Page 104 - CHAPTER 7

CHAPTER 8Software for ATA Devices176 Error Code Summary$DB45 (–9403)$F905 (–1787)AT_DMarkErr Data mark not found reported by device.$DB46 (–9402

Page 105 - PMFeatures 7

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

Page 107 - GetHardDiskTimeout 7

CHAPTER 9 PC Card Services 9Figure 9-0Listing 9-0Table 9-0 Thi d t t d ith F M k 4 0 4

Page 108 - HardDiskPowered 7

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

Page 109 - IsSpindownDisabled 7

CHAPTER 9 PC Card ServicesClient Information 181 UInt16 socket; // → logical socket numberUInt16 attributes; // → bitmap of attributes};// &apo

Page 110 - HardDiskQInstall 7

CHAPTER 9 PC Card Services 182 Client Information DESCRIPTION The CSGetNextClient function returns the next clientHandle in Card Services’ global

Page 111 - GetScaledBatteryInfo 7

CHAPTER 9 PC Card ServicesClient Information 183 UInt8 *vendorString;// ← pointer to vendor string// (zero-terminated)} ClientInfo;struct //

Page 112 - Power Manager Interface

ð Apple Computer, Inc.  1995 Apple Computer, Inc.All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,

Page 113 - AutoSleepControl 7

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

Page 114 - GetIntModemInfo 7

CHAPTER 9 PC Card Services 184 Client Information csInfoSubfunctionMask = 0xFF00,csClientInfoSubfunction = 0x0000,csCardNameSubfunction = 0x8000,csCa

Page 115 - SetIntModemState 7

CHAPTER 9PC Card ServicesConfiguration 185RESULT CODESConfiguration 9The functions described in this section help you configure cards and sockets.CSGetC

Page 116 - CurrentProcessorSpeed 7

CHAPTER 9PC Card Services186 ConfigurationUInt8 cardValues; // ← valid card register valuesUInt8 padding[1]; };// 'attributes' field valu

Page 117 - SetProcessorSpeed 7

CHAPTER 9PC Card ServicesConfiguration 187DESCRIPTIONThe CSGetConfigurationInfo function is generally called after a client has parsed a tuple stream,

Page 118 - SetSCSIDiskModeAddress 7

CHAPTER 9PC Card Services188 ConfigurationFor attributes, intType, present, and cardValues field values see “CSGetConfigurationInfo” beginning on page 18

Page 119 - SetWakeupTimer 7

CHAPTER 9PC Card ServicesConfiguration 189CSModifyConfiguration 9You can use the CSModifyConfiguration function to alter the configuration of a socket or

Page 120 - EnableProcessorCycling 7

CHAPTER 9PC Card Services190 ConfigurationRESULT CODESCSReleaseConfiguration 9You can use the CSReleaseConfiguration function to release a previously lo

Page 121 - GetBatteryVoltage 7

CHAPTER 9PC Card ServicesConfiguration 191CSAccessConfigurationRegister 9You can use the CSAccessConfigurationRegister function to modify a single config

Page 122 - GetBatteryTimes 7

CHAPTER 9PC Card Services192 MasksRESULT CODESMasks 9The functions described in this section get and set client event and socket masks.CSGetClientEve

Page 123

CHAPTER 9PC Card ServicesMasks 193csBatteryDeadEvent = 0x0010,csBatteryLowEvent = 0x0020,csReadyChangeEvent = 0x0040,csCardDetectChangeEvent = 0x0080,

Page 124

CHAPTER 1 IntroductionConfigurations 5 Configurations 1 The Macintosh PowerBook 5300 computer is available in several configurations, as shown in Table

Page 125

CHAPTER 9PC Card Services194 MasksDESCRIPTIONThe CSSetClientEventMask function is used by a client to establish its event mask. If the GetSetClientEve

Page 126

CHAPTER 9PC Card ServicesMasks 195RESULT CODESCSReleaseSocketMask 9You can use the CSReleaseSocketMask function to clear the event mask for a PC card

Page 127

CHAPTER 9PC Card Services196 TuplesTuples 9You can use the functions described in this section to obtain PC card information from the corresponding tu

Page 128

CHAPTER 9PC Card ServicesTuples 197// 'attributes' field valuesenum {csReturnLinkTuples= 0x0001};RESULT CODESCSGetNextTuple 9You can use the

Page 129

CHAPTER 9PC Card Services198 TuplesUInt8 tupleCode; // ← tuple code foundUInt8 tupleLink; // ← link value for tuple found} TuplePB;struct {UInt16

Page 130

CHAPTER 9PC Card ServicesTuples 199UInt16 flags; // ↔ internal useUInt32 linkOffset; // ↔ internal useUInt32 cisOffset; // ↔ internal useunion {struct

Page 131 - Software for ATA Devices 8

CHAPTER 9PC Card Services200 Card and Socket StatusCard and Socket Status 9The CSGetStatus function gets card and socket status information.CSGetStatu

Page 132 - CHAPTER 8

CHAPTER 9PC Card ServicesAccess Window Management 201enum {csWriteProtectChanged = 0x0001,csCardLockChanged = 0x0002,csEjectRequestPending = 0x0004,cs

Page 133 - ATA Disk Driver 8

CHAPTER 9PC Card Services202 Access Window Management// 'attributes' field valuesenum {csMemoryWindow = 0x0001,csIOWindow = 0x0002,csAttribu

Page 134 - Drives on PC Cards 8

CHAPTER 9PC Card ServicesAccess Window Management 203csExtAccSpeedMant5pt5= 0x0C,csExtAccSpeedMant6pt0= 0x0D,csExtAccSpeedMant7pt0= 0x0E,csExtAccSpeed

Page 135 - ATA Manager 8

CHAPTER 1 Introduction 6 Compatibility Issues optimizes the available colors. For the active matrix color display, the effective range of the CLUT is

Page 136 - ATA Disk Driver Reference 8

CHAPTER 9PC Card Services204 Access Window ManagementThe parameter block associated with this function is as follows:typedef struct ReqModRelWindowPB

Page 137 - The Status Routine 8

CHAPTER 9PC Card ServicesClient Registration 205The parameter block associated with this function is as follows:typedef struct ReqModRelWindowPB ReqMo

Page 138 - Control Functions 8

CHAPTER 9PC Card Services206 Client RegistrationThe parameter block associated with this function is as follows:typedef struct GetCardServicesInfoPB G

Page 139

CHAPTER 9PC Card ServicesClient Registration 207// csMemoryClient = 0x0001,// csIOClient = 0x0004,// csShareableCardInsertEvents= 0x0008,// csExclusiv

Page 140 - Parameter block

CHAPTER 9PC Card Services208 Miscellaneous FunctionsPtr clientData; // → pointer to client's dataUInt16 version; // → Card Services version //

Page 141 - ATA Disk Driver Reference 125

CHAPTER 9PC Card ServicesMiscellaneous Functions 209DIVERGENCE FROM PCMCIA STANDARDCard Services does not issue CARD_RESET in place of CARD_READY. If

Page 142

CHAPTER 9PC Card Services210 Miscellaneous FunctionsCSVendorSpecific 9You can use the CSVendorSpecific function to perform certain elements that are Ma

Page 143 - ATA Disk Driver Reference 127

CHAPTER 9PC Card ServicesMiscellaneous Functions 211EjectCard Parameter Block 9You can use vendor-specific call #1 to eject a card.// vendor-specific c

Page 144

CHAPTER 9PC Card Services212 Miscellaneous FunctionsUInt8 subType; // ← detailed card type (defined at top of file)UInt16 reserved; // ↔ reserved (sh

Page 145 - ATA Disk Driver Reference 129

CHAPTER 9PC Card ServicesMiscellaneous Functions 213EnableSocketEvents Parameter Block 9You can use vendor-specific call #3 to enable events on every s

Page 146 - Status Functions 8

CHAPTER 1 IntroductionCompatibility Issues 7 Developers should not assume that the Power Manager’s data structures are the same on all PowerBook mode

Page 147 - ATA Disk Driver Reference 131

CHAPTER 9PC Card Services214 Miscellaneous FunctionsThe parameter block associated with this function is as follows:typedef struct VendorSpecificPB Ve

Page 148

CHAPTER 9PC Card ServicesPC Card Manager Constants 215RESULT CODESCSRequestExclusive and CSReleaseExclusive 9The functions CSRequestExclusive and CSRe

Page 149 - ATA Disk Driver Reference 133

CHAPTER 9PC Card Services216 PC Card Manager ConstantsBAD_EDC = 0x04, // EDC generator specified is invalidRESERVED_5 = 0x05, // «reserved for histor

Page 150

CHAPTER 9PC Card ServicesPC Card Manager Constants 217CARD_RESET = 0x06, // physical reset has completedINSERTION_REQUEST = 0x07, // request to insert

Page 152 - Field descriptions

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

Page 153 - ATA Manager Reference 137

GLOSSARY 220native code Instructions that run directly on a PowerPC microprocessor. See also 680x0 code.nonvolatile RAM RAM that retains its content

Page 154

221 Index Numerals 68HC05 microprocessor 14 A AC adapter 4access to internal components 24access windows 201active matrix display 25ADB (Apple Deskto

Page 155 - Name Bit Definition

INDEX 222 BlockMove routine 70 BlockMoveUncached routine 70 BlockZero routine 70 BlockZeroUncached routine 70 C cache coherency 7, 72Card Service

Page 156

INDEX223custom ICs (continued)Pratt 10Singer 14, 28TREX 15Whitney 13Ddcbz instruction 70Device Manager 79display controller IC 14Display Manager 74dis

Page 157 - Functions 8

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

Page 158 - ATA_BusInquiry 8

INDEX224HardDiskPowered routine 92HardDiskQInstall routine 94HardDiskQRemove routine 95HDI-30 connector 25HFS volume format 76I, JIDE disk interface 1

Page 159 - ATA Manager Reference 143

INDEX225Power Manager interface routines (continued)GetSCSIDiskModeAddress 102GetSleepTimeout 90GetWakeupTimer 103HardDiskPowered 92HardDiskQInstall 9

Page 160 - ATA_DrvrRegister 8

INDEX226T, UTFT display 25trackball 22trackpad 22software support for 65TREX custom IC 15tuple information 196tuples 119VVCB allocation block size 76v

Page 162 - Bits Event Mask

THE APPLE PUBLISHING SYSTEM This Apple manual was written, edited, and composed on a desktop publishing system using Apple Macintosh computers and Fr

Page 163 - ATA_DrvrDeregister 8

CHAPTER 2 Architecture 2Figure 2-0Listing 2-0Table 2-0 Thi d t t d ith F M k 4 0 4

Page 164 - ATA_EjectDrive 8

CHAPTER 2 Architecture 10 The architecture of the Macintosh PowerBook 5300 computer is partitioned into three subsystems: the processor/memory subsys

Page 165 - ATA_ExecIO 8

CHAPTER 2 ArchitectureProcessor/Memory Subsystem 11 Processor/Memory Subsystem 2 The processor/memory subsystem includes the PowerPC 603 microprocess

Page 166

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

Page 167 - ATA Manager Reference 151

CHAPTER 2 ArchitectureInput/Output Subsystem 13 Input/Output Subsystem 2 The input/output subsystem includes the components that communicate by way o

Page 168 - ATA_FindRefNum 8

iiiContents Figures and Tables ix Preface About This Developer Note xiContents of This Note xiSupplemental Reference Documents xiiApple Publications

Page 169 - ATA_Get Device Configuration 8

CHAPTER 2 Architecture 14 Input/Output Subsystem The Whitney IC provides the device select signals for the following ICs: the flat panel display co

Page 170

CHAPTER 2 ArchitectureInput/Output Subsystem 15 Baboon Custom IC 2 The Baboon custom IC provides the interface to the expansion bay. The IC performs

Page 171 - ATA Manager Reference 155

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

Page 172 - ATA_GetDevLocationIcon 8

CHAPTER 3 I/O Features 3Figure 3-0Listing 3-0Table 3-0 Thi d t t d ith F M k 4 0 4

Page 173 - ATA_Identify 8

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

Page 174

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

Page 175 - ATA_MgrInquiry 8

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

Page 176 - ATA_ModifyDrvrEventMask 8

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

Page 177 - ATA_QRelease 8

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

Page 178 - ATA_RegAccess 8

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

Page 179 - ATA Manager Reference 163

iv Input/Output Subsystem 13Whitney Peripheral Support IC 13Combo IC 14Singer IC 14Power Manager IC 14Display Controller IC 14Baboon Custom IC 15TREX

Page 180

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

Page 181 - ATA_ResetBus 8

CHAPTER 3 I/O FeaturesSerial Port 25 Serial Port 3 The Macintosh PowerBook 5300 computer has a standard Macintosh serial port for synchronous, asynch

Page 182 - ATA_SetDevConfiguration 8

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

Page 183 - ATA Manager Reference 167

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

Page 184 - RESULT CODES

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

Page 185 - Device Driver Loading 8

CHAPTER 3 I/O FeaturesSound System 29 Sound Inputs 3 The sound system accepts inputs from several sources: built-in microphone external sound inp

Page 186 - Bits Value Definition

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

Page 187

CHAPTER 4 Expansion Modules 4Figure 4-0Listing 4-0Table 4-0 Thi d t t d ith F M k 4 0 4

Page 188

CHAPTER 4 Expansion Modules 32 Expansion Bay This chapter describes each of the following expansion features of the Macintosh PowerBook 5300 computer

Page 189 - Device Driver Purging 8

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

Page 190

v RAM Expansion 39Electrical Design Guidelines for the RAM Expansion Card 40Connector Pin Assignments 40Signal Descriptions 42Address Multiplexing 43

Page 191 - Error Code Summary 8

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

Page 192

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

Page 193

CHAPTER 4 Expansion Modules 36 Expansion Bay Signal Definitions 4 The signals on the expansion bay connector are of three types: expansion bay contro

Page 194

CHAPTER 4 Expansion ModulesExpansion Bay 37Note Signal names that begin with a slash (/) are active low. ◆ Unused IDE Signals 4 Several signals defi

Page 195 - PC Card Services 9

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_

Page 196 - Client Information 9

CHAPTER 4 Expansion ModulesRAM Expansion 39 Guidelines for Developers 4 Each expansion bay device must be designed to prevent damage to itself and to

Page 197 - CSGetNextClient 9

CHAPTER 4 Expansion Modules 40 RAM Expansion Electrical Design Guidelines for the RAM Expansion Card 4 This section provides the electrical informati

Page 198 - CSGetClientInfo 9

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

Page 199 - Client Information

CHAPTER 4 Expansion Modules 42 RAM Expansion Signal Descriptions 4 Table 4-9 describes the signals on the RAM expansion connector. Signal names that

Page 200

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

Page 201 - Configuration 9

vi System Software 65Control Strip 66Support for ATA Devices 66Large Partition Support 6664-Bit Volume Addresses 66System-Level Software 67Applicatio

Page 202 - Configuration

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

Page 203 - CSRequestConfiguration 9

CHAPTER 4Expansion ModulesRAM Expansion 45NoteThe address multiplexing scheme used in the Macintosh PowerBook 5300 computer supports only the types of

Page 204

CHAPTER 4Expansion Modules46 RAM ExpansionNoteThe DRAM refresh operation depends on the state of the computer. When the computer is operating normally

Page 205 - CSModifyConfiguration 9

CHAPTER 4Expansion ModulesRAM Expansion 47Mechanical Design of the RAM Expansion Card 4All the components of the RAM expansion card, including the co

Page 206 - CSReleaseConfiguration 9

CHAPTER 4Expansion Modules48 RAM ExpansionFigure 4-5 shows the maximum component height and the restricted areas on the bottom (component side) of the

Page 207 - Configuration 191

CHAPTER 4Expansion ModulesVideo Card 49Video Card 4The Macintosh PowerBook 5300 computer accepts an optional video card that provides support for an

Page 208 - Masks 9

CHAPTER 4Expansion Modules50 Video CardTable 4-11 lists the video monitors supported by the video card. The external video interface is enabled by at

Page 209 - CSSetClientEventMask 9

CHAPTER 4Expansion ModulesVideo Card 51External Video Connector 4The video card for the Macintosh PowerBook 5300 computer has the same type VID-14 vid

Page 210 - CSRequestSocketMask 9

CHAPTER 4Expansion Modules52 Video CardFigure 4-7 Video connectors Monitor Sense Codes 4To identify the type of monitor connected, the video card us

Page 211 - CSReleaseSocketMask 9

CHAPTER 4Expansion ModulesVideo Card 53Video Card Design Guide 4This section gives electrical and mechanical specifications for developers who wish to

Page 212 - Tuples 9

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

Page 213 - CSGetNextTuple 9

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

Page 214 - CSGetTupleData 9

CHAPTER 4Expansion ModulesVideo Card 55Video Card Mechanical Design 4Figure 4-8 shows the dimensions of the video card and the location of the externa

Page 215 - Tuples 199

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

Page 216 - Card and Socket Status 9

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

Page 217 - Access Window Management 9

CHAPTER 4Expansion Modules58 PCMCIA SlotFigure 4-13 is a detail drawing showing the dimensions of the three mounting holes for the EMI shieldFigure 4-

Page 218 - Access Window Management

CHAPTER 4Expansion ModulesPCMCIA Slot 59and ejecting cards when they’re dragged to the trash. The Finder extension also helps a client provide custom

Page 219 - CSModifyWindow 9

CHAPTER 4Expansion Modules60 PCMCIA SlotSignal Definitions 4Certain signals on the PC card sockets are defined as follows: BVD1, BVD2: Battery voltage

Page 220 - CSReleaseWindow 9

CHAPTER 5 Software Features 5Figure 5-0Listing 5-0Table 5-0 Thi d t t d ith F M k 4 0 4

Page 221 - Client Registration 9

CHAPTER 5 Software Features 62 ROM Software This chapter describes the new features of the software for the Macintosh PowerBook 5300 computer. It des

Page 222 - CSRegisterClient 9

CHAPTER 5 Software FeaturesROM Software 63 Memory Controller Software 5 The memory control routines have been rewritten to operate with the PBX memor

Page 224 - Miscellaneous Functions 9

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

Page 225 - CSValidateCIS 9

CHAPTER 5 Software FeaturesSystem Software 65 Trackpad Support 5 The trackpad hardware, the Power Manager IC, and the system software work together t

Page 226 - CSVendorSpecific 9

CHAPTER 5 Software Features 66 System SoftwareNote For those changes that affect the software, information about new or modified APIs is given elsewhe

Page 227 - GetCardInfo Parameter Block 9

CHAPTER 5 Software FeaturesSystem Software 67 System-Level Software 5 Several system components have been modified to use the 64-bit API to correctly

Page 228 - Miscellaneous Functions

CHAPTER 5 Software Features 68 System Software Limitations 5 The software modifications that support large partition sizes do not solve all the proble

Page 229 - Miscellaneous Functions 213

CHAPTER 5Software FeaturesSystem Software 69The DR Emulator provides a high degree of compatibility for 680x0 code. One area where compatibility will

Page 230

CHAPTER 5Software Features70 System SoftwareNoteThe new BlockMove extensions do not use the string instructions, which are fast on the PowerPC 601 but

Page 231 - PC Card Manager Constants 9

CHAPTER 5Software FeaturesSystem Software 71IMPORTANTDriver software cannot call the BlockMove routines directly. Instead, drivers must use the BlockC

Page 232 - PC Card Manager Constants

CHAPTER 5Software Features72 System SoftwarePOWER Emulation 5Earlier Power Macintosh computers included emulation for certain PowerPC 601 instructions

Page 233 - PC Card Manager Constants 217

CHAPTER 5Software FeaturesSystem Software 73IMPORTANTThe emulation software in the Macintosh PowerBook 5300 computer cannot make the separate caches i

Page 234

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

Page 235 - Glossary

CHAPTER 5Software Features74 System SoftwareDisplay Manager 5Until now, system software has used the NuBus-specific Slot Manager to get and set inform

Page 236 - GLOSSARY

CHAPTER 6 Large Volume Support 6Figure 6-0Listing 6-0Table 6-0 Thi d t t d ith F M k 4 0 4

Page 237

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

Page 238

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

Page 239

CHAPTER 6 Large Volume Support 78 The API Modifications struct XVolumeParam {ParamBlockHeaderunsigned long ioXVersion; // XVolumeParam version == 0sho

Page 240

CHAPTER 6 Large Volume SupportThe API Modifications 79 ioVNxtCNID The next unused catalog node ID. ioVFrBlk The number of unused allocation blocks. io

Page 241

CHAPTER 6Large Volume Support80 The API Modificationschar ioPermssn; // read/write permissionPtr ioMisc; // miscellaneousPtr ioBuffer; // data bufferun

Page 242

CHAPTER 6Large Volume SupportThe API Modifications 81New Extended Function 6This section describes the extended PBXGetVolInfo function that provides vo

Page 243

CHAPTER 6Large Volume Support82 The API ModificationsDESCRIPTIONThe PBXGetVolInfo function returns information about the specified volume. It is similar

Page 244

CHAPTER 6Large Volume SupportThe API Modifications 83ASSEMBLY-LANGUAGE INFORMATIONThe trap macro and routine selector for PBXGetVolInfo are:RESULT CODE

Comments to this Manuals

No comments