ð Developer Note 4/17/96Developer Press© Apple Computer, Inc. 1996 ð Developer Note 12” and 7” PC Compatibility Cards
x PREFACE Conventions and Abbreviations 0 This developer note uses the following typographical conventions and abbreviations. Typographical Convent
INDEX86rsSetNotificationProc 81rsSetParallelPortConfig 80rsSpoolComPort 80control calls 63conventions xDDAC (digital-to-analog converter) 22, 24DAP (d
INDEX87M, N, OMacintosh-PC interface 2Mac MsgBlk ≠ PC MsgBlk 81memory capabilities 5memory controller 18message handlerinstalling 75removing 78message
INDEX88rsGetNetDriveConfig 59, 80rsInstallMsgHandler 81rsLastError 71rsModemComPort 80rsMountDisks 66rsMsgOverrun 81rsPCStatus 64rsPrinterComPort 80rs
THE APPLE PUBLISHING SYSTEMThis Apple manual was written, edited, and composed on a desktop publishing system using Apple Macintosh computers and Fram
xi PREFACE FM frequency modulationGIMO Graphics Internal Monitor OutHz hertzIC integrated circuitI/O input/outputIRQ interrupt requestISA Industry St
xii PREFACE Other Reference Material 0 This developer note assumes that you are familiar with Apple Macintosh computers and PC-compatible computers
xiii PREFACE Apple Developer CatalogApple Computer, Inc.P.O. Box 319Buffalo, NY 14207-0319Telephone 1-800-282-2732 (United States)1-800-637-0029 (Can
CHAPTER 1 Introduction 1Figure 1-0Listing 1-0Table 1-0
CHAPTER 1 Introduction 2 The 12” and 7” PC Compatibility Cards are x86-based cards. You can plug the 7" card into any Macintosh computer that ha
CHAPTER 1 IntroductionPhysical Size 3 Figure 1-1 Simplified block diagram of PC and Macintosh functionsPhysical Size 1The 12" card is a full-siz
CHAPTER 1Introduction4 Overview of Functional CapabilitiesFigure 1-2 12" card dimensionsFigure 1-3 7" card dimensionsOverview of Functional
CHAPTER 1IntroductionOverview of Functional Capabilities 5Processor Capabilities 1The 12" card has a Pentium-class microprocessor that operates a
ð Apple Computer, Inc.© 1996, Apple Computer, Inc.All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, o
CHAPTER 1Introduction6 Overview of Functional Capabilities▲WARNINGDo not connect a monitor or other video device to the DB15 connector on the 12” and
CHAPTER 1IntroductionOverview of Functional Capabilities 7Floppy Disk Drive 1The Mac OS provides support that allows the cards to access the Macintosh
CHAPTER 1Introduction8 Overview of Functional CapabilitiesJoystick and MIDI Devices 1You can connect a PC-compatible joystick to the DB15 (15-pin) con
CHAPTER 2Hardware Design 2Figure 2-0Listing 2-0Table 2-0
CHAPTER 2Hardware Design10 Hardware OverviewAs described in Chapter 1, there are two versions of the PC Compatibiity Card: the 12” version and the 7”
CHAPTER 2Hardware DesignHardware Overview 11 The PC chip set, which provides a controller for memory, for the PCI bus, and for the ISA bus.the 12” ca
CHAPTER 2Hardware Design12 Hardware OverviewFigure 2-2 7" card with featured ICsSide ASide BSlot for DIMMAudio ICYamaha OPL3FM synthesizer85C497
CHAPTER 2Hardware DesignHardware Overview 13Figure 2-3 Detailed block diagram—12” card PCI muxedaddress/data busMacintoshPCI busconnector[31:0]Dat
CHAPTER 2Hardware Design14 Hardware OverviewFigure 2-4 Detailed block diagram—7"PCI muxedaddress/data busMacintoshPCI busconnector[31:0]Data
CHAPTER 2Hardware DesignHardware Features 15Hardware Features 2This section describes the microprocessors on each card, PCI bus and bus devices, cache
NOT USED iiiContents Figures and Tables vii Preface About This Note ixWhat This Note Contains ixConventions and Abbreviations xTypographical Conventi
CHAPTER 2Hardware Design16 Hardware FeaturesByte Order 2There are two ways of defining the order in which bytes of data are addressed. Big endian is a
CHAPTER 2Hardware DesignHardware Features 17a mechanism that allows each device (keyboard, serial port, and so forth) to interrupt the CPU asynchronou
CHAPTER 2Hardware Design18 Hardware Featureskeyboard is still responding, you can restart the PC system using the Ctl-Alt-Del key sequence on the PC k
CHAPTER 2Hardware DesignHardware Features 1912” Card Memory Control—DRAM and External Cache 2Basic memory for the 12” card is provided by four 2 MB DR
CHAPTER 2Hardware Design20 Hardware Features7” Card Memory Control—DRAM and External Cache 2DRAM for the 7” card is provided by a 168-pin DIMM that ac
CHAPTER 2Hardware DesignHardware Features 21NoteThe 12” and 7” cards have different BIOS because they have different microprocessors and chip sets. ◆
CHAPTER 2Hardware Design22 Video SystemVideo System 2The 12” and 7” cards in conjunction with video cards provide a complete video system to support P
CHAPTER 2Hardware DesignVideo System 23NoteThe modes listed in Table 2-4 apply to the PC display connected to the system, or to the second Macintosh d
CHAPTER 2Hardware Design24 Audio SystemVideo Timing 2To accommodate the various VGA and SVGA modes on the Macintosh monitors, the video controller mus
CHAPTER 2Hardware DesignAudio System 25Audio IC 2The Creative Vibra 16S IC provides 16-bit audio support. It is compatible with Sound Blaster 16 and w
iv System Reset 21Video System 22Connecting the Monitor 22Monitors Supported 22Video Timing 24Video ICs 24Audio System 24Audio IC 25Sound Synthesizer
CHAPTER 2Hardware Design26 I/O SystemI/O System 2The interface between the Macintosh computer and the 12” and 7” cards is provided by the PCI connecto
CHAPTER 2Hardware DesignI/O System 27pins that carry these signals on PC-style DB9 and DB25 connectors, and the signal names on the RS-232 connector.
CHAPTER 2Hardware Design28 Audio and Video I/O Support“Passing Messages” beginning on page 72 for a description of the software API used for passing m
CHAPTER 2Hardware DesignAudio and Video I/O Support 29Figure 2-8 GIMO connectors and Berlin adapter cardTo make the connection, you plug the GIMO conn
CHAPTER 2Hardware Design30 Audio and Video I/O SupportFigure 2-9 I/O connections to Power Macintosh 7200Loop-Back Video Support 2The Power Macintosh 7
CHAPTER 2Hardware DesignAudio and Video I/O Support 31Figure 2-10 I/O connections to Power Macintosh 7500 and 8500 Main circuit board(no GIMO connect
CHAPTER 2Hardware Design32 Audio and Video I/O SupportFigure 2-11 I/O connections for Power Macintosh 9500Audio I/O Support 2The 12” and 7” cards have
CHAPTER 3I/O Specifications 3Figure 3-0Listing 3-0Table 3-0
CHAPTER 3I/O Specifications34The 12” and 7” PC Compatibility Cards interface with other elements in the system, such as the main CPU, the monitor, soun
CHAPTER 3I/O SpecificationsPCI Connector 35Figure 3-2 Locations of I/O connectors for the 7” cardPCI Connector 3The PCI local bus is a bus architecture
v rsDisableVideo 65rsMountDisks 66rsDontMountDisks 67rsActivateKB 67rsDeactivateKB 68rsBeginMouseTracking 68rsEndMouseTracking 69rsEndPrintJob 69Dete
CHAPTER 3I/O Specifications36 PCI ConnectorFigure 3-3 PCI bus signals used in the 12” and 7” cardsTable 3-1 PCI bus specifications Feature DescriptionB
CHAPTER 3I/O SpecificationsPCI Connector 37With respect to the pin assignments and signal descriptions listed in Table 3-2, you should note the followi
CHAPTER 3I/O Specifications38 PCI Connector Table 3-2 PCI connector pin assignments Pin number Signal DescriptionA6 IRQ L This is a maskable interrup
CHAPTER 3I/O SpecificationsPCI Connector 39A36 TRDY L This is the target-ready signal. When it is asserted, it indicates that the selected device, in t
CHAPTER 3I/O Specifications40 PCI ConnectorA54 AD(6) Address/data bit 6.A55 AD(4) Address/data bit 4.A57 AD(2) Address/data bit 2.A58 AD(0) Address/dat
CHAPTER 3I/O SpecificationsPCI Connector 41B37 DEVSEL L This is the device select signal. When a device has decoded the device address and recognizes i
CHAPTER 3I/O Specifications42 PCI ConnectorA1 GND(TRST L)On the 12” and 7” cards, this pin is connected to ground. On the PCI bus, it may be used for T
CHAPTER 3I/O SpecificationsPCI Connector 43A21, A27, A33, A39, A45, A53, B25, B31, B36, B41, B43, B54Not connected (+3.3 V)On the 12" and 7"
CHAPTER 3I/O Specifications44 PCI ConnectorTable 3-3 shows how the bus command and byte enable (CBE(3:0)) signals are encoded.B40 Not connected (PERR L
CHAPTER 3I/O SpecificationsDB26 Connector 45DB26 Connector 3The DB26 connector allows you to connect a monitor to the PC system. It is used with CPUs t
CHAPTER 3I/O Specifications46 DB15 Connector (Game Port)DB15 Connector (Game Port) 3The DB15 connector allows you to connect MIDI devices to the card.
CHAPTER 3I/O SpecificationsAudio Connectors 47Figure 3-1 on page 34 and Figure 3-2 on page 35 show the location of this connector on the 12" and 7
CHAPTER 3I/O Specifications48 DIMM Connector lists the pin assignments and signal descriptions for the four-pin audio connectors, JST part number B-4B-
CHAPTER 3I/O SpecificationsDIMM Connector 498 MD(5) Data bit 5 D(5) Data bit 59 MD(6) Data bit 6 D(6) Data bit 610 MD(7) Data bit 7 D(7) Data bit 713 M
CHAPTER 3I/O Specifications50 DIMM Connector55 MD(18) Data bit 18 D(18) Data bit 1856 MD(19) Data bit 19 D(19) Data bit 1957 MD(20) Data bit 20 D(20) D
CHAPTER 3I/O SpecificationsDIMM Connector 51112 CAS(1) Column address strobe byte 1BCAS(1) Column address strobe byte 1113 CAS(3) Column address strobe
CHAPTER 3I/O Specifications52 XD ConnectorXD Connector 3A 50-pin connector on the cards provides limited unbuffered access to the ISA bus. This enables
CHAPTER 3I/O SpecificationsXD Connector 53then connecting a hardware key to the expansion card. The XD connector may also be used for a sound expansion
CHAPTER 3I/O Specifications54 XD Connector28 SA(1) S address bit 130 SA(0) S address bit 031 DACK(3) DMA acknowledge 332 TC Terminate count33 BALE Bus
CHAPTER 4Software Support 4Figure 4-0Listing 4-0Table 4-0
vii Figures and Tables Chapter 1 Introduction 1 Figure 1-1 Simplified block diagram of PC and Macintosh functions 3 Figure 1-2 12" card dimension
CHAPTER 4Software Support56 Initializing the Interface DriverThe interface driver for the 12” and 7” PC Compatibility Cards controls communication bet
CHAPTER 4Software SupportConfiguring the PC System 57Configuring the PC System 4An application running on the Mac OS can use the interface driver to con
CHAPTER 4Software Support58 Configuring the PC SystemThe RSFixedDriveConfig data structure pointed to by csParam is shown below.Field descriptionsRSFix
CHAPTER 4Software SupportConfiguring the PC System 59rsGetNetDriveConfig 4You can use the rsGetNetDriveConfig control routine to obtain configuration da
CHAPTER 4Software Support60 Configuring the PC SystemrsSetNetDriveConfig 4You can use the rsSetNetDriveConfig control routine to establish links betwee
CHAPTER 4Software SupportConfiguring the PC System 61A pointer to an RSComConfig data structure is passed in the csParam field.Field descriptionsRSComFi
CHAPTER 4Software Support62 Configuring the PC SystemrsSetParallelPortConfig 4You can use the rsSetParallelPortConfig control routine to set the configur
CHAPTER 4Software SupportControl and Status Calls 63keyboard, the driver monitors the keyboard input data for the deactivate key combination and calls
CHAPTER 4Software Support64 Control and Status Calls terminate print spooling from the PC systemIn some instances, for example, in the case of bits 0
CHAPTER 4Software SupportControl and Status Calls 65rsEnableVideo 4You can use the rsEnableVideo control routine to enable the VGA display output. You
viii Chapter 4 Software Support 55 Table 4-1 PC status word 64 Table 4-2 Return codes for PC printing or serial communication errors 70 Table 4-3 Spe
CHAPTER 4Software Support66 Control and Status CallsParameter block—> indicates input to the driver<— indicates output from the driverrsMountDis
CHAPTER 4Software SupportControl and Status Calls 67rsDontMountDisks 4You can use the rsDontMountDisks control routine to stop the interface driver fr
CHAPTER 4Software Support68 Control and Status CallsrsDeactivateKB 4You can use the rsDeactivateKB control routine to stop transmission of keyboard da
CHAPTER 4Software SupportControl and Status Calls 69rsEndMouseTracking 4You can use the rsEndMouseTracking control routine to direct the mouse movemen
CHAPTER 4Software Support70 Detecting ErrorsDetecting Errors 4Applications running on the Mac OS can use the routines described in this section to det
CHAPTER 4Software SupportDetecting Errors 71Upon return, the parameters are set as follows:The caller passes a pointer to the user-defined procedure an
CHAPTER 4Software Support72 Passing MessagesPassing Messages 4Applications running on the Mac OS and the PC system can send messages to each other by
CHAPTER 4Software SupportPassing Messages 73calling the driver with a 32-bit selector that is defined in both applications and with a count of the numb
CHAPTER 4Software Support74 Passing MessagesAfter the message has been sent, the msgResult field is set to 0 (no error) or -3 (MsgTimeout). The msgActC
CHAPTER 4Software SupportPassing Messages 75NoteDeferred time refers to deferred task time. Hardware and software interrupts occur all the time. The s
ix PREFACE About This Note The 12” and 7” PC Compatibility Cards are x86-based microprocessor cards that you can plug into any Macintosh computer tha
CHAPTER 4Software Support76 Passing Messagesstructure. The driver passes the message’s 16-bit command and the two 32-bit parameters to your message ha
CHAPTER 4Software SupportPassing Messages 77Parameter block—> indicates input to the driver<— indicates output from the driverWhen your message
CHAPTER 4Software Support78 Gestalt Selectorcalled at interrupt time with interrupts turned off. It can use registers AX, BX, CX, DX, DI, SI, ES, and
CHAPTER 4Software SupportGestalt Selector 79pc (pc followed by two spaces). Only 4 bits of the word are currently in use, as shown below. The remain
CHAPTER 4Software Support80 Summary of ConstantsSummary of Constants 4Table 4-4 provides a summary of the constants associated with the routines descr
CHAPTER 4Software SupportMessaging Code Samples 81Messaging Code Samples 4This section summarizes the code associated with messages being passed from
CHAPTER 4Software Support82 Messaging Code SamplesSupplementary Information 4The value cmdCount is needed to register a message. It contains the numbe
CHAPTER 4Software SupportMessaging Code Samples 83pbp.csCode = rsSendMessage; = 800// The message you wish to passpbp.csPtr = pMsg;err = PBControl((Pa
85IndexNumerals8242 keyboard/mouse controller 27Aabbreviations xaddress translation 21ADP (audio digital processor) 25APDA addresses xiiarbitration pr
Kommentare zu diesen Handbüchern