MGA (Matrox Graphics Architecture) MGA ATLAS Specification
Total Page:16
File Type:pdf, Size:1020Kb
MGA (Matrox Graphics Architecture) MGA ATLAS Specification Revision 1 April I, 1994 Manual No. 10348-MS ER GRAPHICS Trademarks Ma&#’ is a registered trademark of Matrox Electronic Systems Ltd. MGA,N ATLAS,‘” TITAN,m ATHENA,m , STORMF DUB/Cm MGA Marvel,m MGA VideoPro,” OCDPm MGA Dynaview,TM Pixe/TOUCH,m MGA Control Panel,TM ModeSWITCH, TM ConsistentColor,m and WinSgueeze.m are trademarks of Matrox Electronic Systems Ltd. IBM,@ VGA,@ CGA,@ 8514/A,@ and MDA@ are registered trademarks of International Business Machines Corporation; Micro Channel (MCA)m is a trademark of International Business Machines Corporation Hercules@ is a registered trademark of Hemules Computer Techndogy Inc. lntefs is a registered trademark, and 386,TM 486,TM Pentium,TM and 80387 TM are trademarks of Intel Corporation Windowsm is a trademark of Microsoft Cotporation;Microsof* MS-DOS,@ and OS/p are registered trademarks of Microsoft Corporation AutoCAD@ is a registered trademarkof Autodesk Inc. RAMDACTM is a trademark of Brook&e All other nationally and internationally recognized trademarks and tradenames used in this manual are hereby acknowledged. This document contains confidential proprietary information that may not be disclosed without written permission from Matrox Electronic Systems Ltd. @ Copyright Matrox Electronic Systems Ltd., 1993, 1994. All rights reserved. Disclaimer: Matmx Electronic Systems Ltd. reserves the rfght to make changes in specir%ations at any time and without notice. The information provided by this document is believed to be accurate and reliable. However; no responsibility is assumed by Matrox Electronic Systems Ltd. for its use; nor for any infingements of patents or other nghts of third parties resuiting from its use. No license is granted under any patents orpatent rights of Matrox Electronic Systems Ltd. Matrox Confidential Contents Chapter 1: MGA Product Overview 1.1 Introduction ........................................................................................................................................ l-2 1.1.1 MGA Chipset ................................................................................................................................... l-2 1.1.2 Features............................................................................................................................................ l-3 1.1.3 Driver Support ................................................................................................................................. l-3 1.1.4 Windows Support ............................................................................................................................ l-3 . 1.1.5 Video Support .................................................................................................................................. 1-4 1.1.6 Documentation ................................................................................................................................ l-4 Chapter 2: ATLAS Overview 2.1 Introduction ........................................................................................................................................ 2-2 2.1 .l Bus Interface.................................................................................................................................... 2-2 2.1.2 VGA ................................................................................................................................................ 2-2 2.1.3 Bus Interface FIFO (BFIFO) .......................................................................................................... .2-4 2.1.4 Address Processing Unit (APU) ..................................................................................................... 2-4 2.1.5 Data Processing Unit (DPU) .......................................................................................................... .2-4 2.2 Frame Buffer....................................................................................................................................... 2-4 Chapter 3: Operation Modes 3.1 VGA Mode ......................................................................................................................................... 3-2 3.1.1 FlexFont ........................................................................................................................................... 3-2 3.1.2 Enhanced Modes ............................................................................................................................. 3-2 3.1.3 Display Adapter Support ................................................................................................................. 3-3 3.1.4 Differences Between ATLAS Ports and IBM VGA Display Adapter Ports ................................... 3-3 3.1.4.1 Hercules Mode Port Differences ..................................................................................... 3-3 3.1.4.2 CGA Mode Port Differences ........................................................................................... 3-3 3.1.4.3 EGA Mode Port Differences ............................................................................................ 3-3 3.1.4.4 VGA Mode Port Differences ........................................................................................... 3-3 3.2 Power Graphic Mode.......................................................................................................................... 3-4 3.2.1 Memory Configurations ................................................................................................................. .3-4 3.2.2 Pixel Format .................................................................................................................................... 3-8 3.2.3 Overview of Drawing Operations ................................................................................................. 3-11 3.2.4 DMA and Pseudo DMA ................................................................................................................ 3-12 3.2.4.1 DMA .............................................................................................................................. 3-16 3.2.4.2 Pseudo DMA.................................................................................................................. 3-18 Matrox Confidential Contents i 3.2.5 Programming the CRTC for Power Graphic Mode....................................................................... 3-20 3.2.5.1 Registers ......................................................................................................................... 3-20 3.2.5.2 Interlace Modes .............................................................................................................. 3-20 3.2.5.3 Hardware Panning .......................................................................................................... 3-20 3.2.5.4 Hardware Zooming ........................................................................................................ 3-20 3.2.5.5 Programming Constraints ............................................................................................. 3-21 3.2.5.6 Frame Buffer Alignment ................................................................................................ 3-22 3.2.5 7 Overscan ......................................................................................................................... 3-23 3.2.6 Interrupts ........................................................................................................................................ 3-23 3.3 Access Restrictions to Some Resources ........................................................................................... 3-24 3.4 Initialization and Configuration ........................................................................................................ 3-25 3.4.1 Configuration Elements ................................................................................................................. 3-25 3.4.2 Booting in VGA Mode .................................................................................................................. 3-25 3.4.3 Booting in Power Graphic Mode................................................................................................... 3-25 3.5 Mode Switching ................................................................................................................................ 3-26 3.5.1 Switching From VGA Mode to Power Graphic Mode.................................................................. 3-26 3.5.2 Switching From Power Graphic Mode to VGA Mode.................................................................. 3-26 3.6 Power up and Reset........................................................................................................................... 3-28 3.6.1 Hard Reset ..................................................................................................................................... 3-28 3.6.2 Soft Reset ....................................................................................................................................... 3-28 3.6.3 Configuring ATLAS in a Board-level Design ............................................................................... 3-29 3.6.3.1 Special Considerations for PCI ...................................................................................... 3-31 3.6.4 Reset Field Definitions .................................................................................................................