Programming Guide: Revision 1.4 June 14, 1999 Ccopyright 1998 3Dfxo Interactive,N Inc
Total Page:16
File Type:pdf, Size:1020Kb
Voodoo3 High-Performance Graphics Engine for 3D Game Acceleration June 14, 1999 al Voodoo3ti HIGH-PERFORMANCEopy en GdRAPHICS E NGINEC FOR fi ot 3D GAME ACCELERATION on Programming Guide: Revision 1.4 June 14, 1999 CCopyright 1998 3Dfxo Interactive,N Inc. All Rights Reserved D 3Dfx Interactive, Inc. 4435 Fortran Drive San Jose CA 95134 Phone: (408) 935-4400 Fax: (408) 935-4424 Copyright 1998 3Dfx Interactive, Inc. Revision 1.4 Proprietary and Preliminary 1 June 14, 1999 Confidential Voodoo3 High-Performance Graphics Engine for 3D Game Acceleration Notice: 3Dfx Interactive, Inc. has made best efforts to ensure that the information contained in this document is accurate and reliable. The information is subject to change without notice. No responsibility is assumed by 3Dfx Interactive, Inc. for the use of this information, nor for infringements of patents or the rights of third parties. This document is the property of 3Dfx Interactive, Inc. and implies no license under patents, copyrights, or trade secrets. Trademarks: All trademarks are the property of their respective owners. Copyright Notice: No part of this publication may be copied, reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photographic, or otherwise, or used as the basis for manufacture or sale of any items without the prior written consent of 3Dfx Interactive, Inc. If this document is downloaded from the 3Dfx Interactive, Inc. world wide web site, the user may view or print it, but may not transmit copies to any other party and may not post it on any other site or location. Programming Examples: Sample programs in this book may be adapted, in part or in whole, for use in any equipment incorporating Voodoo3. Use in any equipment not incorporating Voodoo3 is expressly prohibited. Proprietary Information: This document contains proprietary information of 3Dfxal Interactive, Inc., and its receipt or possession does not convey any rights to reproduce, disclose its contents, or to manufacture, use or sell anything it may describe. Reproduction, disclosure or use without specific written authorization of 3Dfx Interactive, Inc., is strictly forbidden. ti opy en d C fi ot on C o N D Copyright 1998 3Dfx Interactive, Inc. Revision 1.4 Proprietary and Preliminary 2 June 14, 1999 Confidential Voodoo3 High-Performance Graphics Engine for 3D Game Acceleration Table of Contents Table of Contents..................................................................................................... 3 List of Tables.......................................................................................................... 12 List of Figures ........................................................................................................ 14 1 Introduction ................................................................................................. 15 1.1 Scope of Document ....................................................................................15 1.2 Document History ....................................................................................... 15 1.3 Devices Covered ......................................................................................... 15 1.4 Audience ..................................................................................................... 15 1.5 Conventions ................................................................................................ 15 1.5.1 Acronyms ......................................................................................................................... 15 1.5.2 Number Base ................................................................................................................... 15 1.5.3 Number/Color Formats .....................................................................................................16 1.5.4 Object Grouping ............................................................................................................... 16 1.5.5 Abbreviations .................................................................................................................... 16 2 Product Overview ........................................................................................ 18 2.1 Introduction ................................................................................................. 18 2.1.1 Voodoo Graphics Compatibility ........................................................................................ 18 2.1.2 3D Performance and Quality ............................................................................................ 18 2.1.3 Optimized for Pentium‚ II and AGP-2X Platformal .............................................................. 18 2.1.4 Windows‚ GUI/Video Acceleration .................................................................................... 18 2.1.5 DVD Acceleration ............................................................................................................. 18 2.2 Feature List .................................................................................................ti 18 2.2.1 General Features ............................................................................................................. 18 2.2.2 2D Acceleration .........................................................................................................opy ....... 19 2.2.3 3D Acceleration ................................................................................................................ 19 2.2.4 Video Acceleration ......................................................................................................en ..... 19 2.2.5 Host Interface ................................................................................................................... 19 2.2.6 Memory System ............................................................................................................... 20 2.2.7 Process and Package Technologyd ................................................................................... C 20 2.2.8 Software ........................................................................................................................... 20 3 VGA Core Registersfi ....................................................................................21 3.1 Overview .....................................................................................................ot 21 3.2 General Registers ....................................................................................... 24 3.2.1 Miscellaneous Output ....................................................................................................... 24 3.2.2 FC: Feature Control .......................................................................................................... 25 3.2.3 FEAT: Input Statuson Register 0 .......................................................................................... 25 3.2.4 STAT: Input Status Register 1 .......................................................................................... 26 3.2.5 Motherboard Enable (0x03C3) ......................................................................................... 26 3.2.6 Adapter EnableC (0x46E8) .................................................................................................o N 26 3.2.7 Subsystem Enable (0x0102) ............................................................................................ 27 3.3 CRT Controller Registers ............................................................................ 28 3.3.1 CRX: CRTC Index .........................................................................................................D ... 28 3.3.2 CR0: CRTC Horizontal Total ............................................................................................ 28 3.3.3 CR1: CRTC Horizontal Display Enable End ..................................................................... 29 3.3.4 CR2: CRTC Horizontal Blanking Start .............................................................................. 29 3.3.5 CR3: CRTC Horizontal Blanking End ............................................................................... 29 3.3.6 CR4: CRTC Horizontal Sync Start ................................................................................... 29 3.3.7 CR5: CRTC Horizontal Sync End ..................................................................................... 30 3.3.8 CR6: CRTC Vertical Total ................................................................................................ 30 Copyright 1998 3Dfx Interactive, Inc. Revision 1.4 Proprietary and Preliminary 3 June 14, 1999 Confidential Voodoo3 High-Performance Graphics Engine for 3D Game Acceleration 3.3.9 CR7: CRTC Overflow .......................................................................................................31 3.3.10 CR8: CRTC Preset Row Scan ......................................................................................... 32 3.3.11 CR9:CRTC Maximum Scan Line ...................................................................................... 32 3.3.12 CRA: CRTC Cursor Start ................................................................................................. 33 3.3.13 CRB: CRTC Cursor End ................................................................................................... 33 3.3.14 CRC: CRTC Screen Start Address High .......................................................................... 33 3.3.15 CRD: CRTC Screen