63 lines
3 KiB
HTML
63 lines
3 KiB
HTML
|
<HTML>
|
||
|
<HEAD>
|
||
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||
|
<META NAME="Generator" CONTENT="Microsoft Word 97">
|
||
|
<TITLE>S3</TITLE>
|
||
|
<META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
|
||
|
</HEAD>
|
||
|
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
|
||
|
<FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">S3</A> </H2>
|
||
|
|
||
|
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
||
|
Display sample driver implementation is covered in this sample. New technologies used include video memory management. <P>
|
||
|
|
||
|
The sample is a functional driver, rather than an example with partial code.<P>
|
||
|
|
||
|
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
||
|
To build the sample, use the DDK building tool. There are no special installation instructions or known build errors or warnings.<P>
|
||
|
|
||
|
The sample works on both x86 and alpha platforms and is 64-bit compliant. It builds properly with Visual C 6.0. Both checked and free builds are available. The sample does not support Plug and Play or Power Management. Once built, it produces one binary: S3legacy.dll. <P>
|
||
|
|
||
|
<H3>CODE TOUR</H3>
|
||
|
<H4>File Manifest</H4>
|
||
|
</FONT><U><PRE>File		Description
|
||
|
</U>
|
||
|
Bank.c	 All the banking code for the display driver.
|
||
|
Bitblt.c	High-level DrvBitBlt and DrvCopyBits functions
|
||
|
Bltio.c	 The low-level in/out blt functions
|
||
|
Bltmm.c	 The low-level memory-mapped IO blt functions
|
||
|
Brush.c	 Handles all brush/pattern initialization and realization
|
||
|
Ddraw.c	 Implements all the DirectDraw components for the driver
|
||
|
Debug.c	 Debug helper routines
|
||
|
Debug.h	 Debug helper routines header
|
||
|
Driver.h	Prototypes for the display driver
|
||
|
Enable.c	All functions that enable and disable the driver, the pdev, and the surface
|
||
|
Fastfill.c	Fast routine for drawing polygons that aren't complex in shape
|
||
|
Fillpath.c	The DrvFillPath routine
|
||
|
Heap.c	 All the routines for an off-screen video heap manager
|
||
|
Hw.h	 All the hardware specific driver file stuff
|
||
|
Lines.c	 Required GDI line support routines
|
||
|
Lines.h	 Line drawing constants and structures
|
||
|
Lineto.c	Line drawing routines
|
||
|
Makefile	Makefile required to build the driver
|
||
|
Misc.c	 Miscellaneous common routines
|
||
|
Palette.c	Color palette support
|
||
|
Pointer.c	The hardware pointer support for the display driver
|
||
|
Precomp.h	Common headers used throughout the display driver
|
||
|
Res.rc	 Resource file for the display driver
|
||
|
Sources	 The generic file for building the code sample
|
||
|
Str.c	 Routines for the partially hardware accelerated StretchBlt
|
||
|
Stretch.c	StretchBlt routines
|
||
|
Strips.c	Another line drawing routines
|
||
|
Textout.c	All text drawing routines
|
||
|
|
||
|
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
|
||
|
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
|
||
|
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
|
||
|
<P></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<FONT FACE="MS Sans Serif" SIZE=1><P>© 1998 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
|
||
|
</HTML>
|