ð Developer Note Developer Press Apple Computer, Inc. 1995 ð Developer Note Macintosh 630 DOS Compatible Computers Macintosh LC 630 DOS Compatible
x PREFACE For information about the Cx486DX2 microprocessor, refer to Cx486DX/DX2 3 and 5 Volt Microprocessors published by Cyrix Corporation.For
xi PREFACE Typographical Conventions 0 Computer-language text—any text that is literally the same as it appears in computer input or output—appears
xii PREFACE CGA Color Graphics AdapterCLUT color lookup tablecodec coder/decoderCPU central processing unitDAC digital-to-analog converterDC direct
CHAPTER 1 Introduction 1Figure 1-0Listing 1-0Table 1-0
CHAPTER 1 Introduction 2 Features The Macintosh 630 DOS Compatible computers are modified Macintosh LC 630, Macintosh Quadra 630, and Macintosh Perfor
CHAPTER 1 IntroductionFeatures 3 Sound Blaster cards. Sounds are played through the host computer’s sound output jack and built-in speaker. Serial
CHAPTER 1 Introduction 4 How the DOS Compatibility Subsystem WorksNotice that the Macintosh 630 DOS Compatible computer has greater sound and network
CHAPTER 1IntroductionHow the DOS Compatibility Subsystem Works 5Outline of Operation 1Figure 1-2 shows a simplified block diagram of the DOS compatibil
CHAPTER 1Introduction6 How the DOS Compatibility Subsystem WorksI/O Capabilities 1The DOS compatibility subsystem uses I/O devices built into or conne
CHAPTER 1IntroductionHow the DOS Compatibility Subsystem Works 7The Macintosh serial ports are RS-422 ports and do not support all the RS-232 signals.
ð Apple Computer, Inc. 1995 Apple Computer, Inc.All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,
CHAPTER 1Introduction8 How the DOS Compatibility Subsystem WorksSound 1Sound is generated on the DOS compatibility subsystem either by the 8254 interv
CHAPTER 1IntroductionHow the DOS Compatibility Subsystem Works 9Figure 1-3 Installing the joystick
CHAPTER 2Hardware Design 2Figure 2-0Listing 2-0Table 2-0
CHAPTER 2Hardware Design12The DOS compatibility subsystem contains three printed circuits cards: the main compatibility card, the game adapter card, a
CHAPTER 2Hardware DesignProcessor and Memory Components 13Figure 2-1 Detailed block diagram Processor and Memory Components 2The processor and memory
CHAPTER 2Hardware Design14 Processor and Memory ComponentsSome of the key features of the Cx486DX2 are listed below. Please refer to Cx486DX/DX2 3 and
CHAPTER 2Hardware DesignProcessor and Memory Components 15The 680x0 microprocessors use big-endian byte addressing and the 80x86 microprocessors use l
CHAPTER 2Hardware Design16 Processor and Memory ComponentsInterrupts 2The 84031 and 84035 ICs, described in later sections, are responsible for genera
CHAPTER 2Hardware DesignProcessor and Memory Components 17The source of the Macintosh interrupt (SLOT_E signal) is the Pretzel Logic IC (described on
iiiContents Figures and Tables vii Preface About This Note ixContents of This Note ixSupplementary Documents ixObtaining Information From APDA xConve
CHAPTER 2Hardware Design18 Processor and Memory ComponentsThe Macintosh system bus on the Macintosh Quadra 630 computer can support three bus masters.
CHAPTER 2Hardware DesignProcessor and Memory Components 19DRAM Control 2The DRAM on the card is directly interfaced to the local data bus. The /RAS, /
CHAPTER 2Hardware Design20 Processor and Memory ComponentsISA Bus Control 2The 84031 memory controller IC handles all accesses to the ISA bus by the C
CHAPTER 2Hardware DesignVideo Components 21Keyboard reset and shutdown are sent to the 84035 data path controller through the control link from the 84
CHAPTER 2Hardware Design22 Video ComponentsSharing a Monitor 2Video output from the DOS compatibility subsystem is displayed on a monitor shared with
CHAPTER 2Hardware DesignVideo Components 23Monitor Sense Lines 2The host computer detects the monitor type by way of sense lines in the video cable. I
CHAPTER 2Hardware Design24 Video ComponentsNoteThe DOS compatibility subsystem can operate with a 17-inch (or larger) monitor. With a large monitor, t
CHAPTER 2Hardware DesignVideo Components 25To accommodate the various VGA and SVGA modes on the Macintosh monitors, the video controller must have its
CHAPTER 2Hardware Design26 I/O ComponentsI/O Components 2The I/O components in the DOS compatibility subsystem are the Pretzel Logic IC and the 8242 k
CHAPTER 2Hardware DesignI/O Components 27The second DMA channel is used to perform I/O data transfers between Macintosh peripherals and PC memory. Thi
iv Clock Generation 19ISA Bus Control 2084035 Data Path Controller 20Clocks 20System Reset 20Interrupt Control 21Portola Bus Adapter IC 21Burst Trans
CHAPTER 2Hardware Design28 I/O ComponentsKeyboard and Mouse Emulation 2The Pretzel Logic IC emulates in hardware the PC’s keyboard and mouse. The 8242
CHAPTER 2Hardware DesignGame Adapter Card 29Game Adapter Card 2The game adapter card contains the declaration ROM and the game controller port. The ga
CHAPTER 2Hardware Design30 Subsystem Connectors a Sound Blaster–compatible mixer with AGC a control interface for the FM synthesizer ICThe CT2501 so
CHAPTER 2Hardware DesignSubsystem Connectors 31the signals on the card’s 68040 socket are connected directly to the corresponding pins on the 68040 he
CHAPTER 2Hardware Design32 Subsystem ConnectorsAudio and Video Connector 2A ribbon cable carries the audio and video signals from the main compatibili
CHAPTER 3The PC Interface Driver 3Figure 3-0Listing 3-0Table 3-0
CHAPTER 3The PC Interface Driver34 Initializing the DriverThe PC Interface driver provides communication and control between the Macintosh Operating S
CHAPTER 3The PC Interface DriverConfiguring the PC 35rsSetMemoryConfig 3You can use the rsSetMemoryConfig control call to make memory on the Macintosh c
CHAPTER 3The PC Interface Driver36 Configuring the PCIf the value of type is rsNULLDrive, the corresponding drive does not exist to the PC and no other
CHAPTER 3The PC Interface DriverConfiguring the PC 37The caller can use the returned pointer to modify an entry in the RSNetDriveConfig data structure
v rsSetComPortConfig 37rsSetParallelPortConfig 38rsSetDeactivateKey 39Control and Status Calls 39rsPCStatus 40rsBootPC 41rsResetPC 41rsEnableVideo 41rs
CHAPTER 3The PC Interface Driver38 Configuring the PCWhen a PC port is connected to the null device, any output from the PC is ignored.When a PC port i
CHAPTER 3The PC Interface DriverControl and Status Calls 39rsSetDeactivateKey 3You can use the rsSetDeactivateKey control call to set the deactivate k
CHAPTER 3The PC Interface Driver40 Control and Status CallsrsPCStatus 3You can use the rsPCStatus status call to get information about the state of t
CHAPTER 3The PC Interface DriverControl and Status Calls 41rsBootPC 3You can use the rsBootPC control call to start up the PC. This call resets the P
CHAPTER 3The PC Interface Driver42 Control and Status CallsrsDisableVideo 3You can use the rsDisableVideo control call to disable the VGA display out
CHAPTER 3The PC Interface DriverControl and Status Calls 43rsActivateKB 3You can use the rsActivateKB control call to direct the data from the comput
CHAPTER 3The PC Interface Driver44 Detecting ErrorsrsEndPrintJob 3You can use the rsEndPrintJob control call to end the current print job and close t
CHAPTER 3The PC Interface DriverPassing Messages 45The events arersPrintSpoolErr = problem opening or writing to a print spool filersCOM1SpoolErr = pr
CHAPTER 3The PC Interface Driver46 Passing MessagesPC Interface 3Programs on the PC communicate with the PC Interface driver through a software interr
CHAPTER 3The PC Interface DriverPassing Messages 47Sending a Message 3To send a message, you must pass a message parameter block (MsgPBlk) to the PC I
CHAPTER 3The PC Interface Driver48 Passing MessagesOn the PC 3The MsgPBlk data structure on the PC has the following format. Please note that the siz
CHAPTER 3The PC Interface DriverPassing Messages 49A message handler is described by a MsgRecElem record. The recProc field points to the handler proce
CHAPTER 3The PC Interface Driver50 Passing MessagesOn the PC 3For a program on the PC, the MsgRecElem data structure has the following format: MsgRec
CHAPTER 3The PC Interface DriverHeader File for PC Interface 51On the PC 3To remove a message handler on the PC, your program makes a call to INT 5Fh
CHAPTER 3The PC Interface Driver52 Header File for PC Interface/*----------------------------------------------------------------------------; Misc. E
CHAPTER 3The PC Interface DriverHeader File for PC Interface 53ProcPtr ioCompletion; // completion routine addr (0 for synch calls)OSErr ioResult; /
CHAPTER 3The PC Interface Driver54 Header File for PC InterfacersSharedEnabled = 32, // Mask for Shared Memory EnabledrsDMAEnabled = 64, // Mask for D
CHAPTER 3The PC Interface DriverHeader File for PC Interface 55/*----------------------------------------------------------------------------; Mouse;-
CHAPTER 3The PC Interface Driver56 Header File for PC Interface// Parameter Block data structurestypedefstruct{short type; // The port type (rsModemCo
CHAPTER 3The PC Interface DriverHeader File for PC Interface 57// Fixed Drive Array Index Numbersenum{rsDriveA = 0, // Floppy Drive A:rsDriveB = 1, //
vii Figures and Tables Preface About This Note ix Chapter 1 Introduction 1 Table 1-1 Comparison with a midrange PC 3 Figure 1-1 The DOS compatibility
CHAPTER 3The PC Interface Driver58 Header File for PC Interface// Data Structuretypedef struct{char status; // 0 = unusable, - = inuse, + = can be use
CHAPTER 3The PC Interface DriverHeader File for PC Interface 59typedef struct MsgRecElem {struct MsgRecElem* recQLink; // Next queue elementshort recQ
CHAPTER 3The PC Interface Driver60 Header File for PC Interface// Status Codesenum{rsEventSample = 1100 // Sample data on an event};/*----------------
CHAPTER 3The PC Interface DriverHeader File for PC Interface 61#define NewPCCardNotifyProc(userRoutine) \(PCCardNotifyUPP)((userRoutine))#endif/*----
63IndexNumerals16C450 serial port IC 2768040 microprocessor 2, 1880486DX2 microprocessor 2, 148242 keyboard and mouse controller IC 288254 interval ti
INDEX64Hhard disk 6hot key, to switch to PC operation 7Iinterrupt control 21interrupts 16interrupt status register 17I/O components 26–28I/O devices 6
INDEX65rsGetNetDriveConfig routine 36rsSetComPortConfig routine 37rsSetDeactivateKey routine 39rsSetDriveConfig routine 35rsSetMemoryConfig routine 35
THE APPLE PUBLISHING SYSTEMThis Apple manual was written, edited, and composed on a desktop publishing system using Apple Macintosh computers and Fram
ix PREFACE About This Note This developer note describes the Macintosh 630 DOS compatible computer, a Macintosh computer with a built-in 486-type mi
Comments to this Manuals