S3 Flat Memory Model Windows 3.1
Driver Version 2.1 Documentation


This document contains instructions for installing the S3{SYMBOL 212 \f "Symbol"} Windows{SYMBOL 212 \f "Symbol"} 3.1 drivers and building the source code. 

In general, the instructions apply equally to the S3 86C801, 86C805, 86C928 and chips belonging to the same families, e.g., PS86C805 and 86C928PCI. Where an instruction applies to a particular chip or chips, this is noted.



















No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written consent of S3 Incorporated, 2770 San Tomas Expwy., Santa Clara CA 95051-0968. S3, the S3 Corporate Logo and True Acceleration are trademarks of S3 Incorporated. Other trademarks referenced in this document are owned by their respective companies. The material in this document is for information only and is subject to change without notice. S3 Incorporated reserves the right to make changes in the product design without reservation and without notice to its users.

Installation Instructions

1)	Exit Windows.
2)	From the DOS prompt (eg. C:\>), change to the Windows directory. 
3)	Type and enter "setup".
4) 	After setup has executed you will be presented with a screen which shows the current Windows configuration. Move the highlighted selection bar to the Display entry and press Enter.
5)	The screen lists the available display adapters which you may select for use with Windows. Move the highlight bar down to the entry marked "Other (Requires disk provided by a hardware manufacturer)". Insert the S3 diskette in the appropriate drive. Type in the source drive of the S3 Windows 3.1 Driver diskette.
6)	Select the desired screen resolution and press Enter. Setup will copy files from the diskette into your Windows directories. You may be prompted for the "S3 Driver Disk (\files subdirectory)." When this happens, enter "A:\" if this diskette is in the A: drive.  
	If a "Problem with disk drive A:" message is displayed and the installation disk is in drive B, press ESC twice and re-enter "B:" in the space provided.
	Note: 1152x864x8 is an 80x Rev. C and 928 Rev. E/G mode only. 1280x1024x16 is a 928 Rev. E/G mode only.
7)	When Setup is complete, you are returned to the DOS prompt. Type "win" to start Windows.
Source Build Instructions

To build the S3 Windows display driver 2.1 and its virtual display driver, ensure the following executable files/tools are set up correctly in your PC environment :
{SYMBOL 183 \f "Symbol" \s 10 \h}	Microsoft Macro Assembler 6.1 or later
{SYMBOL 183 \f "Symbol" \s 10 \h}	Microsoft Linker Version 5.5 or later
{SYMBOL 183 \f "Symbol" \s 10 \h}	NMAKE utility Version 1.3 or later
{SYMBOL 183 \f "Symbol" \s 10 \h}	Resource Compiler Version 3.1 or later

First, copy all the files in the following directories from the driver diskette to your hard drive. 

  	\source - source code to build the display driver 
	\resource - resource files for the display driver 
	\vdd - source code to build the virtual display driver 
	\include - include files to build the VDD

Unzip zipped files under each sub-directory.


Obtain the following files from MASM 6.1 and the Microsoft Windows 3.1 Driver Development Kit (DDK) and copy them to the indicatated subdirectories

	\tools - 32-bit linker and tools to build the VDD  (DDK 3.1)
	\lib - sdllcew.lib (DDK 3.1) & libw.lib (MASM 6.1) to build the display driver 

At this point, there should be 5 sub-directories in your build directory.

To build the display driver which uses the internal hardware cursor (AT&T RAMDAC), go to the \source sub-directory and issue the following commands :

	copy s3911.nbt s3911.asm
	nmake

After makefile is done, the driver is in the \source\objs directory .

To build the display driver which uses the 928 Brooktree external hardware cursor, go to the \source sub-directory and issue the following commands :  

	copy s3911.nbt s3911.asm
	nmake

After makefile is done, the driver is in the \source\objs directory. Re-name this driver from s3flat.drv to s3flatbt.drv.

Note : Before building the display driver, please re-name the file cmacros.inc in your include directory to cmacros.6

To build the VDD, go to \vdd sub-directory and type

	nmake

After makefile  is done, the driver is in the \vdd\objs directory. Re-name this driver from vddvga.386 to vdds3911.386. 





Design Guide

86C928 Local Bus Interface





	Page {PAGE|1}





S3 Flat Memory Mode Windows 3.1

Driver Version 2.1 Documentation

	


S3 Incorporated, 2770 San Tomas Expwy., Santa Clara, CA 95051-0968	Printed in USA 8/93
Telephone: 408-980-5400, FAX: 408-980-5444	SG002-A




S3 Flat Memory Mode Windows 3.1

Driver Version 2.1 Documentation







S3 Flat Memory Mode Windows 3.1

Driver Version 2.1 Documentation




Page {PAGE|2}	

	Page {PAGE|3}



S3 Incorporated, 2880 San Tomas Expwy., Santa Clara, CA 95051-0981	Revised 8/1/92
Telephone: 408-980-5400, FAX: 408-980-5444	DG04-1.0

S3 Incorporated, 2880 San Tomas Expwy., Santa Clara, CA 95051-0981	8/7/92
Telephone: 408-980-5400, FAX: 408-980-5444	DG04-1.0




S3 Flat Memory Mode Windows 3.1

Driver Version 2.1 Documentation

	


S3 Incorporated, 2770 San Tomas Expwy., Santa Clara, CA 95051-0968	Printed in USA 8/93
Telephone: 408-980-5400, FAX: 408-980-5444	SG002-A


