PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

Graphics Driver Routines

In the past, graphics drivers and Mac OS relied on a card's NuBus declaration ROM to get information on the card's capabilities. In PCI-based Power Macintosh computers, the programming interface for PCI graphics drivers lets the drivers provide the same information to the Mac OS.

Because of potential compilation problems, applications should avoid using high-level Device Manager routines when accessing PCI graphics drivers directly. Use the low-level PBOpen, PBClose, PBControlSync, and PBStatusSync routines (described in Inside Macintosh: Devices) instead of FSOpen, FSClose, Control, or Status.

The next sections detail the specific control and status calls to which a graphics driver must respond.

Control Calls

Gamma Table Implementation

Status Calls


© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)