3Dlabs Permedia2 Video Miniport Driver

SUMMARY

This is a video miniport driver for graphics adapters based on the 3Dlabs Permedia 2 chipset. It supports Plug and Play and Power Management. Note that this miniport driver forms a matched pair with the 3Dlabs display driver sample in \Ntddk\Src\Video\Displays\3dlabs. The miniport driver is responsible for nonrendering tasks such as adapter initialization, register mapping, and other resource allocation, whereas the display driver handles actual rendering tasks.

The sample runs on the x86 platform and builds properly with Microsoft® Visual C® 6.0. It is 64-bit compliant.

The binary build from this sample is cross-platform compatible: it runs on Microsoft® Windows® 2000 and Windows NT® 4.0.

BUILDING THE SAMPLE

Type build -zc. A successful build produces the video miniport driver Perm2.sys.

CODE TOUR

File Manifest

File		Description

Interupt.c     Interrupt handling functions
Interupt.h     Data structures for Interrupt.c
Makefile       Driver makefile
P2rd.h         Definitions and macros for P2RD DAC
Pciprobe.c     PCI-related functions
Perm2tag.h     Definition Permedia 2 registers
Perm2ver.h     Version information
Permdata.c     Initialization data and functions for supported display modes 
Permedia.c     Contains most of the major driver functions, such as Permedia2FindAdapter and Permedia2StartIO
Permedia.h     Definition for Permedia.c
Permedia.rc    Version/legal related definitions
Permmem.c      ROM-related functions
Power.c        Power management functions
Sources        The generic file for building the code sample
Tvp4020.h      Definitions and macros for TVP4020 DAC
Video.c        Video initialization functions

© 1999 Microsoft Corporation