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


  

GetBaseAddress (csCode = 5)

The required GetBaseAddress routine returns the base address of a specified page in the current mode.

OSErr = Status(theDeviceRefNum, cscGetBaseAddr, &theVDPageInfo );
-- csMode
Unused
-- csData
Unused
--> csPage
Desired page
<-- csBaseAddr
Base address of VRAM for the desired page

The GetBaseAddress routine lets video pages be written to even when they are not displayed.


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