P R E L I M I N A R Y: 69000 Hiqvideo Accelerator With Integrated Memory Data Sheet Revision 1.3
P R E L I M I N A R Y: 69000 Hiqvideo Accelerator With Integrated Memory Data Sheet Revision 1.3
com
69000
69000 HiQVideo
Accelerator with
Integrated Memory
Data Sheet
Revision 1.3
August 1998
DataShee
DataSheet4U.com
P R E L I M I N A R Y
DataSheet4U.com
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Copyright Notice
Copyright 1997-98 Chips and Technologies, Inc., a subsidiary of Intel Corporation. ALL RIGHTS RESERVED.
This manual is copyrighted by Chips and Technologies, Inc., a subsidiary of Intel Corporation. You may not reproduce, transmit,
transcribe, store in a retrieval system, or translate into any language or computer language, in any form or by any means - elec-
et4U.comtronic, mechanical, magnetic, optical, chemical, manual, or otherwise - any part of this publication without the express written DataShee
permission of Chips and Technologies, Inc., a subsidiary of Intel Corporation.
DataSheet4U.com
Restricted Rights Legend
Use, duplication, or disclosure by the Government is subject to restrictions set forth in subparagraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause at 252.277-7013.
Trademark Acknowledgment
CHIPS Logo is a registered trademark of Chips and Technologies, Inc., a subsidiary of Intel Corporation.
Disclaimer
This document provides general information for the customer. Chips and Technologies, Inc., a subsidiary of Intel Corporation,
reserves the right to modify the information contained herein as necessary and the customer should ensure that it has the most
recent revision of the document. CHIPS makes no warranty for the use of its products and bears no responsibility for any errors
which may appear in this document. The customer should be on notice that many different parties hold patents on products,
components, and processes within the personal computer industry. Customers should ensure that their use of the products
does not infringe upon any patents. CHIPS respects the patent rights of third parties and shall not participate in direct or indirect
patent infringement.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Preliminary Rev. 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Multimedia Software
DataSheet4U.com
System BIOS Hooks
• Video Port Manager for ZV Port • Set Active Display Type
• PCVideo DLL plus Tuner with DK • Save/Restore Video State
Board • Setup Memory for Save/Restore
• SMI Entry Point
Software Utilities • Int 15 Calls after POST, Set Mode
• DebugVGA
• Auto testing of all video modes BIOS Modify Program (BMP)
• ChipsVGA • Clocks
• ChipsEXT • Mode support
• Panel Tables
Software Documentation • Int 15 Hooks
• BIOS OEM Reference Guide • Monitor Sensing
• Display Driver User’s Guide
• Utilities User’s Guide Driver Support
• Release Notes for BIOS, Drivers, and • Windows 95
Utilities • Windows NT 4.0, NT 3.1
• Windows 98
Software Support • Win 31
• Dedicated Software Applications
Engineer
• BBS Support for Software Updates
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
iii
Revision History
Revision Date By Comments
0.1 2/28/97 TE/lc/bjb First Draft- Official Release
0.2 4/3/97 AS/bjb Change MCLK from 110MHz to 83MHz
Added HiQColor(features)
Updated Pin Descriptions
Updated Extension Registers
Update Multimedia Registers
Updated Electrical Specifications
Updated Appendix A
1.0 8/18/97 AS/bjb Remove NDA requirements and API status
1.1 10/10/97 BB/lnc Reorganized chapters
Added Wide Extension Register chapter
Updated Flat Panel Registers
Updated CRT Controller Registers
Added Subsystem and Subvendor ID support
1.2 3/9/98 BB/lnc Improved Status Register Descriptions
Improved Palette Register Chapter
Improved Extension Register Descriptions
Improved Flat Panel Register Descriptions
Improved Multimedia Register Descriptions
Improved BitBLT Engine Register Descriptions
et4U.com Updated Specifications chapter DataShee
1.3 7/1/98 BB/bjb Added bullet-item for Frame-Based AGP Support
DataSheet4U.com
Added mBGA package pinout and pin numbering
Added Frame-Based AGP Interface timings
Added mBGA package mechanical specifications
Add differences between PCI-66/Frame-Based AGP
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
iv
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
List Of Figures.................................................................................................................................. xv
Chapter 1
Introduction / Overview
High Performance Integrated Memory ...................................................................................... 1-1
Frame-Based AGP Compatibility .............................................................................................. 1-1
HiQColor Technology ........................................................................................................... 1-1
Versatile Panel Support ........................................................................................................... 1-1
Acceleration for All Panels and All Modes ................................................................................ 1-1
Television NTSC/PAL Flicker Free Output................................................................................ 1-1
HiQVideo Multimedia Support............................................................................................... 1-3
Low Power Consumption ..........................................................................................................1-3
Software Compatibility/Flexibility............................................................................................... 1-3
Display Modes Supported ......................................................................................................... 1-4
Chapter 2
Pin Descriptions
Pin Diagram, Top View, Ball Grid Array ................................................................................... 2-1
Pin Diagram, Bottom View, Ball Grid Array............................................................................... 2-2
Pin Diagram, Top View, Mini Ball Grid Array ............................................................................ 2-3
Pin Diagram, Bottom View, Mini Ball Grid Array ....................................................................... 2-4
PCI/AGP Bus Interface ............................................................................................................ 2-5
Configuration Pins and ROM Interface .................................................................................... 2-8
et4U.com Flat Panel Display Interface ...................................................................................................... 2-9 DataShee
CRT Interface ......................................................................................................................... 2-12
DataSheet4U.com
Video Interface ....................................................................................................................... 2-13
Miscellaneous ........................................................................................................................ 2-14
Power and Ground ................................................................................................................. 2-15
Reserved and No Connect ..................................................................................................... 2-17
Chapter 3
Electrical Specifications
Absolute Maximum Conditions.................................................................................................. 3-1
Normal Operating Conditions.................................................................................................... 3-1
DAC Characteristics.................................................................................................................. 3-1
DC Characteristics .................................................................................................................... 3-2
DC Drive Characteristics........................................................................................................... 3-2
AC Test Conditions ................................................................................................................... 3-3
AC Timing Characteristics - Reference Clock........................................................................... 3-4
AC Timing Characteristics - Clock Generator ........................................................................... 3-4
AC Timing Characteristics - Reset ............................................................................................ 3-5
AC Timing Characteristics - PCI Bus Frame (CLK = 33MHz) ................................................... 3-6
AC Timing Characteristics - PCI Bus Stop (CLK = 33MHz) ...................................................... 3-7
AC Timing Characteristics - BIOS ROM ................................................................................... 3-8
AC Timing Characteristics - Video Data Port ............................................................................ 3-9
AC Timing Characteristics - Panel Output Timing................................................................... 3-10
AC Timing Characteristics - A.G.P. 1x AC Timing Parameters............................................... 3-11
Chapter 4
Mechanical Specifications ......................................................................................................... 4-1
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
vi
Chapter 5
I/O and Memory Address Maps
I/O and Memory Address Map ................................................................................................. 5-1
VGA-Compatible Address Map ................................................................................................. 5-1
Address Maps for Going Beyond VGA...................................................................................... 5-2
PCI Configurations Registers ................................................................................................... 5-3
I/O and Sub-Addressed Register Map ..................................................................................... 5-4
Sub-Addressing Indexes and Data Ports .................................................................................. 5-5
Lower Memory Map .................................................................................................................. 5-6
Upper Memory Map .................................................................................................................. 5-7
Chapter 6
Register Summaries
PCI Configuration Registers ..................................................................................................... 6-1
General Control & Status Registers .......................................................................................... 6-1
CRT Controller Registers .......................................................................................................... 6-2
Sequencer Registers................................................................................................................. 6-3
Graphics Controller Registers ................................................................................................... 6-3
Attribute Controller Registers .................................................................................................... 6-3
Palette Registers....................................................................................................................... 6-3
Extension Registers .................................................................................................................. 6-4
Flat Panel Registers.................................................................................................................. 6-6
Multimedia Registers................................................................................................................. 6-7
BitBLT Registers ....................................................................................................................... 6-8
Memory Mapped Wide Extension Registers ............................................................................ 6-8
et4U.com DataShee
Chapter 7
PCI Configuration Registers DataSheet4U.com
VENDID Vendor ID Register .................................................................................................... 7-2
DEVID Device ID Register ....................................................................................................... 7-2
DEVCTL Device Control Register ............................................................................................ 7-3
DEVSTAT Device Status Register ........................................................................................... 7-5
REV Revision ID Register ........................................................................................................ 7-7
PRG Register-Level Programming Interface Register ............................................................. 7-7
SUB Sub-Class Code Register ................................................................................................ 7-8
BASE Base Class Code Register ............................................................................................ 7-8
HDR Header Type Register ..................................................................................................... 7-9
MBASE Memory Base Address Register ............................................................................... 7-10
SUBVENDID Subsystem Vendor ID Register ........................................................................ 7-11
SUBDEVDID Subsystem Device ID Register ......................................................................... 7-11
INTLINE Interrupt Line Register.............................................................................................. 7-12
INTPIN Interrupt Pin Register ................................................................................................. 7-12
RBASE ROM Base Address Register..................................................................................... 7-13
SUBVENDSET Subsystem Vendor ID Set Register ............................................................... 7-14
SUBDEVSET Subsystem Device ID Set Register .................................................................. 7-14
Chapter 8
General Control and Status Registers
ST00 Input Status Register 0 ................................................................................................... 8-2
ST01 Input Status Register 1 .................................................................................................. 8-3
FCR Feature Control Register ................................................................................................. 8-4
MSR Miscellaneous Output Register ....................................................................................... 8-5
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
vii
Chapter 9
CRT Controller Registers
CRX CRT Controller Index Register .................................................................................. 9-2
CR00 Horizontal Total Register ........................................................................................... 9-3
CR01 Horizontal Display Enable End Register .................................................................... 9-3
CR02 Horizontal Blanking Start Register ............................................................................. 9-3
CR03 Horizontal Blanking End Register .............................................................................. 9-4
CR04 Horizontal Sync Start Register ................................................................................... 9-5
CR05 Horizontal Sync End Register .................................................................................... 9-6
CR06 Vertical Total Register ................................................................................................ 9-7
CR07 Overflow Register ...................................................................................................... 9-8
CR08 Preset Row Scan Register ....................................................................................... 9-12
CR09 Maximum Scanline Register .................................................................................... 9-13
CR0A Text Cursor Start Register ....................................................................................... 9-15
CR0B Text Cursor End Register ........................................................................................ 9-16
CR0C Start Address High Register .................................................................................... 9-17
CR0D Start Address Low Register ..................................................................................... 9-18
CR0E Text Cursor Location High Register ........................................................................ 9-19
CR0F Text Cursor Location Low Register ......................................................................... 9-19
CR10 Vertical Sync Start Register ..................................................................................... 9-20
CR11 Vertical Sync End Register ...................................................................................... 9-21
CR12 Vertical Display Enable End Register ...................................................................... 9-22
CR13 Offset Register ......................................................................................................... 9-22
CR14 Underline Location Register ..................................................................................... 9-23
CR15 Vertical Blanking Start Register ............................................................................... 9-24
et4U.com CR16 Vertical Blanking End Register ................................................................................ 9-24 DataShee
CR17 CRT Mode Control ................................................................................................... 9-25
CR18 Line Compare RegisterDataSheet4U.com
............................................................................................ 9-28
CR22 Memory Read Latch Data Register .......................................................................... 9-28
CR30 Extended Vertical Total Register ............................................................................. 9-29
CR31 Extended Vertical Display End Register .................................................................. 9-29
CR32 Extended Vertical Sync Start Register ..................................................................... 9-30
CR33 Extended Vertical Blanking Start Register ............................................................... 9-31
CR38 Extended Horizontal Total Register ......................................................................... 9-32
CR3C Extended Horizontal Blanking End Register ............................................................. 9-33
CR40 Extended Start Address Register.............................................................................. 9-34
CR41 Extended Offset Register ......................................................................................... 9-35
CR70 Interlace Control Register ........................................................................................ 9-35
CR71 NTSC/PAL Video Output Control Register .............................................................. 9-36
CR72 NTSC/PAL Horizontal Serration 1 Start Register ..................................................... 9-37
CR73 NTSC/PAL Horizontal Serration 2 Start Register ..................................................... 9-37
CR74 NTSC/PAL Horizontal Pulse Width Register ............................................................ 9-38
CR75 NTSC/PAL Filtering Burst Read Length Register .................................................... 9-39
CR76 NTSC/PAL Filtering Burst Read Quantity Register .................................................. 9-39
CR77 NTSC/PAL Filtering Control Register ....................................................................... 9-40
CR78 NTSC/PAL Vertical Reduction Register.................................................................... 9-41
CR79 NTSC/PAL Horizontal Total Fine Adjust Register..................................................... 9-42
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
viii
Chapter 10
Sequencer Registers
SRX Sequencer Index Register ....................................................................................... 10-2
SR00 Reset Register ......................................................................................................... 10-2
SR01 Clocking Mode Register ........................................................................................... 10-3
SR02 Plane Mask Register ................................................................................................ 10-4
SR03 Character Map Select Register ................................................................................ 10-5
SR04 Memory Mode Register ............................................................................................ 10-6
SR07 Horizontal Character Counter Reset Register .......................................................... 10-7
Chapter 11
Graphics Controller Registers
GRX Graphics Controller Index Register ......................................................................... 11-2
GR00 Set/Reset Register ................................................................................................... 11-2
GR01 Enable Set/Reset Register ...................................................................................... 11-3
GR02 Color Compare Register .......................................................................................... 11-3
GR03 Data Rotate Register ............................................................................................... 11-4
GR04 Read Plane Select Register ..................................................................................... 11-5
GR05 Graphics Mode Register .......................................................................................... 11-6
GR06 Miscellaneous Register ............................................................................................ 11-9
GR07 Color Don’t Care Register ...................................................................................... 11-10
GR08 Bit Mask Register ................................................................................................... 11-10
Chapter 12
et4U.com Attribute Controller Registers DataShee
ARX Attribute Controller Index Register ........................................................................... 12-2
DataSheet4U.com
AR00-AR0F Palette Registers 0-F ..................................................................................... 12-2
AR10 Mode Control Register ............................................................................................. 12-3
AR11 Overscan Color Register .......................................................................................... 12-4
AR12 Memory Plane Enable Register ............................................................................... 12-5
AR13 Horizontal Pixel Panning Register ............................................................................ 12-6
AR14 Color Select Register ............................................................................................... 12-7
Chapter 13
Palette Registers
PALMASK Palette Data Mask Register .............................................................................. 13-3
PALSTATE Palette State Register ....................................................................................... 13-3
PALRX Palette Read Index Register ............................................................................ 13-4
PALWX Palette Write Index Register ............................................................................. 13-4
PALDATA Palette Data Register ........................................................................................ 13-5
Chapter 14
Extension Registers
XRX Extension Register Index Register .......................................................................... 14-3
XR00 Vendor ID Low Register ........................................................................................... 14-3
XR01 Vendor ID High Register .......................................................................................... 14-4
XR02 Device ID Low Register ............................................................................................ 14-4
XR03 Device ID High Register ........................................................................................... 14-5
XR04 Revision ID Register ................................................................................................ 14-5
XR05 Linear Base Address Low Register .......................................................................... 14-6
XR06 Linear Base Address High Register ......................................................................... 14-6
XR08 Host Bus Configuration Register .............................................................................. 14-7
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
ix
Chapter 15
Flat Panel Registers
FR00 Feature Register ....................................................................................................... 15-2
FR01 CRT / FP Control Register ....................................................................................... 15-2
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 16
Multimedia Registers
MR00 Module Capability Register ...................................................................................... 16-2
MR01 Secondary Capability Register ................................................................................ 16-2
MR02 Capture Control 1 Register ...................................................................................... 16-3
MR03 Capture Control 2 Register ...................................................................................... 16-4
MR04 Capture Control 3 Register ...................................................................................... 16-5
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
xi
Chapter 17
BitBLT Registers
BR00 Source and Destination Span Register .................................................................... 17-2
BR01 Pattern/Source Expansion Background Color & Transparency Key Register .......... 17-3
BR02 Pattern/Source Expansion Foreground Color Register ............................................ 17-4
BR03 Monochrome Source Control Register ..................................................................... 17-5
BR04 BitBLT Control Register ........................................................................................... 17-7
BR05 Pattern Address Register ....................................................................................... 17-11
BR06 Source Address Register ....................................................................................... 17-12
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
xii
Chapter 18
Memory-Mapped Wide Extension Registers
ER00 Central Interrupt Control Register ............................................................................ 18-2
ER01 Central Interrupt Status/Acknowledge Register ....................................................... 18-3
ER03 Miscellaneous Function Register ............................................................................. 18-4
Appendix A
Display Modes .................................................................................................................................A-1
CRT-Only Display Modes .........................................................................................................A-2
Standard VGA CRT-Only Display Modes .................................................................................A-2
Chips Extended VGA CRT-Only Display Modes.......................................................................A-3
Display Modes...........................................................................................................................A-6
Flat Panel-Only and Simultaneous 640x480 (VGA) Display Modes .........................................A-6
Flat Panel-Only and Simultaneous 800x600 (SVGA) Display Modes.......................................A-7
Flat Panel-Only and Simultaneous 1024x768 Display Modes ..................................................A-8
Flat Panel-Only and Simultaneous 1280x1024 Display Modes ................................................A-9
Appendix B
Clock Generation ...........................................................................................................................B-1
Clock Synthesizer ....................................................................................................................B-1
et4U.com Dot Clock (DCLK) .....................................................................................................................B-1 DataShee
Memory Clock (MCLK) .............................................................................................................B-1
DataSheet4U.com
PLL Parameters .......................................................................................................................B-2
Programming the Clock Synthesizer.........................................................................................B-3
DCLK Programming ..................................................................................................................B-3
MCLK Programming..................................................................................................................B-3
Programming Constraints .........................................................................................................B-4
Programming Example .............................................................................................................B-4
PCB Layout Considerations .....................................................................................................B-5
Display Memory Bandwidth ......................................................................................................B-7
STN-DD Panel Buffering ..........................................................................................................B-8
Horizontal and Vertical Clocking ..............................................................................................B-9
Appendix C
Panel Power Sequencing ........................................................................................................... C-1
Appendix D
Hardware Cursor and Pop Up Window ................................................................................ D-1
Basic Cursor Configuration ..................................................................................................... D-1
Base Address for Cursor Data ................................................................................................ D-2
Cursor Vertical Extension ........................................................................................................ D-2
Cursor Colors .......................................................................................................................... D-2
Cursor Positioning ................................................................................................................... D-3
Cursor Modes .......................................................................................................................... D-3
32x32x2bpp & 64x64x2bpp AND/XOR Pixel Plane Modes .................................................... D-4
64x64x2bpp 4-Color Mode ...................................................................................................... D-6
64x64x2bpp 3-Color and Transparency Mode ........................................................................ D-7
128x128x1bpp 2-Color Mode .................................................................................................. D-8
128x128x1bpp 1-Color and Transparency Mode .................................................................... D-9
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
xiii
Appendix E
BitBLT Operation .......................................................................................................................... E-1
Introduction ............................................................................................................................. E-1
Color Depth Configuration and Color Expansion .................................................................... E-2
Graphics Data Size Limitations ............................................................................................... E-3
Bit-Wise Operations ................................................................................................................ E-3
Per-Pixel Write-Masking Operations ....................................................................................... E-7
When the Source and Destination Locations Overlap ............................................................ E-8
Contiguous vs. Discontiguous Graphics Data ....................................................................... E-12
Source Data .......................................................................................................................... E-13
Monochrome Source Data .................................................................................................... E-14
Pattern Data .......................................................................................................................... E-14
Destination Data .................................................................................................................... E-17
BitBLT Programming Examples Pattern Fill -- A Very Simple BitBLT ................................... E-18
Drawing Characters Using a Font Stored in System Memory ............................................... E-20
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
xiv
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
xv
List Of Figures
Figure 1-1: Pixel Averaging Circuit ..........................................................................................1-2
Figure 1-3: Data Pipeline After MMUX, 2 Clocking .................................................................. 1-4
Figure 2-1: Pin Diagram, Top View, Ball Grid Array................................................................. 2-1
Figure 2-2: Pin Diagram, Bottom View, Ball Grid Array ........................................................... 2-2
Figure 2-3: Pin Diagram, Top View, Mini Ball Grid Array ......................................................... 2-3
Figure 2-4: Pin Diagram, Bottom View, Mini Ball Grid Array .................................................... 2-4
Figure 3-1: AC Test Timing ..................................................................................................... 3-3
Figure 3-2: Reference Clock Timing ....................................................................................... 3-4
Figure 3-3: Reset Timing ......................................................................................................... 3-5
Figure 3-4: PCI Bus Frame Timing ......................................................................................... 3-6
Figure 3-5: PCI Bus Stop Timing ............................................................................................ 3-7
Figure 3-6: BIOS ROM Timing ................................................................................................ 3-8
Figure 3-7: Video Data Port Timing ......................................................................................... 3-9
Figure 3-8: Panel Output Timing ........................................................................................... 3-10
Figure 4-1: 256+16 - Contact Ball Grid Array ......................................................................... 4-1
Figure 4-2: 256 Ball - mini Ball Grid Array................................................................................ 4-2
Figure B-1: PLL Elements ....................................................................................................... B-2
Figure E-1: Block Diagram and Data Paths of the BitBLT Engine ......................................... E-1
Figure E-2: Block Diagram and Data Paths of the BitBLT Engine ......................................... E-7
Figure E-3: Source Corruption in BitBLT with Overlapping Source and Destination ............ E-8
Figure E-4: Correctly Performed BitBLT with Overlapping Source and Destination ........... E-10
Figure E-5: Suggested Starting Points for Source and Destination Overlap Situations ....... E-11
Figure E-6: On-Screen Single 6-Pixel Line in the Frame Buffer .......................................... E-12
Figure E-7: On-Screen 6x4 Array of Pixels in the Frame Buffer .......................................... E-13
et4U.com Figure E- 8: Pattern Data ..................................................................................................... E-15 DataShee
Figure E-9: Monochrome Pattern Data -- Occupies a Single Quadword ............................. E-15
Figure E-10: 8bpp Pattern DataDataSheet4U.com
-- Occupies 64 Bytes (8 Quadwords) ................................ E-15
Figure E-11: 16bpp Pattern Data -- Occupies 128 Bytes (16 Quadwords) .......................... E-16
Figure E-12: 24bpp Pattern Data -- Occupies 256 Bytes (32 Quadwords) .......................... E-16
Figure E-13: On-Screen Destination for Example Pattern Fill BitBLT .................................. E-18
Figure E-14: Pattern Data for Example Pattern Fill BitBLT .................................................. E-19
Figure E-15: Results of Example Pattern Fill BitBLT ........................................................... E-20
Figure E-16: On-Screen Destination for Example Character Drawing BitBLT ..................... E-21
Figure E- 17: Source Data in System Memory for Example Character Drawing BitBLT ...... E-21
Figure E-18: Results of Example Character Drawing BitBLT ............................................... E-23
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
xvi
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
xvii
List of Tables
Table 1-1: 69000 Mode Support .............................................................................................. 1-4
Table 3-1: Absolute Maximum Conditions .............................................................................. 3-1
Table 3-2: Normal Operating Conditions ................................................................................. 3-1
Table 3-3: DAC Characteristics ...............................................................................................3-1
Table 3-4: DC Characteristics ................................................................................................. 3-2
Table 3-5: DC Drive Characteristics ........................................................................................ 3-2
Table 3-6: AC Test Conditions ................................................................................................3-3
Table 3-7: AC Timing Characteristics - Reference Clock ........................................................ 3-4
Table 3-8: AC Timing Characteristics - Clock Generator ........................................................ 3-4
Table 3-9: AC Timing Characteristics - Reset ......................................................................... 3-5
Table 3-10: AC Timing Characteristics - PCI Bus Frame (CLK = 33MHz) ............................... 3-6
Table 3-11: AC Timing Characteristics - PCI Bus Stop (CLK = 33MHz) .................................. 3-7
Table 3-12: AC Timing Characteristics - BIOS ROM ............................................................... 3-8
Table 3-13: AC Timing Characteristics - Video Data Port ........................................................ 3-9
Table 3-14: AC Timing Characteristics - Panel Output Timing .............................................. 3-10
Table 3-15: AC Timing Characteristics - A.G.P. 1x AC Timing Parameters ........................... 3-11
Table 6-1: PCI Configuration Registers ................................................................................. 6-1
Table 6-2: General Control & Status Registers ....................................................................... 6-1
Table 6-3: CRT Controller Registers ....................................................................................... 6-2
Table 6-4: Sequencer Registers ............................................................................................. 6-3
Table 6-5: Graphics Controller Registers ................................................................................ 6-3
Table 6-6: Attribute Controller Registers ................................................................................. 6-3
Table 6-7: Palette Registers ..................................................................................................... 6-3
Table 6-8: Extension Registers ...............................................................................................6-4
et4U.com Table 6-9: Flat Panel Registers ............................................................................................... 6-6 DataShee
Table 6-10: Multimedia Registers ............................................................................................ 6-7
DataSheet4U.com
Table 6-11: BitBLT Registers .................................................................................................. 6-8
Table 6-12: Memory Mapped Wide Extension Registers ........................................................ 6-8
Table 7-1: PCI Configuration Registers .................................................................................. 7-1
Table 15-1: Flat Panel Registers ........................................................................................... 15-1
Table 16-1: Multimedia Registers ......................................................................................... 16-1
Table 16-2: Color Key Bit Assignments ............................................................................... 16-26
Table A-1: Standard VGA CRT-Only Display Modes ............................................................. A-2
Table A-2: Extended VGA CRT-Only Display Modes ............................................................. A-3
Table A-3: Flat Panel-Only and Simultaneous 640x480 (VGA) Display Modes...................... A-6
Table A-4: Flat Panel-Only and Simultaneous Display Modes for 800x600 Panels ............... A-7
Table A-5: Flat Panel-Only and Simultaneous Display Modes for 1024x768 Flat Panels ...... A-8
Table A-6: Flat Panel-Only and Simultaneous Display Modes for 1280x1024 Flat Panel ...... A-9
Table D-1: Memory Organization 32x32x2bpp AND/XOR Pixel Plane Mode ........................ D-4
Table D-2: Memory Organization 64x64x2bpp AND/XOR Pixel Plane Mode ......................... D-5
Table D-3: Pixel Data 32x32x2bpp and 64x64x2bpp AND/XOR Pixel Plane Modes ............. D-5
Table D-4: Memory Organization 64x64x2bpp 4-Color Mode ................................................ D-6
Table D- 5: Pixel Data 64x64x2bpp 4-Color Mode .................................................................. D-6
Table D-6: Memory Organization 64x64x2bpp 3-Color & Transparency Mode ..................... D-7
Table D-7: Pixel Data 64x64x2bpp 3-Color & Transparency Mode ...................................... D-7
Table D-8: Memory Organization 128x128x1bpp 2-Color Mode ............................................ D-8
Table D-9: Pixel Data 128x128x1bpp 2-Color Mode .............................................................. D-8
Table D-10: Memory Organization 128x128x1bpp 1-Color & Transparency Mode ............... D-9
Table D-11: Pixel Bit Definitions 128x128x1bpp 1-Color & Transparency Mode ................... D-9
Table E-1: Bit-Wise Operations and 8-bit Codes (00 - 5F) .................................................... E-4
Table E-2: Bit-Wise Operations and 8-bit Codes (60 - BF) .................................................... E-5
Table E-3: Bit-Wise Operations and 8-bit Codes (C0 - FF) .................................................... E-6
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
xviii
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 1
Introduction / Overview
The 69000 is the first product in the CHIPS family of portable graphics accelerator product line that
integrates high performance memory technology for the graphics frame buffer. Based on the proven
HiQVideo graphics accelerator core, the 69000 combines state-of-the-art flat panel controller capabilities
with low power, high performance integrated memory. The result is the start of a high performance, low
power, highly integrated solution for the premier family of portable graphics products.
The 69000 offers a variety of programmable features to optimize display quality. Vertical centering and
stretching are provided for handling modes with less than 480 lines on 480-line panels. Horizontal and
vertical stretching capabilities are also available for both text and graphics modes for optimal display of VGA
text and graphics modes on 800x600, 1024x768 and 1280x1024 panels.
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Flicker reduction can be accomplished by averaging the contents of successive horizontal and vertical lines.
See Figure 1-1. The flicker reduction circuit is in pixel data path, with the vertical averaging circuit followed
by the horizontal averaging circuit. Both have bypass controls (Vertical filter enable and Horizontal filter
enable). This flicker averaging circuit is placed before the DAC and before the flat panel pick off. The flat
panel pins can be used for test verification of correct filter operation.
VE RT ICA L A N D H O R IZ O NT A L
NO RM AL VE RT ICA L A V E RA GING AV ER AG IN G
HO RIZ ON T AL A V E R A G IN G
F U L L B L AC K
3 /4 B LA C K
1 /2 B LA C K
1 /4 B LA C K
et4U.com 1 /8 B LA C K
DataShee
W H ITE
DataSheet4U.com
FIG . 1
For the non-flicker reduction mode, the display line data is stored sequentially in the FIFO buffer. For the
flicker reduction mode the FIFO buffer data is written in strips of segments because the vertical filter
averages the current and next line pixels. Each segment is written to alternate locations in the FIFO buffer.
See Fig. 1-2.
The write pointer is modified to skip through the FIFO buffer. A current/next line flag is carried through the
display pipeline to keep track of which line the pixel comes from. This is needed for the color key logic and
the vertical filter averaging circuitry to align to the correct segment of pixels. The MMUX color key is formed
on the “current” pixel pair.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
The television output circuitry supports both NTSC and PAL standard formats, and scales images
appropriately for both television formats and panels.
The capture system can receive data from either the system bus or from the ZV enabled video port in either
RGB or YUV format. The input data can also be scaled down before storage in display memory. Capture
of input data may also be double buffered for smoothing and to prevent image tearing. To better support
MPEG2 (DVD) video decompression, the 69000 includes a line buffer to directly support the native format
of MPEG2 data of 720 pixels wide.
The capture engine also supports image mirroring and rotation for camera support. This feature is important
for applications such as video teleconferencing because it allows the image movements to appear on the
display as it actually occurs. The image and movement is not a mirror image of what is actually taking place.
The display system can independently place either RGB or YUV data from anywhere in display memory into
an on-screen window which can be any size and located at any pixel boundary (YUV data is converted to
RGB "on-the-fly" on output). This is important for the 69000 since the video must be stored in the integrated
2MB frame buffer and thus optimized to require very little space. Storing data in the native YUV format uses
less memory for video while providing excellent playback display quality.
Non-rectangular windows are supported via color keying. The data can be fractionally zoomed on output
et4U.com up to 8x to fit the on-screen window and can be horizontally and vertically interpolated. Interlaced and non-
DataShee
interlaced data are both supported in the capture and display systems.
DataSheet4U.com
Low Power Consumption
The 69000 uses a variety of advanced power management features to reduce power consumption of the
display sub-system and to extend battery life. Optimized for 3.3V operation, the 69000 internal logic, bus
and panel interfaces operate at 3.3V but can tolerate 5V operation.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 2
Pin Descriptions
Pin Diagram, Top View
A B C D E F G H J K L M N P R T U V W Y
CFG4 CFG2 N/C N/C N/C N/C N/C N/C N/C N/C RMA17 N/C N/C N/C N/C N/C VP1 VP6 VP10 RSVD
20 20
CFG6 CFG5 CFG1 N/C N/C N/C N/C N/C N/C N/C RMA16 N/C N/C N/C N/C VP2 VP5 VP9 VP11 VP14
19 19
N/C CFG7 CFG3 CFG0 N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C VP0 VP4 VP8 VP13 VP15 VCLK
18 18
RMA2 N/C CFG8 TMD0 N/C N/C MEMGND MEMVCC N/C N/C N/C N/C MEMVCC MEMGND VP3 VP7 VP12 PCLK HREF P33
17 17
RMA4 RMA1 N/C CFG9 GPIO4 VREF P34 P31
16 16
RMA7 RMA5 RMA3 RMA0 P35 P32 P30 P28
15 15
RMA10 RMA8 RMA6 MEMGND GND P29 P27 P25
14 14
RMA14 RMA11 RMA9 MEMVCC IOVCC P26 P24 P21
13 13
TMD1 RMA15 RMA13 RMA12 P23 P22 CORVCC P20
12 12 GND GND GND RGND 12
et4U.com N/C N/C N/C N/C P16 P19 P18 P17 DataShee
11 11 GND GND GND RGND 11
N/C CFG10 CFG11 N/C DataSheet4U.com P15 P12 P13 P14
10 10 GND GND GND RGND 10
CFG12 CFG13 CFG15 CORVCC P7 P8 P10 P11
9 9 GND GND GND RGND 9
CFG14 RMD0 RMD2 RSVD J K L M IOVCC P4 P6 P9
8 8
RMD1 RMD3 RMD5 GND GND P1 P3 P5
7 7
RMD4 RMD6 ROMOE# GPIO7 ENABKL M P0 P2
6 6
RMD7 RSVD RSVD DCKVCC DACVCC ENAVDD FLM SHFCLK
5 5
INT# DCKGND DCKVCC RSVD STNDBY AD30 GND IOVCC AD20 TRDY# DEVSEL AD13 IOVCC GND AD2 GPIO1 DDC GRN ENAVEE LP
4 CLK 4
DCKGND MCKVCC REFCLK RSVD AD31 AD27 AD24 AD23 AD19 C/BE2# SERR# AD14 AD10 C/BE0# AD5 AD1 HSYNC DDC BLUE RED
3 DATA 3
MCKGND DCLKIN RSVD BUSCLK AD29 AD25 IDSEL AD21 AD17 FRAME# PERR# C/BE1 AD12 AD9 AD7 AD3 AD0 VSYNC RSET DACGND
2 2
RSVD MCLKIN RESET# AD28 AD26 C/BE# AD22 AD18 AD16 IRDY# STOP# PAR AD15 AD11 AD8 AD6 AD4 GPIO0 IOVCC RGND
1 1
A B C D E F G H J K L M N P R T U V W Y
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
D a t a S h e4eU
t .com
www.DataSheet4U.com
Y W V U T R P N M L K J H G F E D C B A
RSVD VP10 VP6 VP1 N/C N/C N/C N/C N/C RMA17 N/C N/C N/C N/C N/C N/C N/C N/C CFG2 CFG4
20 20
VP14 VP11 VP9 VP5 VP2 N/C N/C N/C N/C RMA16 N/C N/C N/C N/C N/C N/C N/C CFG1 CFG5 CFG6
19 19
VCLK VP15 VP13 VP8 VP4 VP0 N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C CFG0 CFG3 CFG7 N/C
18 18
P33 HREF PCLK VP12 VP7 VP3 MEMGND MEMVCC N/C N/C N/C N/C MEMVCC MEMGND N/C N/C TMD0 CFG8 N/C RMA2
17 17
P31 P34 VREF GPIO4 CFG9 N/C RMA1 RMA4
16 16
P28 P30 P32 P35 RMA0 RMA3 RMA5 RMA7
15 15
P25 P27 P29 GND MEMGND RMA6 RMA8 RMA10
14 14
P21 P24 P26 IOVCC MEMVCC RMA9 RMA11 RMA14
13 13
P20 CORVCC P22 P23 12 RGND GND GND GND RMA12 RMA13 RMA15 TMD1
12 12
P17 P18 P19 P16 RGND GND GND GND N/C N/C N/C N/C
11 11 11
P14 P13 P12 P15 RGND GND GND GND N/C CFG11 CFG10 N/C
10 10 10
P11 P10 P8 P7 9 RGND GND GND GND CORVCC CFG15 CFG13 CFG12
9 9
P9 P6 P4 IOVCC RSVD RMD2 RMD0 CFG14
8 M L K J 8
et4U.com P5 P3 P1 GND GND RMD5 RMD3 RMD1 DataShee
7 7
6
P2 P0 M ENABKL DataSheet4U.com GPIO7 ROMOE# RMD6 RMD4
6
SHFCLK FLM ENAVDD DACVCC DCKVCC RSVD RSVD RMD7
5 5
LP ENAVEE GRN DDC GPIO1 AD2 GND IOVCC AD13 DEVSEL TRDY# AD20 IOVCC GND AD30 STNDBY RSVD DCKVCC DCKGND INT#
4 CLK 4
RED BLUE DDC HSYNC AD1 AD5 C/BE0# AD10 AD14 SERR# C/BE2# AD19 AD23 AD24 AD27 AD31 RSVD REFCLK MCKVCC DCKGND
3 DATA 3
DACGND RSET VSYNC AD0 AD3 AD7 AD9 AD12 C/BE1 PERR# FRAME# AD17 AD21 IDSEL AD25 AD29 BUSCLK RSVD DCLKIN MCKGND
2 2
RGND IOVCC GPIO0 AD4 AD6 AD8 AD11 AD15 PAR STOP# IRDY# AD16 AD18 AD22 C/BE3# AD26 AD28 RESET# MCLKIN RSVD
1 1
Y W V U T R P N M L K J H G F E D C B A
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
D a t a S h e4eU
t .com
www.DataSheet4U.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
D a t a S h e4eUt . c o m
www.DataSheet4U.com
16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
D a t a S h e4eUt . c o m
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
V6 M6 M (DE) OUT High IOVCC M signal for panel AC drive control (may also be
(BLANK#) & GND called ACDCLK). May also be configured as
BLANK# or as Display Enable (DE) for TFT Panels.
V5 N5 ENAVDD I/O High IOVCC Power sequencing control for panel driver
& GND electronics voltage VDD.
W4 T3 ENAVEE I/O High Power sequencing control for panel bias voltage
(ENABKL) VEE. May also be configured as ENABKL.
U6 R4 ENABKL I/O High Power sequencing control for enabling the backlight.
Notes:
To accommodate a wide variety of panel types, the graphics controller has been designed to output its data
et4U.com in any of a number of formats. These formats include different data widths for the colors belonging to each DataShee
pixel, and the ability to accommodate different pixel data transfer timing requirements.
DataSheet4U.com
For STN-DD panels, pins P0 through P35 are organized into groups corresponding to the upper and lower
parts of the panel. The names of the signals for the upper and lower parts follow a naming convention of
Uxx and Lxx, respectively.
For panels that require a pair of adjacent pixels be sent with every shift clock, pins P0 through P35 are
organized into groups corresponding to the first and second (from right to left) pixels of each pair of pixels
being sent. The names of the signals for the first and second pixels of each such pair follow a naming
convention of Fxx and Sxx, respectively.
Panels that transfer data on both edges of SHFCLK are also supported. See the description for register
FR12 for more details.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
CRT Interface
BGA mBGA
Pin Name Type Active Powered Description
PIN PIN
U3 K7 HSYNC Out Both IOVCC CRT Horizontal Sync (polarity is programmable)
(CSYNC) & GND or "Composite Sync" for support of various
external NTSC/PAL encoder chips.
V2 R1 VSYNC Out Both IOVCC CRT Vertical Sync (polarity is programmable).
& GND
Y3 K6 RED Out Analog DACVCC CRT analog video outputs from the internal color
V4 P4 GREEN Out Analog & DACGND palette DAC.
W3 T2 BLUE Out Analog
The DAC is designed for a 37.5Ω equivalent load
on each pin (e.g. 75Ω resistor on the board, in
parallel with the 75Ω CRT load)
W2 T1 RSET In N/A DACVCC Set point resistor for the internal color palette
& DACGND DAC. A 528Ω 1% resistor is required between
RSET and DACGND.
V3 R2 DDC DATA I/O High IOVCC General purpose I/O, suitable for use as DDC
(GPIO2) & GND Data.
U4 N4 DDC CLK I/O High IOVCC General purpose I/O, suitable for use as DDC
(GPIO3) & GND Clock.
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Video Interface
BGA mBGA
Pin Name Type Active Powered Description
PIN PIN
V16 T12 VREF I/O High IOVCC Vertical Reference Input.
& GND
W17 M13 HREF In High IOVCC Horizontal Reference Input
& GND
Y18 R13 VCLK In High IOVCC Video Input Clock
& GND
PCLK
V17 N12 Out High IOVCC Video in port PCLK out. May also be configured as the
(VCLKOUT)
& GND VCLK output in test mode.
R18 N15 VP0 In High IOVCC Video data port data bus.
U20 T15 VP1 In High & GND
T19 P16 VP2 In High In ZV mode, VP0-7 correspond to Y0-7, and VP8-15
R17 M16 VP3 In High correspond to UV0-7.
T18 N14 VP4 In High
U19 P15 VP5 In High
V20 M15 VP6 In High
T17 L14 VP7 In High
U18 R15 VP8 In High
V19 T14 VP9 In High
W20 P14 VP10 In High
W19 N13 VP11 In High
U17 R14 VP12 In High
V18 M14 VP13 In High
et4U.com Y19 T13 VP14 In High DataShee
W18 L13 VP15 In High
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Miscellaneous
BGA mBGA
Pin Name Type Active Powered Description
PIN PIN
E4 C3 STNDBY# In Low IOVCC Standby Control Pin. Pull this pin low to place the chip in
& GND Standby Mode. A low-to-high transition on the pin will
cause change to exit standby mode, host standby mode,
and panel off mode.
C3 B3 REFCLK In High IOVCC
Reference Clock Input. This pin serves as the input for
(MCLKIN) & GND
an external reference oscillator (usually 14.31818MHz).
All internal timings are derived from this primary clock
input source. Alternatively, this can be configured to be
used as an alternate input for an externally provided
MCLK through a strapping option and register
programming. However, during normal operation, an
external MCLK should be provided through the MCLKIN
pin. See the descriptions for registers XR70 and XRCF
for complete details.
B2 A1 DCLKIN In High IOVCC Optional input for an externally provided DCLK. Enabled
& GND via strapping option and register programming. See the
descriptions for registers XR70 and XRCF for complete
details.
B1 E5 MCLKIN In High IOVCC Optional primary input for an externally provided MCLK
& GND (the REFCLK(MCKLIN) pin can be used as an alterrnate
input for MCLK). This pin is enabled via strapping option
and register programming. See the descriptions for reg-
isters XR70 and XRCF for complete details.
et4U.com DataShee
V1 N3 GPIO0 (ACTI) I/O High IOVCC General Purpose I/O pin #0. Can also be used as the
& GND ACTI output (Activity Indicator).
DataSheet4U.com
T4 P2 GPIO1 I/O High IOVCC General Purpose I/O pin #1. Can also be used as a
(32KHz) & GND 32KHz clock input for panel power sequencing.
U16 P13 GPIO4 I/O High IOVCC General purpose I/O pin #4.
& GND
D6 A5 GPIO7 I/O High IOVCC General purpose I/O pin #7.
& GND
D17 A14 TMD0 n/a n/a These two pins are for internal use only and should be left
A12 B8 TMD1 n/a n/a open.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
C4 B4 DCKVCC Analog power and ground pins for the internal Balls D5 and C4 (DCKVCC) may be
D5 E6 dot clock synthesizer (DCLK). jumpered together. Balls B4 and A3
A3 A3 DCKGND (DCKGND) may be jumpered together
B4 C5
Refer to the section on clock generation for
suggested clock power and ground PCB
layout.
D7 F6 Digital ground.
G4 G6 GND
P4 H6
U14 F7
et4U.com DataShee
U7 F8
J9 H8
J10 F9 DataSheet4U.com
J11 G9
J12 H9
K9 J9
K10 H10
K11 H11
K12 J11
L9 H12
L10 J12
L11 H13
L12 J13
H14
J14
K14
L15
D9 D8 CORVCC Digital power for the graphics controller internal logic (a.k.a., the “core” VCC).
W12 J7
C7
P8
D14 J10 MEMGND Embedded memory ground.
G17 D14
P17 E14
F14
G15
H15
J15
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 3
Electrical Specifications
Table 3-1: Absolute Maximum Conditions
Symbol Parameter Min Max Units
VCC Supply Voltage -0.5 5.0 V
VI Input Voltage -0.5 5.5 V
TSTG Storage Temperature -40 125 °C
Note: Permanent device damage may occur if Absolute Maximum Rating are exceeded.
Operation must be restricted to the conditions under Normal Operating Conditions.
et4U.com DataShee
Table 3-3: DAC Characteristics
DataSheet4U.com
Symbol Parameter Notes Min Typical Max Units
IO Full Scale Output Current RSET=528Ω and 37.5Ω Load – 18.6 – mA
Full Scale Error – – ±5 %
DAC to DAC Correlation – 1.27 – %
DAC Linearity ±2 – – LSB
Note: These values apply under normal operating conditions unless otherwise noted.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: These values apply under normal operating conditions unless otherwise noted.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Tester
Inputs V TEST
TF TR
Tester V CC V CC
O utputs V IH V IH
V IL V IL
0 0
et4U.com DataShee
DataSheet4U.com
Figure 3-1: AC Test Timing
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
T R EF
T HI
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
et4U.com DataShee
V CC DataSheet4U.com
T IP R
1 4 .3 1 8 M H z S TA B LE
T O RS
STNDBY#
T S TR
T R ES
RESET#
T R SR T R SR
T C SU T C HD T C SU T C HD
C o n fig u ra tio n
In p u ts C F G 0 -1 5
T R SO
B u s O u tp u t P in s
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
DataSheet4U.com
CLK 1 2 3 4
T FRS
H i -Z
FRAME# B u s H i -Z
T u rn a ro u n d
T CMS T CMH T B EH
T B ES
H i -Z B u s H i -Z
C /B E # [3 :0 ] C o m m a nd B y te E n a b le s B y te E n a b le s
T u rn a ro u n d
R ead H i -Z Read B u s H i -Z
A dd ress R e a d D a ta
A D [3 1 : 0 ] T u rn a ro u n d T u rn a ro u n d
T DAS T DAH
T ADS T ADH
W r ite H i -Z B u s H i -Z
A dd ress W rite D a ta W rite D a ta
A D [3 1 : 0 ] T u rn a ro u n d
T T ZH T THL T T LH T THZ
H i -Z H i -Z
B us
TR DY# T u rn a ro u n d
T IS C T IH C
H i -Z B us H i -Z
IR D Y # T u rn a ro u n d
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
C LK
T S ZH T SHL T S LH
T SHZ
H ig h Z
STO P#
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
C LK
FR A M E#
T RO E
ROMOE#
et4U.com DataShee
TR D Y#
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
T V C LK
V C LK
T VP S TVP H
V P 0 -V P 1 5
et4U.com T H RS T H RH DataShee
DataSheet4U.com
HREF
TVRS TVRH
VREF
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
T SLK
SHFCLK
T DO VD
D E , P [2 3 ..0 ]
T CO VD
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
Note: 1 - AC Timing is valid when max output loading = 10 pF per the Intel Accelerated Graphics Port
Interface Specification Revision 2.0, however, actual test load capacitance may vary from the max
output loading of 10 pF.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 4
Mechanical Specifications
Top View
20
19
18
1.435mm
17 (0.0565")
16
Bottom View
20
19
18 1.435mm
17 (0.0565")
16
27 ± 0.1 mm (1.063 ± 0.004")
15
14
13
12
11
10
1.27mm
9
(0.0500")
8
BSC
7
6
5
4 Diameter:
3
0.760 ± 0.16
2
1
(0.0299 ± 0.0023)
256 +16 places
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
16 15 1 4 1 3 12 11 1 0 9 8 7 6 5 4 3 2 1
A
B
C
D
1 .0 0 +/-
E
0 .1 0m m
F
G
H
1 5.0 B S C
J
1 7.00 +/- .20 m m
K
L
M
N
P
R
T
et4U.com DataShee
DataSheet4U.com
1 .0 0 +/-
0 .1 0m m
1 5.0 B S C
1 .4 5 + /- .1 0m m
0 .4 0 + /- .0 5m m
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
Chapter 5
I/O and Memory Address Maps
An extensive set of registers normally controls the graphics system. These registers are a combination of
registers defined by IBM when the Video Graphics Array (VGA) was first introduced, and others that have
been added to support graphics modes that have color depths, resolutions, and hardware acceleration
features that go well beyond the original VGA standard. This chapter provides an overview of the address
locations and sub-addressing mechanisms used to access the various registers and the frame buffer of this
graphics controller.
Some of the registers are directly accessible at various I/O addresses. They may be read-only or write-only,
and some must be read from and written to at different I/O addresses. Most of the other registers are
accessed through a sub-addressing arrangement. The index of the desired register is written to an index
register, and then the desired register may be read from or written to through a data port. Almost all of these
sub-addressed registers are both readable and writable. Still other registers are directly accessible at
various memory addresses and here too, almost all of these registers are both readable and writable.
If a PC with a VGA graphics system does not have either an MDA display system or a CGA graphics system,
the VGA BIOS will initialize the VGA graphics system to take the place of either an MDA if a monochrome
display is attached to the VGA, or of a CGA if a color display is attached. However, if a PC with a VGA
graphics system also has an MDA display system, the VGA is initialized to take the place of a CGA,
regardless of the type of monitor attached to the VGA in order to avoid conflicts with the MDA. Likewise, if
a PC with a VGA graphics system also has a CGA graphics system, the VGA is initialized to take the place
of an MDA, regardless of the type of monitor attached to the VGA. The VGA standard does not allow a
system to have both an MDA display system and a CGA graphics system in the same PC along with a VGA
graphics system.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This graphics controller also supports 1 or more megabytes of frame buffer memory -- far larger than VGA’s
standard complement of 256KB. As an improvement upon the VGA standard frame buffer port-hole, this
graphics controller also maps the entire frame buffer into part of a single contiguous memory space at a
programmable location, providing what is called “linear” access to the frame buffer. The size of this memory
space is 16MB (however, the frame buffer does not fill this entire memory space), and the base address is
set through a PCI configuration register.
Most aspects of the host interface of this graphics controller are configured through a set of built-in PCI-
compliant setup registers. The system logic accesses these registers through standard PCI configuration
read and write cycles. Therefore, the exact location of the PCI configuration registers for this graphics
controller, as well as any other PCI device in the system I/O or memory address space depends on the
system logic design and the system software that configures the system.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
3B0-3B3
3B6-3B9
3BB-3BF
3C0 0x400780 Attribute Controller Index Attribute Controller Index and Data Port
3C1 0x400781 Attribute Controller Data Port Alternate Attribute Controller Data Port
3C2 0x400784 Input Status Register 0 (ST00) Misc. Output Register (MSR)
3C3
3C4 0x400788 Sequencer Index
3C5 0x400789 Sequencer Data Port
3C6 0x40078C Color Palette Mask
3C7 0x40078D Color Palette State Color Palette Read Mode Index
et4U.com DataShee
3C8 0x400790 Color Palette Write Mode Index
3C9 0x400791 Color Palette Data PortDataSheet4U.com
3CA 0x400794 Feature Control Register (FCR)
3CB
3CC 0x400798 Misc. Output Register (MSR)
3CD
3CE 0x40079C Graphics Controller Index
3CF 0x40079D Graphics Controller Data Port
3D0 0x4007A0 Flat Panel Extensions Index
3D1 0x4007A1 Flat Panel Extensions Data Port
3D2 0x4007A4 Multimedia Extensions Index
3D3 0x4007A5 Multimedia Extensions Data Port
3D4 0x4007A8 CRTC Index (CGA Emulation)
3D5 0x4007A9 CRTC Data Port (CGA Emulation)
3D6 0x4007AC Configuration Extensions Index
3D7 0x4007AD Configuration Extensions Data Port
3D8-3D9
3DB-3DF
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 6
Register Summaries
Table 6-1 PCI Configuration Registers
Configuration
Name Register Function Access Bits
Space Offset
00 VENDID Vendor ID Register read-only 16
02 DEVID Device ID Register read-only 16
04 DEVCTL Device Control Register read/clear 16
06 DEVSTAT Device Status Register read-only 16
08 REV Revision ID Register read-only 8
09 PRG Programming Interface Register read-only 8
0A SUB Sub-Class Code Register read-only 8
0B BASE Base Class Code Register read-only 8
0C Reserved (Cache Line Size) — 8
0D Reserved (Latency Timer) — 8
0E Reserved (Header Type) — 8
0F Reserved (Built-In-Self-Test) — 8
10 MBASE Memory Base Address Register read/write 32
14 Reserved (Base Address) — 32
18 Reserved (Base Address) — 32
1C Reserved (Base Address) — 32
et4U.com 20 Reserved (Base Address) — 32 DataShee
24 Reserved (Base Address) — 32
DataSheet4U.com
28 Reserved — 32
2C SUBVENDID Subsystem Vendor ID Register read-only 16
2E SUBDEVID Subsystem Device ID Register read-only 16
30 RBASE ROM Base Address Register read/write 32
34 Reserved — 32
38 Reserved — 32
3C INTLINE Interrupt Line Register read/write 8
3D INTPIN Interrupt Pin Register read-only 8
3E Reserved (Minimum Grant) — 8
3F Reserved (Maximum Latency) — 8
40 to 6B
6C SUBVENDSET Subsystem Vendor ID Set Register read/write 16
6E SUBDEVSET Subsystem Device ID Set Register read/write 16
6F to FF
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 7
PCI Configuration Registers
Table 7-1 PCI Configuration Registers
Configuration
Name Function Access Bits
Space Offset
00 VENDID Vendor ID Register read-only 16
02 DEVID Device ID Register read-only 16
04 DEVCTL Device Control Register read/clear 16
06 DEVSTAT Device Status Register read-only 16
08 REV Revision ID Register read-only 8
09 PRG Programming Interface Register read-only 8
0A SUB Sub-Class Code Register read-only 8
0B BASE Base Class Code Register read-only 8
0C Reserved (Cache Line Size) — 8
0D Reserved (Latency Timer) — 8
0E Reserved (Header Type) — 8
0F Reserved (Built-In-Self-Test) — 8
10 MBASE Memory Base Address Register read/write 32
et4U.com 14 Reserved (Base Address) — 32 DataShee
18 Reserved (Base Address) — 32
DataSheet4U.com
1C Reserved (Base Address) — 32
20 Reserved (Base Address) — 32
24 Reserved (Base Address) — 32
28 Reserved — 32
2C SUBVENDID Subsystem Vendor ID Register read-only 16
2E SUBDEVID Subsystem Device ID Register read-only 16
30 RBASE ROM Base Address Register read/write 32
34 Reserved — 32
38 Reserved — 32
3C INTLINE Interrupt Line Register read/write 8
3D INTPIN Interrupt Pin Register read-only 8
3E Reserved (Minimum Grant) — 8
3F Reserved (Maximum Latency) — 8
40 to 6B
6C SUBVENDSET Subsystem Vendor ID Set Register read/write 16
6E SUBDEVSET Subsystem Device ID Set Register read/write 16
6F to FF
Note: The mechanism used to generate the PCI configuration read and configuration write cycles by which
these registers are accessed is system-dependent.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15-0 Vendor ID
This is the vendor ID assigned to CHIPS by the PCI Special Interest group. This register always
returns the 16-bit value 102Ch (4140 decimal).
et4U.com DataShee
15-0 Device ID
This is the device ID assigned to the 69000 by CHIPS. This register always returns the 16-bit value
00C0h when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15-10 Reserved
Each of these bits always return a value of 0 when read.
8 SERR# Enable
0: Disables the use of SERR# and the setting of bit 14 (Signaled System Error bit) in the Device
Status Register (DEVSTAT) to 1 as a response to an address parity error. This is the default after
reset.
1: Enables the use of SERR# and the setting of bit 14 (Signaled System Error bit) in the Device
Status Register (DEVSTAT) to 1 as a response to an address parity error.
Note: Bit 8 (SERR# Enable) of this register must also be set to 1 to enable the use of SERR# and the
setting of bit 14 (Signaled System Error bit) in the Device Status Register (DEVSTAT) to 1 as a
response to an address parity error.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
3 Special Cycles
This graphics controller always ignores all special cycles, therefore this bit always returns the value
of 0 when read.
2 Bus Master
This graphics controller never functions as a PCI Bus master, therefore this bit always returns a
value of 0 when read.
Note: Accesses with only adjacent active byte enables are supported.
et4U.com DataShee
0 I/O Access Enable
0: Disables I/O port accesses. This is the default after reset.
DataSheet4U.com
1: Enables I/O port accesses.
Note: Accesses with only adjacent active byte enables are supported.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Important: Read accesses to this register behave normally. Writes, however, behave differently in that
bits can be reset to 0, but not set to 1. A bit in this register is reset to 0 whenever it is written with the value
of 1. Bits written with a value of 0 are entirely unaffected.
Note: This bit is set in response to a parity error regardless of the settings of either bit 6 (Parity Error
Response bit) and 8 (SERR# Enable) of the Device Control Register (DEVCTL).
Note: Both bits 6 (Parity Error Response bit) and 8 (SERR# Enable) of the Device Control Register
et4U.com (DEVCTL) must both be set to 1 to enable the use of SERR# and the setting of this bit to 1 in DataShee
response to an address parity error.
DataSheet4U.com
13 Received Master Abort
This bit applies only to PCI Bus masters. Since the 69000 never functions as a PCI Bus master,
this bit always returns a value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6 UDF Supported
This bit always returns a value of 0 when read, indicating that the 69000 does not provide features
that are definable by the end-user.
5 66MHz Capable
This bit always returns a value of 0 when read, indicating that the 69000 can be used with PCI at a
bus speed of 33MHz, not 66MHz.
This graphics controller is compatible with the AGP bus as a device capable of frame-based AGP
transfers, only, but it is NOT compatible with PCI-66 (the 66MHz version of PCI first described in
revision 2.1 of the PCI specification from the PCI SIG), and the fact that this bit returns the value of
0 when read is intended to reflect this.
et4U.com The setting of this bit has NO bearing on AGP compatibility -- this bit is entirely ignored by AGP DataShee
device configuration firmware.
DataSheet4U.com
4-0 Reserved
Each of these bits always return a value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
BASE Base Class Code Register
read-only at PCI configuration offset 0Bh
byte accessible
accessible only via PCI configuration cycles
7 6 5 4 3 2 1 0
Base Class Code
(03h)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6-0 Reserved
Each of these bits always return a value of 0 when read.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
(0000:0000) (0000:0000)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Memory Space Size Pref. Memory M or
Type I/O
(0000:0000:0000) (0) (00) (0)
3 Prefetchable
This bit always returns a value of 0 when read, indicating that the data in this 16MB memory space
should not be prefetched by the CPU.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
INTPIN Interrupt Pin Register
read-only at PCI configuration offset 3Dh DataSheet4U.com
byte accessible
accessible only via PCI configuration cycles
7 6 5 4 3 2 1 0
Interrupt pin
(01h)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ROM Space Size Addr
Enbl
(0000:0000:0000:000) (0)
et4U.com Note: Bit 1 of the Device Control register (DEVCTL) must also be set to 1 for the video BIOS ROM to be DataShee
accessible. Also, the ROM address space must not be programmed to a range that overlaps the
DataSheet4U.com
area specified by the MBASE register.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
SUBDEVSET Subsystem Device ID Set
read/write at PCI configuration offset 6Eh DataSheet4U.com
byte or word accessible
accessible only via PCI configuration cycles
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Subsystem Device ID Set
(00C0h)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 8
General Control and Status Registers
These are direct-access registers -- they are NOT read from or written to using any form of sub-indexing
scheme.
Various bits in these registers have bits that provide control over the real-time status of the horizontal sync
signal, the horizontal retrace interval, the vertical sync signal, and the vertical retrace interval.
The horizontal retrace interval is the time when the drawing of each horizontal line has active video data,
when the active video data is not being displayed. It is the time that includes the horizontal front and back
porches, and the horizontal sync pulse. The horizontal retrace interval is always longer than the horizontal
sync pulse.
et4U.com The vertical retrace interval is the period during the drawing of each screen, when the horizontal lines with DataShee
active video data are not drawn. This period includes the vertical front and back porches, and the vertical
sync pulse. The vertical retrace intervalDataSheet4U.com
is always longer than the vertical sync pulse.
The ‘Display Enable’ status bit (bit 0) in Input Status Register 1 indicates that either a horizontal retrace
interval or a vertical retrace interval is in progress (the name ‘Display Enable’ is misleading for this status
bit because the bit does not enable nor disable the graphics system as it’s name suggests). In the IBM
EGA graphics system (and the ones that preceded it, including MDA and CGA) it was important to check
the status of this bit to ensure that one or the other of the retrace intervals was taking place before accessing
the graphics memory. In these earlier systems reading from or writing to graphics memory outside the
retrace intervals meant that the CRT controller would be cut off from accessing the graphics memory in
order to draw pixels to the display, resulting in either “snow” or a flickering display.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: This bit does NOT indicate the status of any real hardware interrupt occurring at the onset of vertical
retrace. This bit works in conjunction with bit 3 of ST01 and bits 4 and 5 of CR11 to implement a
“phantom” interrupt for the sake of compatibility with older software. Early VGA graphics systems
(and their predecessors, including the EGA) had the ability to generate a hardware interrupt on
IRQ9 whenever a vertical retrace commenced. This was done because in these earlier graphics
systems it was important for the host CPU to wait for a vertical retrace interval before accessing the
frame buffer. If the host CPU accessed the frame buffer at a time other than the vertical retrace
interval, i.e., while data for the active display area was being drawn to the display, then either “snow”
on the display or a flickering display would result. Later graphics systems, including this one, do
NOT actually generate this interrupt.
6-5 Reserved
These bits return the value of 0 when read.
3-0 Reserved
These bits return the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 VSYNC Output
0: The VSYNC output pin is currently inactive.
1: The VSYNC output pin is currently active.
Note: This bit is largely unused by current software.
6 Reserved
This bit returns the value of 0 when read.
3 Vertical Retrace
0: Indicates that a vertical retrace interval is not taking place.
1: Indicates that a vertical retrace interval is taking place.
2-1 Reserved
et4U.com These bits return the value of 0 when read. DataShee
0 Display Enable DataSheet4U.com
0: Data for the active display area is being drawn to the display. Neither a horizontal retrace interval
nor a vertical retrace interval is currently taking place.
1: Either a horizontal or vertical retrace interval is currently taking place.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
These bits return the value of 0 when read.
3 VSYNC Control
0: VSYNC output pin simply provides the vertical sync signal.
1: VSYNC output pin provides a signal that is the logical OR of the vertical sync signal and the value
of bit 0 of Input Status Register 1 (ST01).
Note: This feature is largely unused by current software -- this bit is provided solely for VGA compatibility.
2-0 Reserved
These bits return the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The original VGA standard was created at a time pre-dating the onset of multifrequency displays
that examined clock rates or counted pulses to determine resolutions. Therefore, different
combinations of positive and negative polarities on the sync outputs were used to set original VGA
displays to any one of three modes (depicted in the table below). However, over time, numerous
additional resolutions and alternate timings intended to improve upon the original VGA standard
came to be widely used. In order to maintain compatibility with the VGA standard, the vast majority
of these use HSYNC and VSYNC outputs that are both configured to be of positive polarity since
this was the only choice left over as ‘reserved’ in the original VGA standard.
4 Reserved
This bit returns the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 10
Sequencer Registers
Access Index Value
Name Function
(via 3C5) In 3C4 (SRX)
SR00 Reset Register read/write 00
SR01 Clocking Mode Register read/write 01
SR02 Plane Mask Register read/write 02
SR03 Character Map Select Register read/write 03
SR04 Memory Mode Register read/write 04
SR07 Horizontal Character Counter Reset Register read/write 07
The sequencer registers are accessed by writing the index of the desired register into the VGA Sequencer
Index Register (SRX) at I/O address 3C4, and then accessing the desired register through the data port for
the sequencer registers at I/O address 3C5.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 9
CRT Controller Registers
Access Index Value
Name Register Function
3B5/3D5 3B4/3D4 (CRX)
CR00 Horizontal Total Register read/write 00h
CR01 Horizontal Display Enable End Register read/write 01h
CR02 Horizontal Blanking Start Register read/write 02h
CR03 Horizontal Blanking End Register read/write 03h
CR04 Horizontal Sync Start Register read/write 04h
CR05 Horizontal Sync End Register read/write 05h
CR06 Vertical Total Register read/write 06h
CR07 Overflow Register read/write 07h
CR08 Preset Row Scan Register read/write 08h
CR09 Maximum Scanline Register read/write 09h
CR0A Text Cursor Start Scanline Register read/write 0Ah
CR0B Text Cursor End Scanline Register read/write 0Bh
CR0C Start Address High Register read/write 0Ch
CR0D Start Address Low Register read/write 0Dh
CR0E Text Cursor Location High Register read/write 0Eh
CR0F Text Cursor Location Low Register read/write 0Fh
CR10 Vertical Sync Start Register read/write 10h
et4U.com CR11 Vertical Sync End Register read/write 11h DataShee
CR12 Vertical Display Enable End Register read/write 12h
CR13 Offset Register DataSheet4U.com read/write 13h
CR14 Underline Row Register read/write 14h
CR15 Vertical Blanking Start Register read/write 15h
CR16 Vertical Blanking End Register read/write 16h
CR17 CRT Mode Control Register read/write 17h
CR18 Line Compare Register read/write 18h
CR22 Memory Read Latch Data Register read-only 22h
CR30 Extended Vertical Total Register read/write 30h
CR31 Extended Vertical Display End Register read/write 31h
CR32 Extended Vertical Sync Start Register read/write 32h
CR33 Extended Vertical Blanking Start Register read/write 33h
CR38 Extended Horizontal Total Register read/write 38h
CR3C Extended Horizontal Blanking End Register read/write 3Ch
CR40 Extended Start Address Register read/write 40h
CR41 Extended Offset Register read/write 41h
CR70 Interlace Control Register read/write 70h
CR71 NTSC/PAL Video Output Control Register read/write 71h
CR72 NTSC/PAL Horizontal Serration 1 Start Register read/write 72h
CR73 NTSC/PAL Horizontal Serration 2 Start Register read/write 73h
CR74 NTSC/PAL Horizontal Pulse Width Register read/write 74h
CR75 NTSC/PAL Filtering Burst Read Length Register read/write 75h
CR76 NTSC/PAL Filtering Burst Read Quantity Register read/write 76h
CR77 NTSC/PAL Filtering Control Register read/write 77h
CR78 NTSC/PAL Vertical Reduction Register read/write 78h
CR79 NTSC/PAL Pixel Resolution Fine Adjust Register read/write 79h
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The CRT controller registers are accessed by writing the index of the desired register into the CRT
Controller Index Register at I/O address 3B4h or 3D4h (depending upon whether the graphics system is
configured for MDA or CGA emulation), and then accessing the desired register through the data port for
the CRT controller registers located at I/O address 3B5h or 3D5h (again depending upon the choice of MDA
or CGA emulation).
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the horizontal
total is specified with an 8-bit value, 8 bits of which are supplied by this register.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the horizontal total is
specified with a 9-bit value. The 8 least significant bits of the vertical total are supplied by the 8 bits
of this register. The most significant bit is supplied by bit 0 of the Extended Horizontal Total Register
(CR38).
This 8-bit or 9-bit value should be programmed to equal the total number of character clocks within
the total length of a scanline, minus 5.
Note: For NTSC/PAL output support, CR79 can be used to add a programmable number of pixel clocks
(as opposed to character clocks) to the horizontal total, permitting the horizontal total to be specified
with greater precision.
et4U.com DataShee
This register should be programmed with a value equal to the number of character clocks that occur
within the part of a scanline that is within the active display area minus 1.
This register should be programmed with a value equal to the number of character clocks that occur
on a scanline from the beginning of the active display area to the beginning of the horizontal
blanking.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 Reserved
Values written to this bit are ignored. To maintain consistency with the VGA standard, a value of 1
is returned whenever this bit is read. At one time, this bit was used to enable access to certain light
pen registers. At that time, setting this bit to 0 provided this access, but setting this bit to 1 was
necessary for normal operation.
Bit
Amount of Delay
6 5
0 0 no delay
0 1 delayed by 1 character clock
1 0 delayed by 2 character clocks
1 1 delayed by 3 character clocks
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the horizontal
blanking end is specified with a 6-bit value. The 5 least significant bits of the horizontal blanking
end are supplied by these 5 bits of this register, and the most significant bits is supplied by bit 7 of
the Horizontal Sync End Register (CR05).
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the horizontal blanking
end is specified with an 8-bit value. The 5 least significant bits of the horizontal blanking end are
supplied by these 5 bits of this register, the next most significant bit is supplied by bit 7 of the
Horizontal Sync End Register (CR05), and the 2 most significant bits are supplied by bits 7 and 6
of the Extended Horizontal Blanking End Register (CR3C).
This 6-bit or 8-bit value should be programmed to be equal to the least significant 6 or 8 bits,
respectively, of the result of adding the length of the blanking period in terms of character clocks to
the value specified in the Horizontal Blanking Start Register (CR02).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This register should be set to be equal to the number of character clocks that occur from the
beginning of the active display area to the beginning of the horizontal sync pulse on a single
scanline.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the horizontal
blanking end is specified with a 6-bit value. The 5 least significant bits of this value are supplied by
bits 4-0 of the Horizontal Blanking End Register (CR03), and the most significant bit is supplied by
this bit of this register.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the horizontal blanking
end is specified with an 8-bit value. The 5 least significant bits of this value are supplied by bits 4-
0 of the Horizontal Blanking End Register (CR03), the next most significant bit is supplied by this
bit of this register, and the 2 most significant bits are supplied by bits 7 and 6 of the Extended
Horizontal Blanking End Register (CR3C).
This 6-bit or 8-bit value should be programmed to be equal to the least significant 6 or 8 bits,
respectively, of the result of adding the length of the blanking period in terms of character clocks to
the value specified in the Horizontal Blanking Start Register (CR02).
Bit
Amount of Delay
6 5
0 0 no delay
0 1 delayed by 1 character clock
1 0 delayed by 2 character clocks
1 1 delayed by 3 character clocks
This 6-bit value should be set to the least significant 6 bits of the result of adding the width of the
sync pulse in terms of character clocks to the value specified in the Horizontal Sync Start Register
(CR04).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical total
is specified with a 10-bit value. The 8 least significant bits of the vertical total are supplied by these
8 bits of this register, and the 2 most significant bits are supplied by bits 5 and 0 of the Overflow
Register (CR07).
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical total is
specified with a 12-bit value. The 8 least significant bits of the vertical total are supplied by the 8
bits of this register (CR06). The 4 most significant bits are supplied by bits 3-0 of the Extended
Vertical Total Register (CR30).
This 10-bit or 12-bit value should be programmed to equal the total number of scanlines minus 2.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical sync
start is specified with a 10-bit value. The 8 least significant bits of the vertical sync start are supplied
by bits 7-0 of the Vertical Sync Start Register (CR10), and the most and second-most significant
bits are supplied by bit 7 and bit 2 of this register (CR07), respectively.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical display
end is specified with a 12-bit value. The 8 least significant bits of the vertical display end are
supplied by bits 7-0 of the Vertical Sync Start Register (CR10), and the 4 most significant bits are
supplied by bits 3-0 of the Extended Vertical Sync Start Register (CR32) register. In extended
modes, neither bit 7 nor bit 2 of this register are used.
This 10-bit or 12-bit value should be programmed to be equal to the number of scanlines from the
beginning of the active display area to the start of the vertical sync pulse. Since the active display
area always starts on the 0th scanline, this number should be equal to the number of the scanline
on which the vertical sync pulse begins.
et4U.com DataShee
6 Vertical Display Enable End Bit 9
The vertical display enable end is a 10-bit or 12-bit value that specifies the number of the last
DataSheet4U.com
scanline within the active display area.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical
display enable end is specified with a 10-bit value. The 8 least significant bits of the vertical display
enable are supplied by bits 7-0 of the Vertical Display Enable End Register (CR12), and the most
and second-most significant bits are supplied by bit 6 and bit 1 of this register (CR07), respectively.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical display
enable end is specified with a 12-bit value. The 8 least significant bits of the vertical display enable
are supplied by bits 7-0 of the Vertical Display Enable End Register (CR12), and the 4 most
significant bits are supplied by bits 3-0 of the Extended Vertical Display End Enable Register
(CR31). In extended modes, neither bit 6 nor bit 1 of this register are used.
This 10-bit or 12-bit value should be programmed to be equal to the number of the last scanline
within in the active display area. Since the active display area always starts on the 0th scanline,
this number should be equal to the total number of scanlines within the active display area minus 1.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical total
is specified with a 10-bit value. The 8 least significant bits of the vertical total are supplied by bits
7-0 of the Vertical Total Register (CR06), and the most and second-most significant bits are
supplied by bit 5 and bit 0 of this register (CR07), respectively.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical total is
specified with a 12-bit value. The 8 least significant bits of the vertical total are supplied by bits 7-
0 of the Vertical Total Register (CR06), and the 4 most significant bits are supplied by 3-0 bits of
the Extended Vertical Total Register (CR30). In extended modes, neither bit 5 nor bit 0 of this
register are used.
This 10-bit or 12-bit value should be programmed to be equal to the total number of scanlines minus
2.
Normally, this 10-bit value is set to specify a scanline after the last scanline of the active display
et4U.com area. When this 10-bit value is set to specify a scanline within the active display area, it causes that DataShee
scanline and all subsequent scanlines in the active display area to display video data starting at the
DataSheet4U.com
very first byte of the frame buffer. The result is what appears to be a screen split into a top and
bottom part, with the image in the top part being repeated in the bottom part.
When used in cooperation with the Start Address High Register (CR0C) and the Start Address Low
Register (CR0D), it is possible to create a split display, as described earlier, but with the top and
bottom parts displaying different data. The top part will display whatever data exists in the frame
buffer starting at the address specified in the two start address registers (CR0C and CR0D), while
the bottom part will display whatever data exists in the frame buffer starting at the first byte of the
frame buffer.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical
blanking start is specified with a 10-bit value. The 8 least significant bits of the vertical blanking start
are supplied by bits 7-0 of the Vertical Blanking Start Register (CR15), and the most and second-
most significant bits are supplied by bit 5 of the Maximum Scanline Register (CR09) and bit 3 of this
register (CR07), respectively.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical blanking
start is specified with a 12-bit value. The 8 least significant bits of the vertical blanking start are
supplied by bits 7-0 of the Vertical Blanking Start Register (CR15), and the 4 most significant bits
are supplied by bits 3-0 of the Extended Vertical Blanking Start Register (CR33). In extended
modes, neither bit 3 of CR07 nor bit 5 of the Maximum Scanline Register (CR09) are used.
This 10-bit or 12-bit value should be programmed to be equal to the number of scanlines from the
beginning of the active display area to the beginning of the blanking period. Since the active display
area always starts on the 0th scanline, this number should be equal to the number of the scanline
on which the vertical blanking period begins.
et4U.com In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical sync DataShee
start is specified with a 10-bit value. The 8 least significant bits of the vertical sync start are supplied
by bits 7-0 of the Vertical Sync Start Register (CR10), and the most and second-most significant
DataSheet4U.com
bits are supplied by bit 7 and bit 2 of this register (CR07), respectively.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical display
end is specified with a 12-bit value. The 8 least significant bits of the vertical display are supplied
by bits 7-0 of the Vertical Sync Start Register (CR10), and the 4 most significant bits are supplied
by bits 3-0 of the Extended Vertical Sync Start Register (CR32) register. In extended modes,
neither bit 7 nor bit 2 of this register (CR07) are used.
This 10-bit or 12-bit value should be programmed to be equal to the number of scanlines from the
beginning of the active display area to the start of the vertical sync pulse. Since the active display
area always starts on the 0th scanline, this number should be equal to the number of the scanline
on which the vertical sync pulse begins.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical
display enable end is specified with a 10-bit value. The 8 least significant bits of the vertical display
enable are supplied by bits 7-0 of the Vertical Display Enable End Register (CR12), and the most
and second-most significant bits are supplied by bit 6 and bit 1 of this register (CR07), respectively.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical display
enable end is specified with a 12-bit value. The 8 least significant bits of the vertical display enable
are supplied by bits 7-0 of the Vertical Display Enable End Register (CR12), and the 4 most
significant bits are supplied by bits 3-0 of the Extended Vertical Display End Enable Register
(CR31). In extended modes, neither bit 6 nor bit 1 of this register (CR07) are used.
This 10-bit or 12-bit value should be programmed to be equal to the number of the last scanline
within in the active display area. Since the active display area always starts on the 0th scanline,
this number should be equal to the total number of scanlines within the active display area minus 1.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical total
is specified with a 10-bit value. The 8 least significant bits of the vertical total are supplied by bits
et4U.com 7-0 of the Vertical Total Register (CR06), and the most and second-most significant bits are DataShee
supplied by bit 5 and bit 0 of this register (CR07), respectively.
DataSheet4U.com
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical total is
specified with a 12-bit value. The 8 least significant bits of the vertical total are supplied by bits 7-
0 of the Vertical Total Register (CR06), and the 4 most significant bits are supplied by 3-0 bits of
the Extended Vertical Total Register (CR30). In extended modes, neither bit 5 nor bit 0 of this
register (CR07) are used.
This 10-bit or 12-bit value should be programmed to be equal to the total number of scanlines minus
2.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 Reserved
In text modes with a 9-pixel wide character box, the image can be shifted up to 27 pixels to the left,
in increments of 9 pixels.
In text modes with an 8-pixel wide character box, and in all standard VGA graphics modes, the
image can be shifted up to 24 pixels to the left in increments of 8 pixels.
The image can be shifted still further, in increments of individual pixels, through the use of bits 3-0
of the Horizontal Pixel Panning Register (AR13).
1 0 18 16
1 1 27 24
Note: In the VGA standard this is called the ‘Byte Panning’ bit.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 Double Scanning
0: Disables double scanning. The clock to the row scan counter is equal to the horizontal scan rate.
This is the normal setting for many of the standard VGA modes and all of the extended modes.
1: Enables double scanning. The clock to the row scan counter is divided by 2. This is normally
used to allow CGA-compatible modes that have only 200 scanlines of active video data to be
displayed as 400 scanlines (each scanline is displayed twice).
Normally, this 10-bit value is set to specify a scanline after the last scanline of the active display
area. When this 10-bit value is set to specify a scanline within the active display area, it causes that
scanline and all subsequent scanlines in the active display area to display video data starting at the
very first byte of the frame buffer. The result is what appears to be a screen split into a top and
bottom part, with the image in the top part being repeated in the bottom part.
et4U.com When used in cooperation with the Start Address High Register (CR0C) and the Start Address Low DataShee
Register (CR0D), it is possible to create a split display but with the top and bottom parts displaying
different data, as described earlier. The top part will display whatever data exists in the frame buffer
DataSheet4U.com
starting at the address specified in the two start address registers (CR0C and CR0D) while the
bottom part will display whatever data exists in the frame buffer starting at the first byte of the frame
buffer.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical
blanking start is specified with a 10-bit value. The 8 least significant bits of the vertical blanking start
are supplied by bits 7-0 of the Vertical Blanking Start Register (CR15) and the most and second-
most significant bits are supplied by bit 5 of this register (CR09) and bit 3 of the Overflow Register
(CR07), respectively.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical blanking
start is specified with a 12-bit value. The 8 least significant bits of this value are supplied by bits 7-
0 of the Vertical Blanking Start Register (CR15), and the 4 most significant bits are supplied by bits
3-0 of the Extended Vertical Blanking Start Register (CR33). In extended modes, neither bit 5 of
CR09 nor bit 3 of the Overflow Register (CR07) are used.
This 10-bit or 12-bit value should be programmed to be equal to the number of scanline from the
beginning of the active display area to the beginning of the blanking period. Since the active display
area always starts on the 0th scanline, this number should be equal to the number of the scanline
on which the vertical blanking period begins.
This value should be programmed to be equal to the number of scanlines in a Horizontal row of text,
et4U.com minus 1. DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This cursor is the text cursor that is part of the VGA standard and should not be confused with the hardware
cursor and popup (cursor 1 and cursor 2), which are intended to be used in graphics modes. This register
is entirely ignored in graphics modes.
7-6 Reserved
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This cursor is the text cursor that is part of the VGA standard and should not be confused with the hardware
cursor and popup (cursor 1 and cursor 2), which are intended to be used in graphics modes. This register
is entirely ignored in graphics modes.
7 Reserved
Bits
Amount of Delay
6 5
0 0 no delay
0 1 delayed by 1 character clock
1 0 delayed by 2 character clocks
11 delayed by 3 character clocks
et4U.com DataShee
4-0 Text Cursor End
These 5 bits specify which horizontal line DataSheet4U.com
of pixels within a character box is to be used to display
the last horizontal line of the cursor in text mode. The horizontal lines of pixels within a character
box are numbered from top to bottom, with the top-most line being number 0. The value specified
by these 5 bits should be the number of the last horizontal line of pixels on which the cursor is to be
shown.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the start address
is specified with a 16-bit value. The eight bits of this register provide the eight most significant bits
of this value, while the eight bits of the Start Address Low Register (CR0D) provide the eight least
significant bits.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the start address is
specified with a 20-bit value. The four most significant bits are provided by bits 3-0 of the Extended
Start Address Register (CR40), bits 15 through 8 of this value are provided by this register and the
eight least significant bits are provided by the Start Address Low Register (CR0D). Note that in
extended modes, these 20 bits are double-buffered and synchronized to VSYNC to ensure that
changes occurring on the screen as a result of changes in the start address always have a smooth
or instantaneous appearance. To change the start address in extended modes, all three registers
must be set for the new value, and then bit 7 of CR40 must be set to 1. When this is done the
hardware will update the start address on the next VSYNC. When this update has been performed,
the hardware will set bit 7 of CR40 back to 0.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the start address
is specified with a 16-bit value. The eight bits of the Start Address High Register (CR0C) provide
the eight most significant bits of this value, while the eight bits of this register provide the eight least
significant bits.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the start address is
specified with a 20-bit value. The four most significant bits are provided by bits 3-0 of the Extended
Start Address Register (CR40), bits 15 through 8 of this value are provided by the Start Address
High Register (CR0C), and the eight least significant bits are provided by this register. Note that in
extended modes, these 20 bits are double-buffered and synchronized to VSYNC to ensure that
changes occurring on the screen as a result of changes in the start address always have a smooth
or instantaneous appearance. To change the start address in extended modes, all three registers
must be set for the new value, and then bit 7 of CR40 must be set to 1. When this is done the
hardware will update the start address on the next VSYNC. When this update has been performed,
the hardware will set bit 7 of CR40 back to 0.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This cursor is the text cursor that is part of the VGA standard and should not be confused with the hardware
cursor and popup (cursor 1 and cursor 2), which are intended to be used in graphics modes. This register
is entirely ignored in graphics modes.
et4U.com DataShee
DataSheet4U.com
CR0F Text Cursor Location Low Register
read/write at I/O address 3B5h/3D5h with index at address 3B4h/3D4h set to 0Fh
7 6 5 4 3 2 1 0
Text Cursor Location Bits 7-0
This cursor is the text cursor that is part of the VGA standard and should not be confused with the hardware
cursor and popup (cursor 1 and cursor 2), which are intended to be used in graphics modes. This register
is entirely ignored in graphics modes.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, this value is
described in 10 bits with bits 7 and 2 of the Overflow Register (CR07) supplying the 2 most
significant bits.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, this value is described
in 12 bits with bits 3-0 of the Extended Vertical Sync Start Register (CR32) supplying the 4 most
significant bits.
This 10-bit or 12-bit value should equal the vertical sync start in terms of the number of scanlines
from the beginning of the active display area to the beginning of the vertical sync pulse. Since the
active display area always starts on the 0th scanline, this number should be equal to the number of
the scanline on which the vertical sync pulse begins minus 1.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: The ability to write to bit 4 of the Overflow Register (CR07) is not affected by this bit. Bit 4 of the
Overflow Register is always writable.
6 Reserved
Writes to this bit are ignored. In the VGA standard, this bit was used to switch between 3 and 5
frame buffer refresh cycles during the time required to draw each horizontal line.
Note: The hardware does not actually provide an interrupt signal which would be connected to an input
of the system’s interrupt controller. Bit 7 of Input Status Register 0 (ST00) indicates the status of
the vertical retrace interrupt, and can be polled by software to determine if a vertical retrace interrupt
has taken place. Bit 4 of this register can be used to clear a pending vertical retrace interrupt.
et4U.com DataShee
4 Vertical Interrupt Clear
Setting this bit to 0 clears a pending vertical retrace interrupt. This bit must be set back to 1 to
DataSheet4U.com
enable the generation of another vertical retrace interrupt.
Note: The hardware does not actually provide an interrupt signal which would be connected to an input
of the system’s interrupt controller. Bit 7 of Input Status Register 0 (ST00) indicates the status of
the vertical retrace interrupt, and can be polled by software to determine if a vertical retrace interrupt
has taken place. Bit 5 of this register can be used to enable or disable the generation of vertical
retrace interrupts.
This 4-bit value should be set to the least significant 4 bits of the result of adding the length of the
vertical sync pulse in terms of the number of scanlines that occur within the length of the vertical
sync pulse to the value that specifies the beginning of the vertical sync pulse. See the description
of the Vertical Sync Start Register (CR10) for more details.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, this value is
described in 10 bits with bits 6 and 1 of the Overflow Register (CR07) supplying the 2 most
significant bits.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, this value is described
in 12 bits with bits 3-0 of the Extended Vertical Display Enable End Register (CR31) supplying the
4 most significant bits.
This 10-bit or 12-bit value should be programmed to be equal to the number of the last scanline
within in the active display area. Since the active display area always starts on the 0th scanline,
this number should be equal to the total number of scanlines within the active display area, minus 1.
et4U.com DataShee
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the offset is
described with an 8-bit value, with all the bits provided by this register (CR13).
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the offset is described
with a 12-bit value. The four most significant bits of this value are provided by bits 3-0 of the
Extended Offset Register (CR41), and the eight least significant bits are provided by this register
(CR13).
This 8-bit or 12-bit value should be programmed to be equal to either the number of words or
doublewords (depending on the setting of the bits in the Clocking Mode Register, SR01) of frame
buffer memory that is occupied by each horizontal row of characters.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 Reserved
6 Doubleword Mode
0: Frame buffer addresses are interpreted by the frame buffer address decoder as being either byte
addresses or word addresses, depending upon the setting of bit 6 of the CRT Mode Control
Register (CR17).
1: Frame buffer addresses are interpreted by the frame buffer address decoder as being
doubleword addresses regardless of the setting of bit 6 of the CRT Mode Control Register (CR17).
Note: This bit is used in conjunction with bits 6 and 5 of the CRT Mode Control Register (CR17) to select
how frame buffer addresses from the CPU are interpreted by the frame buffer address decoder as
shown below:
CR14 CR17
Addressing Mode
Bit 6 Bit 6
0 0 Word Mode
0 1 Byte Mode
1 0 Doubleword Mode
1 1 Doubleword Mode
et4U.com DataShee
5 Count By 4 DataSheet4U.com
0: The memory address counter is incremented either every character clock or every other
character clock, depending upon the setting of bit 3 of the CRT Mode Control Register.
1: The memory address counter is incremented either every 4 character clocks or every 2 character
clocks, depending upon the setting of bit 3 of the CRT Mode Control Register.
Note: This bit is used in conjunction with bit 3 of the CRT Mode Control Register (CR17) to select the
number of character clocks are required to cause the memory address counter to be incremented
as shown, below:
CR14 CR17
Address Incrementing Interval
Bit 5 Bit 3
0 0 every character clock
0 1 every 2 character clocks
1 0 every 4 character clocks
1 1 every 2 character clocks
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the vertical
blanking start is specified with a 10-bit value. The most and second-most significant bits of this
value are supplied by bit 5 of the Maximum Scanline Register (CR09) and bit 3 of the Overflow
Register (CR07), respectively.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical blanking
start is specified with a 12-bit value. The 4 most significant bits of this value are supplied by bits 3-
0 of the Extended Vertical Blanking Start Register (CR33).
This 10-bit or 12-bit value should be programmed to be equal to the number of scanlines from the
beginning of the active display area to the beginning of the vertical blanking period. Since the active
display area always starts on the 0th scanline, this number should be equal to the number of the
scanline on which vertical blanking begins, minus one.
et4U.com DataShee
DataSheet4U.com
This 8-bit value should be set equal to the least significant 8 bits of the result of adding the length
of the vertical blanking period in terms of the number of scanlines that occur within the length of the
vertical blanking period to the value that specifies the beginning of the vertical blanking period (see
the description of the Vertical Blanking Start Register for details).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: This bit is used in conjunction with bits 6 and 5 of the CRT Mode Control Register (CR17) to control
how frame buffer addresses from the memory address counter are interpreted by the frame buffer
address decoder as shown below:
CR14 CR17
Addressing Mode
et4U.com Bit 6 Bit 6
DataShee
Word Mode -- addresses from the memory address counter are shifted
0 0
DataSheet4U.com
once to become word-aligned
0 1 Byte Mode -- addresses from the memory address counter are not shifted
Doubleword Mode -- addresses from the memory address counter are
1 0
shifted twice to become doubleword-aligned
Doubleword Mode -- addresses from the memory address counter are
1 1
shifted twice to become doubleword-aligned
5 Address Wrap
0: Wrap frame buffer address at 16KB. This is used in CGA-compatible modes.
1: No wrapping of frame buffer addresses.
Note: This bit is only effective when word mode is made active by setting bit 6 in both the Underline
Location Register and this register to 0.
4 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
3 Count By 2
0: The memory address counter is incremented either every character clock or every 4 character
clocks, depending upon the setting of bit 5 of the Underline Location Register.
1: The memory address counter is incremented either every other clock.
This bit is used in conjunction with bit 5 of the Underline Location Register (CR14) to select the
number of character clocks required to cause the memory address counter to be incremented as
shown, below:
CR14 CR17
Address Incrementing Interval
Bit 5 Bit 3
0 0 every character clock
0 1 every 2 character clocks
1 0 every 4 character clocks
1 1 every 2 character clocks
See the note at the end of this register description for an overview of the interactions between this
and other bits.
See the note at the end of this register description for an overview of the interactions between this
and other bits.
Note: The two tables that follow show the possible ways in which the address bits from the memory address
counter can be shifted and/or reorganized before being presented to the frame buffer address decoder.
First, the address bits generated by the memory address counter (MAOut0 to MAOut15) are reorganized,
if needed, to accommodate byte, word, or doubleword modes. The resulting reorganized outputs (Reorg0
to Reorg15) may then also be further manipulated with the substitution of bits from the row scan counter
(RSOut0 and RSOut1) before finally being presented to the input bits of the frame buffer address decoder
(FBIn15-FBIn0).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Normally, this 10-bit value is set to specify a scanline after the last scanline of the active
display area. When this 10-bit value is set to specify a scanline within the active display
area, it causes that scanline and all subsequent scanlines in the active display area to
display video data starting at the very first byte of the frame buffer. The result is what
appears to be a screen split into a top and bottom part, with the image in the top part being
repeated in the bottom part.
When used in cooperation with the Start Address High Register (CR0C) and the Start
Address Low Register (CR0D), it is possible to create a split display, as described earlier,
but with the top and bottom parts displaying different data. The top part will display
whatever data exists in the frame buffer starting at the address specified in the two start
address registers (CR0C and CR0D), while the bottom part will display whatever data
exists in the frame buffer starting at the first byte of the frame buffer.
et4U.com DataShee
DataSheet4U.com
CR22 Memory Read Latch Data Register
read-only at I/O address 3B5h/3D5h with index at address 3B4h/3D4h set to 22h
7 6 5 4 3 2 1 0
Memory Read Latch Data
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
These bits should always be written with the value of 0.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the
vertical total is specified with a 10-bit value. The 8 least significant bits of the vertical total
are supplied by bits 7-0 of the Vertical Total Register (CR06), and the 2 most significant bits
are supplied by bits 5 and 0 of the Overflow Register (CR07). In standard VGA modes,
these bits 3-0 of this register (CR30) are not used.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical
total is specified with a 12-bit value. The 8 least significant bits of this value are supplied
by bits 7-0 of the Vertical Total Register (CR06), and the 4 most significant bits are supplied
by bits 3-0 of this register (CR30).
This 10-bit or 12-bit value should be programmed to be equal to the total number of
scanlines, minus 2.
et4U.com DataShee
DataSheet4U.com
CR31 Extended Vertical Display End Register
read/write at I/O address 3B5h/3D5h with index at address 3B4h/3D4h set to 31h
7 6 5 4 3 2 1 0
Reserved Vertical Display End Bits 11-8
7-4 Reserved
These bits should always be written with the value of 0.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the
vertical display enable end is specified with a 10-bit value. The 8 least significant bits of
the vertical display enable end are supplied by bits 7-0 of the Vertical Display Enable End
Register (CR12), and the 2 most significant bits are supplied by bits 6 and 1 of the Overflow
Register (CR07). In standard VGA modes bits 3-0 of CR31 are not used.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical
display enable end is specified with a 12-bit value. The 8 least significant bits of the vertical
display enable end are supplied by bits 7-0 of the Vertical Display Enable End Register
(CR12), and the 4 most significant bits are supplied by these 4 bits of this register (CR31).
This 10-bit or 12-bit value should be programmed to be equal to the number of the last
scanline with in the active display area. Since the active display area always starts on the
0th scanline, this number should be equal to the total number of scanlines within the active
DataSheet4U.com display area, minus 1.
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
These bits should always be written with the value of 0.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the
vertical sync start is specified with a 10-bit value. The 8 least significant bits of the vertical
sync start are supplied by bits 7-0 of the Vertical Sync Start Register (CR10), and the 2
most significant bits are supplied by bits 7 and 2 of the Overflow Register (CR07). In
standard VGA modes, bits 3-0 of CR32 are not used.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical
display end is specified with a 12-bit value. The 8 least significant bits of the vertical sync
start are supplied by bits 7-0 of the Vertical Sync Start Register (CR10), and the 4 most
significant bits are supplied by bits 3-0 of this register (CR32).
This 10-bit or 12-bit value should be programmed to be equal to the number of scanlines
from the beginning of the active display area to the start of the vertical sync pulse. Since
et4U.com the active display area always starts on the 0th scanline, this number should be equal to DataShee
the number of the scanline on which the vertical sync pulse begins.
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
These bits should always be written with the value of 0.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the
vertical blanking start is specified with a 10-bit value. The 8 least significant bits of the
vertical blanking start are supplied by bits 7-0 of the Vertical Blanking Start Register
(CR15), and the most and second-most significant bits are supplied by bit 5 of the
Maximum Scanline Register (CR09) and bit 3 of the Overflow Register (CR07),
respectively. In standard VGA modes, bits 3-0 if this register (CR33) are not used.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the vertical
blanking start is specified with a 12-bit value. The 8 least significant bits of this value are
supplied by bits 7-0 of the Vertical Blanking Start Register (CR15), and the 4 most
significant bits are supplied by bits 3-0 of this register (CR33).
This 10-bit or 12-bit value should be programmed to be equal to the number of scan lines
et4U.com from the beginning of the active display area to the beginning of the blanking period. Since DataShee
the active display area always starts on the 0th scanline, this number should be equal to
the number of the scanline on which the vertical blanking period begins.
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-1 Reserved
These bits should always be written with the value of 0.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the
horizontal total is specified with an 8-bit value. All 8 bits of the horizontal total are supplied
by bits 7-0 of the Horizontal Total Register (CR00). In standard VGA modes, this bit is not
used.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the horizontal
total is specified with a 9-bit value. The 8 least significant bits of this value are supplied by
bits 7-0 of the Horizontal Total Register (CR00), and the most significant bit is supplied by
this bit of this register.
et4U.com This 8-bit or 9-bit value should be programmed to equal the total number of character
DataShee
clocks within the total length of a scanline minus 5.
DataSheet4U.com
Note: For NTSC/PAL output support, CR79 can be used to add a programmable number
of pixel clocks (as opposed to character clocks) to the horizontal total, permitting the
horizontal total to be specified with greater precision.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the
horizontal blanking end is specified with a 6-bit value. The 5 least significant bits of this
value are supplied by bits 4-0 of the Horizontal Blanking End Register (CR03), and the most
significant bit is supplied by bit 7 of the Horizontal Sync End Register (CR05). In standard
VGA modes, this bit is not used.
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the horizontal
blanking end is specified with an 8-bit value. The 5 least significant bits of this value are
supplied by bits 4-0 of the Horizontal Blanking End Register (CR03), the next most
significant bit is supplied by bit 7 of the Horizontal Sync End Register (CR05), and both the
most significant and 2nd most significant bits are supplied by bits 7 and 6, respectively, of
this register.
This 6-bit or 8-bit value should be programmed to be equal to the least significant 6 or 8
et4U.com bits, respectively, of the result of adding the length of the blanking period in terms of
DataShee
character clocks to the value specified in the Horizontal Blanking Start Register (CR02).
DataSheet4U.com
5-0 Reserved
These bits should always be written with the value of 0.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6-4 Reserved
Whenever this register is written to, these bits should be set to 0.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the start
et4U.com address is specified with a 16-bit value. The eight bits of the Start Address High Register DataShee
(CR0C) provide the eight most significant bits of this value, while the eight bits of the Start
Address Low Register (CR0D) provide the eight least significant bits.
DataSheet4U.com
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the start
address is specified with a 20-bit value. The four most significant bits are provided by bits
3-0 of this register, bits 15 through 8 of this value are provided by the Start Address High
Register (CR0C), and the eight least significant bits are provided by the Start Address Low
Register (CR0D). Note that in extended modes, these 20 bits are double-buffered and
synchronized to VSYNC to ensure that changes occurring on the screen as a result of
changes in the start address always have a smooth or instantaneous appearance. To
change the start address in extended modes, all three registers must be set for the new
value, and then bit 7 of this register must be set to 1. Only if this is done, will the hardware
update the start address on the next VSYNC. When this update has been performed, the
hardware will set bit 7 of this register back to 0.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
Whenever this register is written to, these bits should be set to 0.
In standard VGA modes, where bit 0 of the I/O Control Register (XR09) is set to 0, the offset
is described with an 8-bit value, all the bits of which are provided by the Offset Register
(CR13).
In extended modes, where bit 0 of the I/O Control Register (XR09) is set to 1, the offset is
described with a 12-bit value. The four most significant bits of this value are provided by
bits 3-0 of this register, and the eight least significant bits are provided by the Offset
Register (CR13).
This 8-bit or 12-bit value should be programmed to be equal to either the number of words
or doublewords (depending on the setting of the bits in the Clocking Mode Register, SR01)
et4U.com of frame buffer memory that is occupied by each horizontal row of characters. DataShee
DataSheet4U.com
7 Interlace Enable
0: Selects non-interlaced CRT output. This is the default after reset.
1: Selects interlaced CRT output.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 NTSC/PAL Select
0: Selects NTSC-formatted video output.
1: Selects PAL-formatted video output.
6 Pedestal Enable
0: Disables the provision of an additional voltage pedestal on red, green and blue analog output
lines during the active video portions of each horizontal line.
1: Enables the provision of an additional voltage pedestal on the red, green, and blue analog output
lines during the active video portions of each horizontal line.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-6 Reserved
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
These bits should always be written with the value of 0.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6-5 Reserved
These bits always return the value of 0 when read.
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-3 Reserved
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 10
Sequencer Registers
Access Index Value
Name Function
(via 3C5) In 3C4 (SRX)
SR00 Reset Register read/write 00
SR01 Clocking Mode Register read/write 01
SR02 Plane Mask Register read/write 02
SR03 Character Map Select Register read/write 03
SR04 Memory Mode Register read/write 04
SR07 Horizontal Character Counter Reset Register read/write 07
The sequencer registers are accessed by writing the index of the desired register into the VGA Sequencer
Index Register (SRX) at I/O address 3C4, and then accessing the desired register through the data port for
the sequencer registers at I/O address 3C5.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-3 Reserved
Note: SR02 is referred to in the VGA standard as the Map Mask Register. However, the word “map” is
used with multiple meanings in the VGA standard and was therefore deemed too confusing, hence
the reason for calling it the Plane Mask Register.
Note: SR07 is a standard VGA register that was not documented by IBM.
It is not a CHIPS extension.
et4U.com DataShee
DataSheet4U.com
7-2 Reserved
1 Synchronous Reset
Setting this bit to 0 commands the sequencer to perform a synchronous clear and then halt. The
sequencer should be reset via this bit before changing the Clocking Mode Register (SR01) if the
memory contents are to be preserved. However, leaving this bit set to 0 for longer than a few tenths
of a microsecond can still cause data loss in the frame buffer. No register settings are changed by
performing this type of reset.
0: Forces synchronous reset and halt
1: Permits normal operation
0 Asynchronous Reset
Setting this bit to 0 commands the sequencer to perform a clear and then halt. Resetting the
sequencer via this bit can cause data loss in the frame buffer. No register settings are changed by
performing this type of reset.
0: Forces asynchronous reset
1: Permits normal operation
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-6 Reserved
5 Screen Off
0: Permits normal operation
1: Disables all graphics output except for video playback windows and turns off the picture-
generating logic allowing the full memory bandwidth to be available for both host CPU accesses
and accesses by the multimedia engine for video capture and playback functions. Synchronization
pulses to the display, however, are maintained. Setting this bit to 1 can be used as a way to more
rapidly update the frame buffer.
4 Shift 4
0: Causes the video data shift registers to be loaded every 1 or 2 character clock cycles, depending
on bit 2 of this register.
1: Causes the video data shift registers to be loaded every 4 character clock cycles.
2 Shift Load
This bit is ignored if bit 4 of this register is set to 1.
0: Causes the video data shift registers to be loaded on every character clock, if bit 4 of this register
is set to 0.
1: Causes the video data shift registers to be loaded every 2 character clocks, provided that bit 4
of this register is set to 0.
1 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: This register is referred to in the VGA standard as the Map Mask Register. However, the word “map”
is used with multiple meanings in the VGA standard and was, therefore, deemed too confusing, hence the
reason for calling it the Plane Mask Register.
7-4 Reserved
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: In text modes, bit 3 of the video data’s attribute byte normally controls the foreground intensity. This
bit may be redefined to control switching between character sets. This latter function is enabled whenever
there is a difference in the values of the Character Font Select A and the Character Font Select B bits. If
the two values are the same, the character select function is disabled and attribute bit 3 controls the
foreground intensity.
7-6 Reserved
Bit
Bit 5 Map Number Table Location
3 2
0 0 0 0 1st 8KB of plane 2 at offset 0
0 0 1 4 2nd 8KB of plane 2 at offset 8K
0 1 0 1 3rd 8KB of plane 2 at offset 16K
0 1 1 5 4th 8KB of plane 2 at offset 24K
et4U.com 1 0 0 2 5th 8KB of plane 2 at offset 32K DataShee
1 0 1 6 6th 8KB of plane 2 at offset 40K
DataSheet4U.com
1 1 0 3 7th 8KB of plane 2 at offset 48K
1 1 1 7 8th 8KB of plane 2 at offset 56K
Bit
Bit 4 Map Number Table Location
1 0
0 0 0 0 1st 8KB of plane 2 at offset 0
00 1 4 2nd 8KB of plane 2 at offset 8K
0 1 0 1 3rd 8KB of plane 2 at offset 16K
0 1 1 5 4th 8KB of plane 2 at offset 24K
1 0 0 2 5th 8KB of plane 2 at offset 32K
1 0 1 6 6th 8KB of plane 2 at offset 40K
1 1 0 3 7th 8KB of plane 2 at offset 48K
1 1 1 7 8th 8KB of plane 2 at offset 56K
Note: Bit 1 of the Memory Mode Register (SR04) must be set to 1 for the character font select function of
this register to be active. Otherwise, only character maps 0 and 4 are available.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
3 Chain 4 Mode
0: The manner in which the frame buffer memory is mapped is determined by the setting of bit 2 of
this register.
1: The frame buffer memory is mapped in such a way that the function of address bits 0 and 1 are
altered so that they select planes 0 through 3.
The selections made by this bit affect both CPU read and write accesses to the frame buffer.
2 Odd/Even Mode
0: The frame buffer is mapped so that address bit 0 is used to select between sets of planes such
that even addresses select memory planes 0 and 2 and odd addresses select memory planes 1 and
3.
1: Addresses sequentially access data within a bit map, and the choice of which map is accessed
is made according to the value of the Plane Mask Register (SR02).
Note: Bit 3 of this register must be set to 0 for this bit to be effective. The selections made by this bit affect
only CPU writes to the frame buffer.
et4U.com Note: This works in a way that is the inverse of (and is normally set to be the opposite of) bit 2 of the DataShee
Memory Mode Register (SR04).
DataSheet4U.com
1 Extended Memory Enable
0: Disable CPU accesses to more than the first 64KB of VGA standard memory.
1: Enable CPU accesses to the rest of the 256KB total VGA memory beyond the first 64KB.
This bit must be set to 1 to enable the selection and use of character maps in plane 2 via the
Character Map Select Register (SR03).
0 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Writing this register with any data will cause the horizontal character counter to be held in reset (the
character counter output will remain 0) until a write occurs to any other sequencer register location with SRX
set to an index of 0 through 6.
The vertical line counter is clocked by a signal derived from the horizontal display enable (which does not
occur if the horizontal counter is held in reset). Therefore, if a write occurs to this register occurs during the
vertical retrace interval, both the horizontal and vertical counters will be set to 0. A write to any other
sequencer register location (with SRX set to an index of 0 through 6) may then be used to start both counters
with reasonable synchronization to an external event via software control.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 11
Graphics Controller Registers
Name Function Access Index Value
(via 3CF) In 3CE (GRX)
GR00 Set/Reset Register read/write 00h
GR01 Enable Set/Reset Register read/write 01h
GR02 Color Compare Register read/write 02h
GR03 Data Rotate Register read/write 03h
GR04 Read Map Select Register read/write 04h
GR05 Graphics Mode Register read/write 05h
GR06 Miscellaneous Register read/write 06h
GR07 Color Don’t Care Register read/write 07h
GR08 Bit Mask Register read/write 08h
The graphics controller registers are accessed by writing the index of the desired register into the VGA
Graphics Controller Index Register (GRX) at I/O address 3CE, then accessing the desired register through
the data port for the graphics controller registers located at I/O address 3CF.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
et4U.com DataShee
DataSheet4U.com
7-4 Reserved
When the Write Mode bits (bits 0 and 1) of the Graphics Mode Register (GR05) are set to select
Write Mode 3, all CPU data written to the frame buffer is rotated, then logically ANDed with the
contents of the Bit Mask Register (GR08) and then treated as the addressed data’s bit mask, while
value of these four bits of this register are treated as the color value.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
et4U.com DataShee
DataSheet4U.com
GR02 Color Compare Register
read/write at I/O address 3CFh with index at address 3CEh set to 02h
7 6 5 4 3 2 1 0
Color Comp Color Comp Color Comp Color Comp
Reserved
Plane 3 Plane 2 Plane 1 Plane 0
7-4 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-5 Reserved
Bit
Result
4 5
Data being written to the frame buffer remains unchanged, and is simply
0 0
stored in the frame buffer.
Data being written to the frame buffer is logically ANDed with the data in
0 1
the memory read latch before it is actually stored in the frame buffer.
Data being written to the frame buffer is logically ORed with the data in
1 0
the memory read latch before it is actually stored in the frame buffer.
Data being written to the frame buffer is logically XORed with the data in
1 1
the memory read latch before it is actually stored in the frame buffer.
et4U.com DataShee
2-0 Rotate Count
These bits specify the number of bits to the right to rotate any data that is meant to be written to the
DataSheet4U.com
frame buffer just before it is actually stored in the frame buffer at the intended address location.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-2 Reserved
Bits
Plane Selected
1 0
0 0 Plane 0
0 1 Plane 1
1 0 Plane 2
1 1 Plane 3
These two bits also select which of the four memory read latches may be read via the Memory Read
Latch Data Register (CR22). The choice of memory read latch corresponds to the choice of plane
specified in the table above. The Memory Read Latch Data register and this additional function
et4U.com served by 2 bits are features of the VGA standard that were never documented by IBM. DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 Reserved
0, 0: One bit of data at a time from parallel bytes in each of the 4 memory planes is transferred to
the palette via the 4 serial output bits, with 1 of each of the serial output bits corresponding to a
memory plane. This provides a 4-bit value on each transfer for 1 pixel, making possible a choice
of 1 of 16 colors per pixel.
Serial Out 1st Xfer 2nd Xfer 3rd Xfer 4th Xfer 5th Xfer 6th Xfer 7th Xfer 8th Xfer
plane 3 plane 3 plane 3 plane 3 plane 3 plane 3 plane 3 plane 3
Bit 3
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
plane 2 plane 2 plane 2 plane 2 plane 2 plane 2 plane 2 plane 2
Bit 2
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
plane 1 plane 1 plane 1 plane 1 plane 1 plane 1 plane 1 plane 1
et4U.com Bit 1
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 DataShee
plane 0 plane 0 plane 0 plane 0 plane 0 plane 0 plane 0 plane 0
Bit 0 DataSheet4U.com
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
0, 1: Two bits of data at a time from parallel bytes in each of the 4 memory planes are transferred
to the palette in a pattern that alternates per byte between memory planes 0 and 2, and memory
planes 1 and 3. First the even-numbered and odd-numbered bits of a byte in memory plane 0 are
transferred via serial output bits 0 and 1, respectively, while the even-numbered and odd-numbered
bits of a byte in memory plane 2 are transferred via serial output bits 2 and 3. Next, the even-
numbered and odd-numbered bits of a byte in memory plane 1 are transferred via serial output bits
0 and 1, respectively, while the even-numbered and odd-numbered bits of memory plane 3 are
transferred via serial out bits 1 and 3. This provides a pair of 2-bit values (one 2-bit value for each
of 2 pixels) on each transfer, making possible a choice of 1 of 4 colors per pixel.
Serial Out 1st Xfer 2nd Xfer 3rd Xfer 4th Xfer 5th Xfer 6th Xfer 7th Xfer 8th Xfer
plane 2 plane 2 plane 2 plane 2 plane 3 plane 3 plane 3 plane 3
Bit 3
bit 7 bit 5 bit 3 bit 1 bit 7 bit 5 bit 3 bit 1
plane 2 plane 2 plane 2 plane 2 plane 3 plane 3 plane 3 plane 3
Bit 2
bit 6 bit 4 bit 2 bit 0 bit 6 bit 4 bit 2 bit 0
plane 0 plane 0 plane 0 plane 0 plane 1 plane 1 plane 1 plane 1
Bit 1
bit 7 bit 5 bit 3 bit 1 bit 7 bit 5 bit 3 bit 1
plane 0 plane 0 plane 0 plane 0 plane 1 plane 1 plane 1 plane 1
Bit 0
bit 6 bit 4 bit 2 bit 0 bit 6 bit 4 bit 2 bit 0
This alternating pattern is meant to accommodate the use of the Odd/Even mode of
organizing the 4 memory planes, which is used by standard VGA modes 2h and 3h.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
1, x: Four bits of data at a time from parallel bytes in each of the 4 memory planes are
transferred to the palette in a pattern that iterates per byte through memory planes 0
through 3. First the 4 most significant bits of a byte in memory plane 0 are transferred via
the 4 serial output bits, followed by the 4 least significant bits of the same byte. Next, the
same transfers occur from the parallel byte in memory planes 1, 2 and lastly, 3. Each
transfer provides either the upper or lower half of an 8 bit value for the color for each pixel,
making possible a choice of 1 of 256 colors per pixel.
2nd 3rd
Serial Out 1st Xfer 4th Xfer 5th Xfer 6th Xfer 7th Xfer 8th Xfer
Xfer Xfer
plane 0 plane 0 plane 1 plane 1 plane 2 plane 2 plane 3 plane 3
Bit 3
bit 7 bit 3 bit 7 bit 3 bit 7 bit 3 bit 7 bit 3
plane 0 plane 0 plane 1 plane 1 plane 2 plane 2 plane 3 plane 3
Bit 2
bit 6 bit 2 bit 6 bit 2 bit 6 bit 2 bit 6 bit 2
plane 0 plane 0 plane 1 plane 1 plane 2 plane 2 plane 3 plane 3
Bit 1
bit 5 bit 1 bit 5 bit 1 bit 5 bit 1 bit 5 bit 1
plane 0 plane 0 plane 1 plane 1 plane 2 plane 2 plane 3 plane 3
Bit 0
bit 4 bit 0 bit 4 bit 0 bit 4 bit 0 bit 4 bit 0
This pattern is meant to accommodate mode 13h, a standard VGA 256-color graphics
mode.
Note: This works in a way that is the inverse of (and is normally set to be the opposite of) bit 2 of the
Memory Mode Register (SR04).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
3 Read Mode
0: During a CPU read from the frame buffer, the value returned to the CPU is data from the
memory plane selected by bits 1 and 0 of the Read Plane Select Register (GR04).
1: During a CPU read from the frame buffer, all 8 bits of the byte in each of the 4 memory
planes corresponding to the address from which a CPU read access is being performed are
compared to the corresponding bits in this register (if the corresponding bit in the Color
Don’t Care Register (GR07) is set to 1). The value that the CPU receives from the read
access is an 8-bit value that shows the result of this comparison, wherein value of 1 in a
given bit position indicates that all of the corresponding bits in the bytes across all 4 of the
memory planes that were included in the comparison had the same value as their memory
plane’s respective bits in this register.
2 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
Note: This function is both in standard VGA modes and in extended modes that do not provide linear
frame buffer access.
1 Chain Odd/Even
et4U.com This bit provides the ability to alter the interpretation of address bit A0, so that it may be DataShee
used in selecting between the odd-numbered memory planes (planes 1 and 3) and the
even-numbered memory DataSheet4U.com
planes (planes 0 and 2).
0: A0 functions normally.
1: A0 is switched with a high order address bit, in terms of how it is used in address
decoding. The result is that A0 is used to determine which memory plane is being
accessed:
A0 = 0: planes 0 and 2
A0 = 1: planes 1 and 3
0 Graphics/Text Mode
0: Selects text mode.
1: Selects graphics mode.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
Note: These bits have effect only when bit 3 of the Graphics Mode Register (GR05) is set to 1 to select
read mode 1.
et4U.com DataShee
DataSheet4U.com
GR08 Bit Mask Register
read/write at I/O address 3CFh with index at address 3CEh set to 08h
7 6 5 4 3 2 1 0
Bit Mask
Note: This bit mask applies to any writes to the addressed byte of any or all of the 4 memory planes
simultaneously.
Note: This bit mask is applicable to any data written into the frame buffer by the CPU, including data that
is also subject to rotation, logical functions (AND, OR, XOR), and Set/Reset. To perform a proper
read-modify-write cycle into the frame buffer, each byte must first be read from the frame buffer by
the CPU (and this will cause it to be stored in the memory read latches), this Bit Mask Register must
be set and the new data then written into the frame buffer by the CPU.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 12
Attribute Controller Registers
Name Function Access Index
AR00-AR0F Color Data Registers read/write 00-0F
AR10 Mode Control Register read/write 10
AR11 Overscan Color Register read/write 11
AR12 Memory Plane Enable Register read/write 12
AR13 Horizontal Pixel Panning Register read/write 13
AR14 Color Select Register read/write 14
Unlike the other sets of indexed registers, the attribute controller registers are not accessed through a
scheme employing entirely separate index and data ports. I/O address 3C0h is used both as the read and
write for the index register, and as the write address for the data port. I/O address 3C1h is the read address
for the data port.
To write to one of the attribute controller registers, the index of the desired register must be written to I/O
address 3C0h and then the data is written to the very same I/O address. A flip-flop alternates with each
write to I/O address 3C0h to change its function from writing the index to writing the actual data and back
again. This flip-flop may be deliberately set so that I/O address 3C0h is set to write to the index (which
et4U.com provides a way to set it to a known state) by performing a read operation from Input Status Register 1 (ST01) DataShee
at I/O address 3BAh or 3DAh (depending on whether the graphics system has been set to emulate an MDA
or a CGA). DataSheet4U.com
To read from one of the attribute controller registers, the index of the desired register must be written to I/O
address 3C0h and then the data is read from I/O address 3C1h. A read operation from I/O address 3C1h
does not reset the flip-flop to writing to the index. Only a write to 3C0h or a read from 3BAh or 3DAh, as
described above, will toggle the flip-flop back to writing to the index.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: AR12 is referred to in the VGA standard as the Color Plane Enable Register. The words “plane,”
“color plane,” “display memory plane,” and “memory map” have been all been used in IBM® literature on the
VGA standard to describe the four separate regions in the frame buffer where the pixel color or attribute
information is split up and stored in standard VGA planar modes. This use of multiple terms for the same
subject was deemed to be confusing, therefore AR12 is called the Memory Plane Enable Register.
7-6 Reserved
5 Video Enable
0: Disables video, allowing the attribute controller color registers (AR00-AR0F) to be
accessed by the CPU.
1: Enables video, causing the attribute controller color registers (AR00-AR0F) to be
rendered inaccessible by the CPU.
Note: In the VGA standard, this is called the “Palette Address Source” bit.
et4U.com DataShee
DataSheet4U.com
Note: Bits 3 and 2 of the Color Select Register (AR14) supply bits P7 and P6 for the values contained in
all 16 of these registers. Bits 1 and 0 of the Color Select Register (AR14) can also replace bits P5 and P4
for the values contained in all 16 of these registers if bit 7 of the Mode Control Register (AR10) is set to 1.
7-6 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com Note: This bit has application only when split-screen mode is being used, where the display area is
DataShee
divided into distinct upper and lower regions which function somewhat like separate displays.
DataSheet4U.com
4 Reserved
Note: The blinking rate is derived by dividing the VSYNC signal. The Blink Rate Control Register (FR19)
defines the blinking rate.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: In IBM® literature describing the VGA standard, the range of extended ASCII codes that are said to
include the line-drawing characters is mistakenly specified as C0h to DFh, rather than the correct
range of B0h to DFh.
0 Graphics/Alphanumeric Mode
0: Selects alphanumeric (text) mode.
1: Selects graphics mode.
et4U.com DataShee
DataSheet4U.com
7-0 Overscan
These 8 bits select the overscan (border) color. The border color is displayed during the
blanking intervals. For monochrome displays, this value should be set to 00h.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: AR12 is referred to in the VGA standard as the Color Plane Enable Register. The words “plane,”
“color plane,” “display memory plane,” and “memory map” have been all been used in IBM® literature on the
VGA standard to describe the 4 separate regions in the frame buffer that are amongst which pixel color or
attributes information is split up and stored in standard VGA planar modes. This use of multiple terms for
the same subject was deemed to be confusing, therefore AR12 is called the Memory Plane Enable Register.
7-6 Reserved
Note: These bits are largely unused by current software. They are provided for EGA compatibility.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
In standard VGA mode 13h (where bit 6 of the Mode Control Register, AR10, is set to 1 to
support 256 colors), bit 0 of this register must remain set to 0, and the image may be shifted
up to only 3 pixels to the left. In this mode, the number of pixels by which the image is
shifted can be further controlled using bits 6 and 5 of the Preset Row Scan Register (CR08).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 13
Palette Registers
Name Function Access I/O Address
PALMASK Palette Data Mask Register read/write 3C6h
PALSTATE Palette State Register read-only 3C7h
PALRX Palette Read Index Register write-only 3C7h
PALWX Palette Write Index Register read/write 3C8h
PALDATA Palette Data Register read/write 3C9h
Background:
The original VGA graphics system and earlier compatible ones had a distinct IC called either the RAMDAC
or the palette DAC. The RAMDAC was made up of two main components: a 256x24bit color lookup table
(CLUT) or palette in which a selection of 256 colors may be stored and a set of three digital-to-analog
converters (DACs), one each for the red, green and blue components used to produce a color on a CRT
display. Despite the integration of both the palette and the triplet of DACs into larger ICs in many present
day graphics systems, the terms RAMDAC and palette DAC remain in common use.
However, this integration of both the palette and DACs into the graphics controller makes the use of such
terms as RAMDAC and palette DAC erroneous, especially in the case of this graphics controller. This
et4U.com graphics controller has two outputs: the DACs which are normally used to drive a CRT display, and a flat- DataShee
panel interface that is normally used to drive LCD or other types of flat panel displays. Either one or both
of these outputs may be used at any givenDataSheet4U.com
time and the pixel data sent to one or both of these outputs may
or may not be routed through the palette. In short, the palette and DACs of this graphics controller can be
used entirely independently of each other and for this reason, these registers have been renamed in a
manner more in keeping with their actual purpose (e.g., the original VGA standard name of ‘DACSTATE’
has been replaced with ‘PALSTATE’).
The palette is NOT used for modes with color depths greater than 8 bits per pixel. The data stored in the
frame buffer is the actual color data, not an index. The appropriate bits describing the intensities of the red,
green and blue components are retrieved from the frame buffer and routed to whichever output is being
used. The palette is entirely bypassed, and so these are referred to as direct-color modes.
The palette is used for modes with color depths of 8 bits per pixel or less. The color data stored in the frame
buffer and received by the palette is actually an index that selects a location within the palette in which the
components of a color is specified. The 3-bytes of the selected color are sent from the palette to whichever
output (CRT or flat panel or both) is being used. Due to this use of an index into a palette, these modes are
referred to as indexed modes.
The use of indexed modes allows the main display image to take up less space in the frame buffer and
allows the actual displayed colors to be specified independently. The latter feature has been known to be
used in such applications as video games.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
To read a palette location, the index of the desired palette location must first be written to the Palette Read
Index Register. Then all three bytes of data in that palette location may be read, one at a time, via the
Palette Data Register. The first byte read from the Palette Data Register retrieves the 8-bit value specifying
the intensity of the red color component while the second and third byte reads are for the green and blue
color components, respectively. After completing the third read operation, the Palette Read Index Register
is automatically incremented so that the data of the next palette location becomes accessible for being read.
This allows the contents of all 256 palette locations to be read by specifying only the index of the 0th location
in the Palette Read Index Register, and then simply performing 768 successive reads from the Palette Data
Register.
Writing palette locations entails a very similar procedure. The index of the desired palette location must first
be written to the Palette Write Index Register. Then all three bytes of data to specify a given color may be
written, one at a time, to the selected palette location via the Palette Data Register. The first byte written to
the Palette Data Register specifies the intensity of the red color component, while the second and third byte
writes are for the green and blue color components, respectively. One important detail is that all three of
these bytes must be written before the hardware will actually update these three values in the selected
palette location. When all three bytes have been written, the Palette Write Index Register is automatically
incremented so that the next palette location becomes accessible for being written. This allows the contents
et4U.com of all 256 palette locations to be written by specifying only the index of the 0th palette location in the Palette DataShee
Write Index Register, and then simply performing 768 successive writes to the Palette Data Register.
DataSheet4U.com
In addition to the standard set of 256 palette locations, there is also an alternate set of 8 palette locations
used to specify the colors used to draw cursors 1 and 2, and these are also accessed using the very same
sub-indexing scheme. Bit 0 of the Pixel Pipeline Configuration 0 Register (XR80) determines whether the
standard 256 palette locations or the alternate 8 palette locations are to be accessed.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In direct-color mode, the palette is not used, and the data in this register is entirely ignored.
et4U.com DataShee
DataSheet4U.com
PALSTATE Palette State Register
read-only at I/O address 3C7h
7 6 5 4 3 2 1 0
Reserved DAC State
7-2 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The index value held in this register is automatically incremented when all three bytes of
the color data position selected by the current index have been read.
et4U.com DataShee
DataSheet4U.com
PALWX Palette Write Index Register
read/write at I/O address 3C8
7 6 5 4 3 2 1 0
Palette Write Index
The index value held in this register is automatically incremented when all three bytes of
the color data position selected by the current index have been written.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The three bytes in each palette location are written to or read from by making three
successive read or write operations. The first byte read or written always specifies the
intensity of the red component of the color specified in the selected palette location. The
second byte is always for the green component and the third byte is always for the blue
component.
When writing data to a palette location, all three bytes must be written before the hardware
will actually update the three bytes in that palette location.
When reading or writing to a palette location, it is important to ensure that neither the
Palette Read Index Register (PALRX) or the Palette Write Index Register (PALWX) are
written to before all three bytes are read or written. The logic that automatically cycles
through providing access to the bytes for the red, green and blue color components is reset
to start again with the red component after writing to either PALRX or PALWX.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 14
Extension Registers
Access Via Index Value
Name Register Function
Port 3D7 Port 3D6 (XRX)
XR00 Vendor ID Low Register read-only 00h
XR01 Vendor ID High Register read-only 01h
XR02 Device ID Low Register read-only 02h
XR03 Device ID High Register read-only 03h
XR04 Revision ID Register read-only 04h
XR05 Linear Base Address Low Register read-only 05h
XR06 Linear Base Address High Register read-only 06h
XR08 Host Bus Configuration Register read-only 08h
XR09 I/O Control Register read/write 09h
XR0A Frame Buffer Mapping Register read/write 0Ah
XR0B PCI Burst Write Support Register read/write 0Bh
XR0E Frame Buffer Page Select Register read/write 0Eh
XR20 BitBLT Configuration Register read/write 20h
XR40 Memory Access Control Register read/write 40h
XR41-XR4F Memory Configuration Registers read/write 41h-4Fh
et4U.com DataShee
XR60 Video Pin Control Register read/write 60h
XR61 DPMS Sync Control Register
DataSheet4U.com read/write 61h
XR62 GPIO Pin Control Register read/write 62h
XR63 GPIO Pin Data Register read/write 63h
XR67 Pin Tri-State Control Register read/write 67h
XR70 Configuration Pins 0 Register read-only 70h
XR71 Configuration Pins 1 Register read-only 71h
XR80 Pixel Pipeline Configuration 0 Register read/write 80h
XR81 Pixel Pipeline Configuration 1 Register read/write 81h
XR82 Pixel Pipeline Configuration 2 Register read/write 82h
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
XR04 Revision ID Register
read-only at I/O address 3D7h with index at I/O address 3D6h set to 04h
7 6 5 4 3 2 1 0
Chip Manufacturing Code Chip Revision Code
(xxxx) (xxxx)
Note: This register is identical to the Revision Register (REV) at offset 08h in the PCI configuration space.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The graphics controller requires a 16MB memory space on the host bus through which the linear
frame buffer and memory-mapped registers are accessed. This 16MB memory space always
begins on a 16MB address boundary, so bit 23 of the linear base address of this 16MB memory
space always has the value of 0. Therefore this bit always returns the value of 0 when read. This
base address is set through the MBASE register at offset 10h in the PCI configuration space.
6-0 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
XR06 Linear Base Address High Register
DataSheet4U.com
read-only at I/O address 3D7h with index at I/O address 3D6h set to 06h
7 6 5 4 3 2 1 0
Memory Space Base Address Bits 31-24
(xxxx:xxxx)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-2 Reserved
These bits always return the value of 0 when read.
Note: The reset state of this pin is also readable via bit 1 of the Configuration Pins 0 Register (XR70).
0 Reserved
This bit always returns the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-2 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-6 Reserved
These bits always return the value of 0 when read.
Bits
Type of Endian Byte Swapping
54
00 No byte swapping. This is the default after reset.
Performs byte swapping wherein byte 0 is swapped with
01
byte 1 and byte 2 is swapped with byte 3.
Performs byte swapping wherein byte 0 is swapped with
10
byte 3 and byte 1 is swapped with byte 2.
11 Reserved
et4U.com DataShee
3 Reserved
This bit always returns the valueDataSheet4U.com
of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
0: Disables address translation in support of packed mode. This is the default after reset.
1: Enables address translation in support of packed mode.
Note: The selection of which 64KB page is to be mapped into memory addresses A0000h-AFFFFh is
made using bits 6-0 of the Frame Buffer Page Selector Register (XR0E).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
These bits always return the value of 0 when read.
Note: The use of this bit to choose the depth of the PCI burst write buffer can be overridden by bit 3 of this
register.
1 Reserved
This bit always returns the value of 0 when read.
et4U.com DataShee
0 PCI Burst Write Support Enable
DataSheet4U.com
0: Disables support for receiving PCI burst write cycles.
1: Enables support for receiving PCI burst write cycles.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
:7 Reserved
This bit always returns the value of 0 when read.
Note: Bit 0 of the Address Mapping Register (XR0A) must be set to 1 to enable this mapping feature.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-6 Reserved
These bits always have the value of 0 when read.
The choice of color depth configures the BitBLT engine to work with one, two or three bytes per
DataSheet4U.com
pixel. This directly affects the number of bytes of graphics data that the BitBLT engine will read and
write for a given number of pixels. In the case of monochrome source or pattern data, this setting
directly affects the color depth into which such monochrome data will be converted during the color
expansion process.
If the graphics system has been set to a color depth that is not supported by the BitBLT engine, then
it is strongly recommended that the BitBLT engine not be used. See appendix B for more
information.
1 BitBLT Reset
0: Writing a value of 0 to this bit permits normal operation of the BitBLT engine. This is the default
value after reset.
1: Writing a value of 1 to this bit resets the BitBLT engine.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
1 Address Wrap
0: Only bits 0 through 17 of the memory address decode are used, causing the memory address
to wrap at 256K for all memory accesses either through the VGA porthole or linearly.
1: All memory address bits are used, allowing access to all of the graphics memory.
et4U.com DataShee
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 Reserved
This bit always returns the value of 0 when read.
5-2 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 Reserved
This bit always has the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: See the FP Pin Control 2 Register (FR0C) for direction control of GPIO0 and GPIO1.
6-5 Reserved
These bits always return the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 GPIO7 Data
This bit is used in either reading or setting the state of GPIO7.
6-5 Reserved
These bits always return the value of 0 when read.
4 GPIO4 Data
This bit is used in either reading or setting the state of GPIO4.
3 GPIO3 Data
This bit is used in either reading or setting the state of GPIO3.
2 GPIO2 Data
This bit is used in either reading or setting the state of GPIO2.
1 GPIO1 Data
This bit is used in either reading or setting the state of GPIO1.
0 GPIO0 Data
et4U.com This bit is used in either reading or setting the state of GPIO0. DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-2 Reserved
These bits always return the value of 0 when read.
0 Reserved
This bit should always be written to with a value of zero.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The bits of this register indicate the state of each of these pins at the time the graphics controller is reset.
During a reset, the graphics controller does not drive these pins, thereby allowing them to either be pulled
high by relatively weak internal resistors, or to be pulled low by external resistors (4.7K recommended).
Instead, during reset, the graphics controller latches the state of these pins, and the latched values are used
by the graphics controller to provide a limited degree of hardware-based configuration of some features.
Some of these latched values directly affect the hardware, while others are simply reflected in this register
so as to be read by configuration software, usually the BIOS.
7 Pin CFG7
0: Enables clock test mode.
1: Disables clock test mode.
Note: Clock test mode allows the internal clock synthesizers to be tested, by placing the output of the
MCLK synthesizer on the ROMOE# pin (the pin used to drive the chip select pin of the BIOS ROM)
and the output of the VCLK synthesizer on the PCLK pin (the clock pin used for the video data port).
6 Pin CFG6
0: The ACTI and ENABKL outputs are forced to be tri-stated.
et4U.com 1: The ACTI and ENABKL outputs are permitted to function normally. DataShee
5 Pin CFG5 DataSheet4U.com
Reserved.
No interpretation has yet been assigned to the state of this bit, and the hardware does not interpret
the state of the corresponding pin during reset.
4 Pin CFG4
0: The REFCLK and TCLK pins are used as inputs to receive MCLK an DCLK, respectively, from
an external source.
1: MCLK and DCLK are provided by the internal clock generators.
Note: The default selection of sources for MCLK and DCLK may be individually changed by changing the
settings of bits 2 and 1 of the Memory Clock Divisor Select Register (XRCF). Both of those two bits
also use the state of pin AA4 at reset to determine their default values.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
3 Pin CFG3
Reserved.
No interpretation has yet been assigned to the state of this bit, and the hardware does not interpret
the state of the corresponding pin during reset.
2 Pin CFG2
Reserved.
No interpretation has yet been assigned to the state of this bit, and the hardware does not interpret
the state of the corresponding pin during reset.
1 Pin CFG1
0: Indicates that VGA I/O Address decoding is disabled on the PCI Bus, so access to the registers
via I/O read and write operations is disabled.
1: Indicates that VGA I/O Address decoding is enabled on the PCI Bus, so access to the registers
via I/O read and write operations is enabled.
Note: The reset state of this pin is also readable via bit 1 of the Host Bus Configuration Register (XR08).
0 Reserved
This bit always returns the value of 1 when read.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The bits of this register indicate the state of each of these pins at the time the graphics controller is reset.
During a reset, the graphics controller does not drive these pins, thereby allowing them to either be pulled
high by relatively weak internal resistors, or to be pulled low by external resistors (4.7K recommended).
Instead, during reset, the graphics controller latches the state of these pins, and the latched values are used
by the graphics controller to provide a limited degree of hardware-based configuration of some features.
Some of these latched values directly affect the hardware, while others are simply reflected in this register
so as to be read by configuration software, usually the BIOS.
7 Pin CFG15
Reserved. An interpretation has not been assigned to the state of this bit, and the hardware does
not interpret the state of the corresponding pin during reset.
6 Pin CFG14
Reserved for BIOS use as bit 3 of a 4-bit code specifying the panel type.
5 Pin CFG13
Reserved for BIOS use as bit 2 of a 4-bit code specifying the panel type.
2 Pin CFG10
Reserved. An interpretation has not been assigned to the state of this bit, and the hardware does
not interpret the state of the corresponding pin during reset.
1 Pin CFG9
Reserved. An interpretation has not been assigned to the state of this bit, and the hardware does
not interpret the state of the corresponding pin during reset.
0 Pin CFG8
Reserved. An interpretation has not been assigned to the state of this bit, and the hardware does
not interpret the state of the corresponding pin during reset.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6 Reserved
This bit always returns the value of 0 when read.
Note: The pixel averaging feature applies only to flat panel displays, not CRT’s, and it applies only when
horizontal stretching is active (see the description of the Horizontal Stretching Register, FR41, for
more details).
0: Disable extended status read feature. This is the default after reset.
1: Enable extended status read feature.
Note: This feature must be disabled to permit normal accesses to the registers and color data locations
within the palette.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-5 Reserved
These bits always return the value of 0 when read.
Note: This enables/disables the delay of signals relative to the CRT horizontal and vertical sync signals.
When the flat panel display engine is enabled (i.e., when bit 1 of FR01 is set to 1), then this bit is
ignored and no such delay takes place.
Bits
Color Depth Selected for Graphics System
et4U.com 3210
DataShee
Configures the CRT pipeline for standard VGA text and graphics modes, and for 1bpp,
0000
2bpp and 4bpp extended graphics modes. This is the default after reset.
DataSheet4U.com
0001 Reserved
0010 Configures the CRT pipeline for 8bpp extended graphics modes.
0011 Reserved
Configures the CRT pipeline for 16bpp extended graphics modes wherein the graphics
0100
data follows a fixed Targa-compatible 5-5-5 RGB format.
Configures the CRT pipeline for 16bpp extended graphics modes wherein the graphics
0101
data follows a fixed XGA-compatible 5-6-5 RGB format.
Configures the CRT pipeline for packed 24bpp extended graphics modes wherein only
0110
3 bytes are allocated for each pixel.
Configures the CRT pipeline for non-packed 24bpp (32bpp) extended graphics modes
0111 wherein 4 bytes are allocated for each pixel, so that the graphics data for each pixel is
doubleword-aligned. The 4th byte allocated for each pixel is unused.
1xxx Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
These bits always return the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: Just as is the case with the vertical stretching for the main display image, vertical stretching for
cursor 1 applies only to flat panel displays.
Note: Just as is the case with the horizontal stretching for the main display image, horizontal stretching
for cursor 1 applies only to flat panel displays.
Bits
Cursor Mode
210
000 Cursor 1 is disabled. This is the default after reset.
001 32x32 2bpp AND/XOR 2-plane mode
010 128x128 1bpp 2-color mode
011 128x128 1bpp 1-color and transparency mode
100 64x64 2bpp 3-color and transparency mode
101 64x64 2bpp AND/XOR 2-plane mode
110 64x64 2bpp 4-color mode
111 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This register should be programmed with a value derived from the following equation:
et4U.com DataShee
DataSheet4U.com
XRA2 Cursor 1 Base Address Low Register
read/write at I/O address 3D7h with index at I/O address 3D6h set to A2h
7 6 5 4 3 2 1 0
Cursor 1 Base Address Bits 15-12 Cursor 1 Pattern Select
(0000) (0000)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-6 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
XRA4 Cursor 1 X-Position Low Register
read/write at I/O address 3D7h with index at I/O address 3D6h set to A4h
7 6 5 4 3 2 1 0
Cursor 1 X-Position Magnitude Bits 7-0
(00h)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6-3 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6-3 Reserved
These bits always return the value 0 when read.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: Just as is the case with the vertical stretching for the main display image, vertical stretching for
cursor 2 applies only to flat panel displays.
Note: Just as is the case with the horizontal stretching for the main display image, horizontal stretching
for cursor 2 applies only to flat panel displays.
Bits
Cursor Mode
210
000 Cursor 2 is disabled. This is the default after reset.
001 32x32 2bpp AND/XOR 2-plane mode
010 128x128 1bpp 2-color mode
011 128x128 1bpp 1-color and transparency mode
100 64x64 2bpp 3-color and transparency mode
101 64x64 2bpp AND/XOR 2-plane mode
110 64x64 2bpp 4-color mode
111 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This register should be programmed with a value derived from the following equation:
et4U.com DataShee
DataSheet4U.com
XRAA Cursor 2 Base Address Low Register
read/write at I/O Address 3D7h with index at I/O address 3D6h set to AAh
7 6 5 4 3 2 1 0
Cursor 2 Base Address Bits 15-12 Cursor 2 Pattern Select
(0000) (0000)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-6 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
XRAC Cursor 2 X-Position Low Register
read/write at I/O address 3D7h with index at I/O address 3D6h set to ACh
7 6 5 4 3 2 1 0
Cursor 2 X-Position Magnitude Bits 7-0
(00h)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6-3 Reserved
‘ These bits always return the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
XRAE Cursor 2 Y-Position Low Register
read/write at I/O address 3D7h with index at I/O address 3D6h set to AEh
7 6 5 4 3 2 1 0
Cursor 2 Y-Position Magnitude Bits 7-0
(00h)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6-3 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
XRC0 Dot Clock 0 VCO M-Divisor Register
read/write at I/O address 3D7h with index at I/O address 3D6h set to C0h
7 6 5 4 3 2 1 0
Dot Clock 0 VCO M-Divisor
Note: All four of the registers used in specifying the loop parameters for dot clock 0 (XRC0 - XRC3) must
be written, and in order from XRC0 to XRC3, before the hardware will update the synthesizer’s settings.
This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output as new
values are being written to these registers.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: All four of the registers used in specifying the loop parameters for dot clock 0 (XRC0 - XRC3) must
be written, and in order from XRC0 to XRC3, before the hardware will update the synthesizer’s settings.
This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output as new
values are being written to these registers.
A series of calculations are used to derive this value and the values for the other loop parameters
given a desired output frequency and a series of constraints placed on different components within
the synthesizer used to generate dot clock 0. See appendix B for a detailed description of the
process used to derive the loop parameter values.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: All four of the registers used in specifying the loop parameters for dot clock 0 (XRC0 - XRC3) must
be written, and in order from XRC0 to XRC3, before the hardware will update the synthesizer’s settings.
This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output as new
values are being written to these registers.
7 Reserved
This bit always returns the value of 0 when read.
Bits
Post Divisor
654
000 1
001 2
010 4
et4U.com 011 8
DataShee
100 16
101 DataSheet4U.com
32
110 Reserved
111 Reserved
A series of calculations are used to derive this value and the values for the other loop
parameters given a desired output frequency and a series of constraints placed on different
components within the synthesizer used to generate dot clock 0. See the appendix B for a
detailed description of the process used to derive the loop parameter values.
3 Reserved
This bit always returns the value of 0 when read.
A series of calculations are used to derive this value and the values for the other loop
parameters given a desired output frequency and a series of constraints placed on different
components within the synthesizer used to generate dot clock 0. See appendix B for a
detailed description of the process used to derive the loop parameter values.
1-0 Reserved
These bits always return the value 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: All four of the registers used in specifying the loop parameters for dot clock 1 (XRC4 - XRC7) must
be written, and in order, from XRC4 to XRC7 before the hardware will update the synthesizer’s settings.
This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output as new
values are being written to these registers.
A series of calculations are used to derive this value and the values for the other loop parameters
given a desired output frequency and a series of constraints placed on different components within
the synthesizer used to generate dot clock 1. See appendix B for a detailed description of the
process used to derive the loop parameter values.
et4U.com DataShee
DataSheet4U.com
Note: All four of the registers used in specifying the loop parameters for dot clock 1 (XRC4 - XRC7) must
be written, and in order from XRC4 to XRC7, before the hardware will update the synthesizer’s settings.
This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output as new
values are being written to these registers.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: All four of the registers used in specifying the loop parameters for dot clock 1 (XRC4 - XRC7) must
be written, and in order from XRC4 to XRC7, before the hardware will update the synthesizer’s settings.
This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output as new
values are being written to these registers.
7 Reserved
This bit always returns the value of 0 when read.
Bits
Post Divisor
654
000 1
001 2
010 4
et4U.com 011 8
DataShee
100 16
101 32 DataSheet4U.com
110 Reserved
111 Reserved
A series of calculations are used to derive this value and the values for the other loop
parameters given a desired output frequency and a series of constraints placed on different
components within the synthesizer used to generate dot clock 0. See appendix B for a
detailed description of the process used to derive the loop parameter values.
3 Reserved
This bit always returns the value of 0 when read.
A series of calculations are used to derive this value and the values for the other loop parameters
given a desired output frequency and a series of constraints placed on different components within
the synthesizer used to generate dot clock 1. See appendix B for a detailed description of the
process used to derive the loop parameter values.
1-0 Reserved
These bits always return the value 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: All four of the registers used in specifying the loop parameters for dot clock 2 (XRC8 - XRCB) must
be written, and in order from XRC8 to XRCB, before the hardware will update the synthesizer’s settings.
This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output as new
values are being written to these registers.
A series of calculations are used to derive this value and the values for the other loop parameters
given a desired output frequency and a series of constraints placed on different components within
the synthesizer used to generate dot clock 2. See appendix B for a detailed description of the
process used to derive the loop parameter values.
et4U.com DataShee
DataSheet4U.com
Note: All four of the registers used in specifying the loop parameters for dot clock 2 (XRC8 - XRCB) must
be written, and in order from XRC8 to XRCB, before the hardware will update the synthesizer’s settings.
This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output as new
values are being written to these registers.
A series of calculations are used to derive this value and the values for the other loop parameters
given a desired output frequency and a series of constraints placed on different components within
the synthesizer used to generate dot clock 2. See appendix B for a detailed description of the
process used to derive the loop parameter values.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: All four of the registers used in specifying the loop parameters for dot clock 2 (XRC8 - XRCB) must
be written, and in order from XRC8 to XRCB, before the hardware will update the synthesizer’s settings.
This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output as new
values are being written to these registers.
7 Reserved
This bit always returns the value of 0 when read.
Bits
Post Divisor
654
000 1
001 2
010 4
et4U.com 011 8
DataShee
100 16
101 32 DataSheet4U.com
110 Reserved
111 Reserved
A series of calculations are used to derive this value and the values for the other loop
parameters given a desired output frequency and a series of constraints placed on different
components within the synthesizer used to generate dot clock 2. See appendix B for a
detailed description of the process used to derive the loop parameter values.
3 Reserved
This bit always returns the value of 0 when read.
A series of calculations are used to derive this value and the values for the other loop parameters
given a desired output frequency and a series of constraints placed on different components within
the synthesizer used to generate dot clock 2. See appendix B for a detailed description of the
process used to derive the loop parameter values.
1-0 Reserved
These bits always return the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: All three of the registers used in specifying the loop parameters for the memory clock (XRCC -
XRCE) must be written, and in order from XRCC to XRCE, before the hardware will update the synthesizer’s
settings. This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output
as new values are being written to these registers.
A series of calculations are used to derive this value and the values for the other loop parameters
given a desired output frequency and a series of constraints placed on different components within
the synthesizer used to generate the memory clock. See appendix B for a detailed description of
the process used to derive the loop parameter values.
et4U.com DataShee
DataSheet4U.com
XRCD Memory Clock VCO N-Divisor Register
read/write at I/O address 3D7h with index at I/O address 3D6h set to CDh
7 6 5 4 3 2 1 0
Memory Clock VCO N-Divisor
Note: All three of the registers used in specifying the loop parameters for the memory clock (XRCC -
XRCE) must be written, and in order from XRCC to XRCE, before the hardware will update the synthesizer’s
settings. This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output
as new values are being written to these registers.
A series of calculations are used to derive this value and the values for the other loop parameters
given a desired output frequency and a series of constraints placed on different components within
the synthesizer used to generate the memory clock. See appendix B for a detailed description of
the process used to derive the loop parameter values.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: Before any value is written to bits other than bit 7 of register, bit 7 of this register should be set to 0
to select the default memory clock.
Note: All three of the registers used in specifying the loop parameters for the memory clock (XRCC -
XRCE) must be written, and in order from XRCC to XRCE, before the hardware will update the synthesizer’s
settings. This is a form of double-buffering that is intended to prevent fluctuations in the synthesizer’s output
as new values are being written to these registers.
Bits
Post Divisor
et4U.com 654
DataShee
000 1
001 2 DataSheet4U.com
010 4
011 8
100 16
101 32
110 Reserved
111 Reserved
A series of calculations are used to derive this value and the values for the other loop
parameters given a desired output frequency and a series of constraints placed on different
components within the synthesizer used to generate the memory clock. See the appendix
on clock generation for a detailed description of the process used to derive the loop
parameter values.
3-0 Reserved
These bits always return the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: The default values of some of the bits of this register are determined by the settings of some of the
strapping pins at reset.
7-4 Reserved
These bits always return the value of 0 when read.
Note: The default state of this bit reflects the state of pin AA4 during reset. The state of pin AA4 during
reset is also readable via bit 4 of the Configuration Pins 0 Register (XR70). Bit 4 of XR70 is read-
only, while this bit is writable, allowing the source of the memory clock to be changed after reset.
0 Reserved
This bit always returns the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 Reserved
This bit always returns the value of 0 when read.
1 Palette Enable
0: Disables the palette.
1: Enables the palette. This is the default after reset.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-1 Reserved
This bit always returns the value of 0 when read.
Note: Use of this feature in no way affects usability of the BitBLT engine, and in no way impedes access
to the BitBLT registers. The manner in which the BitBLT engine is programmed is not affected by
the use of this feature.
et4U.com DataShee
This register is meant to be used to provide a fixed time base that can be used by CHIPS’ BIOS to
properly time the various steps to perform a powerdown or powerup of the graphics controller.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
XRF8-XRFC Test Registers
read/write at I/O address 3D7h with index at I/O DataSheet4U.com
address 3D6h set to F8h to FCh
7 6 5 4 3 2 1 0
Test Register Bits
(xxxx:xxxx)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 15
Flat Panel Registers
Table 15-1: Flat Panel Registers
Access Via Index Value
Name Register Function
Port 3D1h Port 3D0h
FR00 Feature Register read-only 00h
FR01 CRT / FP Control Register read/write 01h
FR03 FP Dot Clock Source Register read/write 03h
FR04 Panel Power Sequencing Delay Register read/write 04h
FR05 Power Down Control 1 Register read/write 05h
FR06 FP Power Down Control Register read/write 06h
FR08 FP Pin Polarity Register read/write 08h
FR0A Programmable Output Drive Register read/write 0Ah
FR0B FP Pin Control 1 Register read/write 0Bh
FR0C Pin Control 2 Register read/write 0Ch
FR0F Activity Timer Control Register read/write 0Fh
FR10 FP Format 0 Register read/write 10h
FR11 FP Format 1 Register read/write 11h
FR12 FP Format 2 Register read/write 12h
FR13 FP Format 3 Register read/write 13h
FR16 FRC Option Select Register read/write 16h
FR17 Polynomial FRC Control Register read/write 17h
FR18 FP Text Mode Control Register read/write 18h
et4U.com FR19 Blink Rate Control Register read/write 19h DataShee
FR1A STN-DD Buffering Control Register read/write 1Ah
FR1E M (ACDCLK) Control Register
DataSheet4U.com read/write 1Eh
FR1F Diagnostic Register read/write 1Fh
FR20 FP Horizontal Panel Display Size LSB Register read/write 20h
FR21 FP Horizontal Sync Start LSB Register read/write 21h
FR22 FP Horizontal Sync End Register read/write 22h
FR23 FP Horizontal Total LSB Register read/write 23h
FR24 FP HSync (LP) Delay LSB Register read/write 24h
FR25 FP Horizontal Overflow 1 Register read/write 25h
FR26 FP Horizontal Overflow 2 Register read/write 26h
FR27 FP HSync (LP) Width and Disable Register read/write 27h
FR30 FP Vertical Panel Size LSB Register read/write 30h
FR31 FP Vertical Sync Start LSB Register read/write 31h
FR32 FP Vertical Sync End Register read/write 32h
FR33 FP Vertical Total LSB Register read/write 33h
FR34 FP VSync (FLM) Delay LSB Register read/write 34h
FR35 FP Vertical Overflow 1 Register read/write 35h
FR36 FP Vertical Overflow 2 Register read/write 36h
FR37 FP VSync (FLM) Disable Register read/write 37h
FR40 Horizontal Compensation Register read/write 40h
FR41 Horizontal Stretching Register read/write 41h
FR48 Vertical Compensation Register read/write 48h
FR49-4C Text Mode Vertical Stretching Register read/write 49h-4Ch
FR4D Vertical Line Replication Register read/write 4Dh
FR4E Selective Vertical Stretching Disable Register read/write 4Eh
FR70 TMED Red Seed Register read/write 70h
FR71 TMED Green Seed Register read/write 71h
FR72 TMED Blue Seed Register read/write 72h
FR73 TMED Control Register read/write 73h
FR74 TMED2 Shift Control Register read/write 74h
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
2 Hardware Pop-up
0: Hardware support for pop-up menu does not exist.
1: Hardware support for pop-up menu exists.
1 Reserved (0)
0 Flat Panel
0: Flat Panel module does not exist.
1: Flat Panel module exists.
et4U.com DataShee
Bits
CRT/FP Control
1 0
0 0 CRT & FP display engines disabled.
0 1 CRT mode enabled. (Default)
1 0 FP mode enabled.
1 1 Reserved.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Bits
CRT/FP Control
1 0
0 0 Select clock 0
0 1 Select clock 1
et4U.com 1 x Select clock 2 DataShee
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6 Reserved
This bit should always be written to with a value of zero.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-3 Reserved
1 Reserved (Writable)
This bit should always be written to with the value of 0.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
0 Reserved (R/W)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 Reserved
5 Reserved (Writable)
This bit should always be set to the value of 0.
4 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
4 Reserved (0)
0 Pin V6 Select
0: FP "M" signal goes to pin V6 (default)
1: FP Display Enable (FP Blank#) goes to pin V6.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Bits
GPIO1 (C32KHz) Pin Control
7 6
Pin T4 is C32KHz input (default).
0 0
Also see XRCF Bit 3
0 1 Reserved
Pin T4 is general purpose input 1 (GPIO1). Data is
1 0
read into XR63 Bit 1
Pin T4 is general purpose output 1 (GPIO1). Data
1 1
comes from XR63 Bit 1
5 Reserved (R/W)
Bits
et4U.com 4 3
GPIO0 (ACTI) Pin Control DataShee
0 0 Pin V1 is ACTIDataSheet4U.com
output (default)
0 1 Pin V1 is Composite Sync output
Pin V1 is general purpose input 0 (GPIO0). Data
1 0
is read into XR63 Bit 0
Pin V1 is general purpose output 0 (GPIO0). Data
1 1
comes from XR63 Bit 0
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: This register controls the activity timer functions. The activity timer is an internal counter that starts
from a value programmed into this register (see bits 0-4 below) and is reset back to that count by read or
write accesses to graphics memory or standard VGA I/O. Reading or writing extended VGA registers does
not reset the counter. If no accesses occur, the counter increments until the end of its programmed interval
then activates either the ENABKL pin or Panel Off mode (as selected by bit-6 below). The timer count does
not need to be reloaded once programmed and the timer enabled. Any access to the chip with the timer
timed out (ENABKL active or Panel Off mode active) resets the timer and deactivates the ENABKL (or Panel
Off mode) pin. The activity timer uses the same clock as the power sequencing logic. The delay intervals
assume a 37.5 KHz clock. If using a 32KHz input, scale the delay intervals accordingly.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
Monochrome STN-DD w/o frame accel. Monochrome STN-DD w/o frame accel.
Bits Pixel / Bits Pixel /
SHFCLK Max bpp DataSheet4U.com SHFCLK Max bpp
[6-4] SHFCLK [6-4] SHFCLK
000 DCLK 1 2 000 — — —
001 DCLK/2 2 4 001 DCLK/2 2 2
010 DCLK/4 4 8 010 DCLK/4 4 4
011 DCLK/8 8 16 011 DCLK/8 8 8
100 — — — 100 DCLK/16 16 16
101 — — — 101 — — —
110 — — — 110 — — —
111 — — — 111 — — —
4-bit pack color STN-DD w/frame accel. 4-bit pack color STN-DD w/o frame accel.
Bits Pixel / Bits Pixel /
SHFCLK Max bpp SHFCLK Max bpp
[6-4] SHFCLK [6-4] SHFCLK
000 DCLK 2 2/3 8 000 — — —
001 DCLK/2 5 1/3 16 001 DCLK/2 2 2/3 8
010 — — — 010 DCLK/4 5 1/3 16
011 — — — 011 — — —
100 — — — 100 — — —
101 — — — 101 — — —
110 — — — 110 — — —
111 — — — 111 — — —
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Monochrome TFT
Bits
SHFCLK Pixel/SHFCLK Max bpp
[6-4]
000 DCLK 1 8
001 DCLK/2 2 8
010 DCLK/4 4 4
011 DCLK/8 8 2
100 DCLK/16 16 1
101 — — —
110 — — —
et4U.com DataShee
111 — — —
DataSheet4U.com
Bits
Panel Monochrome/Color Select
3 2
Monochrome panel: NTSC weighting color reduction
0 0
algorithm (default)
Monochrome panel: Equivalent weighting color
0 1
reduction algorithm
Monochrome panel: Green only color reduction
1 0
algorithm
1 1 Color panel
For monochrome panels, these bits select the algorithm used to reduce 18 and 24-bit color data to
6 and 8-bit color data.
Bits
Panel Type
1 0
0 0 Single Panel Single Drive (SS) (default)
0 1 Reserved
1 0 Reserved
1 1 Dual Panel Dual Drive (DD)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
2) 2-frame FRC should be used with color TFT panel with less than or equal to 12 bits per
pixel (<4k color) or used with monochrome panel with internal gray scaling. When 2-frame
FRC is chosen FR11 bits 6-4 should be programmed equal to the number of bits/color of
the panel plus 1. The extra bit is for the 2-frame FRC. For example, a TFT panel with 9
bits/pixel color uses 3 bits/color. FR11 bits 16-4 should be programmed equal to 100b.
3) 16-frame FRC should be used with STN panel. To achieve 16-frame FRC, 4 bits are
needed for each color (R, G, B).
4) When 2-bit dither is disabled, the theoretical Color/Gray level per R, G, and B is calculated
by using the formula below:
5) When 2-frame FRC or 16-frame FRC is enabled the actual Color/Gray level per R, G, and
B that can be achieved is less than the theoretical Color/Gray level.
When 2-bit dither is enabled, the theoretical Color/Gray level per R, G, and B is calculated
by using the formula below:
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Bits
Dither Enable
3 2
0 0 Disable dithering (default)
0 1 Enable 2-bit dithering
1 0 Reserved for 4-bit dithering
1 1 Reserved
FRC is grayscale simulation on frame-by-frame basis to generate shades of gray or color on panels
that do not generate gray/color levels internally.
Bits
Frame Rate Control (FRC)
1 0
No FRC. This setting may be used with all panels, especially
0 0 for panels which can generate shades of grey/color
internally (default).
16-Frame FRC. This setting may be used for panels which
do not support internal grayscaling such as color STN or
01
monochrome STN panels. This setting simulates up to 16
et4U.com gray/color levels per pixel as specified in FR11 Bits 6-4. DataShee
2-frame FRC. This setting may be used with color/
monochrome DataSheet4U.com
panels, especially for panels which can
1 0
generate shades of gray/color internally. The valid number
of bits/pixel is specified in FR11 Bits 6-4.
2-frame FRC. This setting may be used with color/
monochrome panels, especially for panels which can
1 1
generate shades of gray/color internally. The valid number
of bits/pixel is specified in FR11 Bits 6-4.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Bits
FP Data Width
7 6
16-bit panel data width. For color TFT panel this is the 565
0 0
RGB interface. This is the default after reset.
24-bit panel data width. For color the TFT panel this is the
0 1 888 RGB interface. This setting can also be used for the 24-
bit color STN-DD panel.
1 0 Reserved.
36-bit panel data width (TFT panels only). Program 000 in
1 1
shift clock divide bits of FR10.
This bit should be set only for SS panels which require FP HSync (LP) to be active during vertical
blank time when bit 3 is 0. This bit should be reset when using DD panels or when bit 3 is 1.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This bit controls FP Display Enable (FP Blank#) generation. This bit also affects FP HSync (LP)
generation.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This bit is effective only for 16-bit Color STN-DD when frame acceleration is enabled or for 8-bit
Color STN-DD when frame acceleration is disabled.
Bits
Color STN Pixel Packing
1 0
0 0 3-bit pack (default).
0 1 4-bit pack.
1 0 Reserved.
et4U.com Extended 4-bit pack. Bits FR10 Bits 6-4 must be programmed DataShee
1 1 to 001. This setting may only be used for 8-bit interface color
STN SS panels. DataSheet4U.com
This determines the type of pixel packing (the RGB pixel output sequence) for color STN
panels. These bits must be programmed to 00 for monochrome STN panels and for all TFT
panels.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
2 FRC Option 3
This affects 2-frame FRC and normally should be set to 1.
0: FRC data changes every frame
1: FRC data changes every other frame
1 FRC Option 2
This affects 16-frame FRC and normally should be set to 1.
0: 2x2 FRC sub-matrix
1: 2x4 FRC sub-matrix
0 FRC Option 1
This affects 16-frame FRC and normally should be set to 1.
0: 15x31 FRC matrix
1: 16x32 FRC matrix
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This register sets the FRC polynomial counters, which are row and column offsets for each panel type and
are usually determined by trial and error. These values affect the quality of both 2-frame and the 16-frame
FRC algorithms and require readjustment when the horizontal or vertical parameters change, especially
when the vertical total parameter is changed.
et4U.com DataShee
DataSheet4U.com
1 Text Enhancement
Bit
Text Enhancement
1
0 Normal text (default)
Text attribute 07h and 0Fh are reversed to maximize the
1 brightness of the normal DOS prompt. This affects Flat Panel
displays.
0 Reserved (0)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Bits
Character Blink Duty Cycle
7 6
0 0 50%
0 1 25%
1 0 50% (default on reset)
1 1 75%
For setting 00, the character blink period is equal to the cursor blink period. For all other settings,
the character blink period is twice the cursor blink period (character blink is half as fast as cursor
blink).
DataSheet4U.com
Programmed value = ((Actual Value) / 2) - 1
Note: In graphics mode, the pixel blink period is fixed at 32 VSyncs per cursor blink period with 50% duty
cycle (16 on and 16 off).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 M (ACDCLK) Control
0: The M (ACDCLK) phase changes depending on bits 0-6 of this register
1: The M (ACDCLK) phase changes every frame if the frame accelerator is not used. If
the frame accelerator is used, the M (ACDCLK) phase changes every other frame.
This register is used only in flat panel mode.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Signal Pins
PDCLK FLM
RDDE LP
RDBLANK M
RDVIDEO bits 23-16 CA bits 7-0
RDVIDEO bits 15-0 P bits 15-0
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
FR21 FP Horizontal Sync Start LSB Register
read/write at I/O address 3D1h with index at I/O address 3D0h set to 21h
7 6 5 4 3 2 1 0
FP Horizontal Sync Start LSB
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
FR27 FP HSync (LP) Width and Disable Register
read/write at I/O address 3D1h with index at I/O address 3D0h set to 27h
7 6 5 4 3 2 1 0
Delay
FP HSync LP Width
Disable
In FP mode, this parameter is counted using a counter which is clocked with the FP dot clock
divided by 8 in all modes and is independent of horizontal compensation.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In FP mode (FR01 bit 1 is set to 1), this register is used to establish the end of FP Vertical Display Enable
and the start of FP Vertical Blank time. The most significant bits are programmed in FR35 bits 3-0.
et4U.com DataShee
DataSheet4U.com
FR31 FP Vertical Sync Start LSB (FR31) Register
read/write at I/O address 3D1h with index at I/O address 3D0h set to 31h
7 6 5 4 3 2 1 0
FP Vertical Sync Start LSB
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
FR35 FP Vertical Overflow 1 Register
read/write at I/O address 3D1h with index at I/O address 3D0h set to 35h
7 6 5 4 3 2 1 0
Vertical Sync Start MSB Vertical Panel Size MSB
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
FR37 FP VSync (FLM) Disable Register
DataSheet4U.com
read/write at I/O address 3D1h with index at I/O address 3D0h set to 37h
7 6 5 4 3 2 1 0
FLM Delay FLM Select FP VSync (FLM) width Reserved (000)
When the FP Display engine is enabled (FR01 bit one is set to 1) it uses this register.
2-0 Reserved
These bits should always be written to with a value of zero.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Bits
Text Horizontal Compensation Priority (THCP)
4 3
Allow 9-dot compression to 8-dot if needed. If horizontal panel
size is wide enough, 8-dot text remains 8-dot text and 9-dot
0 0 text remains 9-dot text. If horizontal panel size is not wide
enough, then 8-dot text remains 8-dot text and 9-dot text is
forced to 8-dot text. This is the default after reset.
et4U.com No compression or expansion. 8-dot text remains 8-dot text DataShee
0 1 and 9-dot text remains as 9-dot text regardless of horizontal
panel size. DataSheet4U.com
These bits are effective only when bit 0 is 1 and bit 2 is 1. These bits determine the text
mode compression/stretching method to be applied if horizontal panel size is wide enough.
If after applying the specified text compression/stretching, the horizontal panel size is still
wider than the stretched image then further stretching will be applied using the same
algorithm used for horizontal graphics compensation.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This bit is effective only when bit 0 is 1. Text mode horizontal compensation priority/method is
specified in bits 4-3.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This register is used when FR01 bit 1 is set to 1 and FR40 bit 0 is set to 1 and graphics mode is enabled.
This register must be set before FR40.
7-4 Reserved
1
3 Reserved (R/W) (reset state: 0)
Note: That 1024-column graphics mode includes 512-column graphics mode with horizontal pixel
doubling enabled.
Note: That 800-column graphics mode includes 400-column graphics mode with horizontal pixel
et4U.com doubling enabled. DataShee
0 FP Enable Horizontal Stretching for 640-column Graphics Mode
DataSheet4U.com
0: Disable horizontal stretching for 640-column graphics mode.
1: Enable horizontal stretching for 640-column graphics mode.
Note: The 640-column graphics mode includes 320-column graphics mode with horizontal pixel
doubling enabled.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Bits
Replication Specifications
70
0 0 No replication
0 1 Replicate once
1 0 Replicate twice
1 1 Replicate three times
This register specifies the new text mode vertical stretching (along with FR4A, FR4B, FR4C).
FR49(MSB), FR4A(LSB) and FR4B (MSB), FR4C(LSB) constitute two 16 bit registers. Each of the
16 pairs of bits specify scan line replication as shown above.
DataSheet4U.com
This register is used in FP mode (FR01 bit 1 set to 1) and when vertical line replication is enabled. The 4
bit number specifies the number of lines between replicated lines. Double scanned lines are counted. The
state machine starts stretching by using the lower nibble value. If the stretched display does not fit it uses
the next higher value. The process continues until the count is equal to upper nibble value or the display
fits. The lower nibble value must be less than or equal to upper nibble value. Set this register before FR40.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This register is used to selectively disable vertical stretching based on the vertical display end parameter.
The register is qualified by master enable bits in FR48. Set this register before setting FR40.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: The recommended default value to which this register should be set is F5h.
7 TMED Enable
0: Disables TMED.
1: Enables TMED.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Note: The recommended default value to which this register should be set is 5Fh.
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 16
Multimedia Registers
Table 16-1: Multimedia Registers
Access Via Index at 3D2h
Name Register Function
3D3h Set to Value
MR00 Module Capability Register read-only 00h
MR01 Secondary Capability Register read-only 01h
MR02 Capture Control 1 Register read/write 02h
MR03 Capture Control 2 Register read/write 03h
MR04 Capture Control 3 Register read/write 04h
MR05 Capture Control 4 Register read/write 05h
MR06-08 Capture Memory Address PTR1 Registers read/write 06h - 08h
MR09-0B Capture Memory Address PTR2 Registers read/write 09h - 0Bh
MR0C Capture Memory Width (Span) Register read/write 0Ch
MR0E Capture Window X-LEFT Low Register read/write 0Eh
MR0F Capture Window X-LEFT High Register read/write 0Fh
MR10 Capture Window X-RIGHT Low Register read/write 10h
MR11 Capture Window X-RIGHT High Register read/write 11h
MR12 Capture Window Y-TOP Low Register read/write 12h
MR13 Capture Window Y-TOP High Register read/write 13h
MR14 Capture Window Y-BOTTOM Low Register read/write 14h
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-2 Reserved
1 Capture Available
0: Absent
1: Included
0 Playback Available
0: Absent
1: Included
7-0 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
5 VSYNC Polarity
0: Low asserted
1: High asserted
4 HSYNC Polarity
0: Low asserted
1: High asserted
3 RGB Mode
0: RGB16
et4U.com 1: RGB15 DataShee
2 Color DataSheet4U.com
0: YUV
1: RGB
1 Reserved
0 Interlace
0: Interlace Enabled
1: Non-Interlace
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
5 Y-Scale Enable
0: Disabled
1: Scaled on V
4 X-Scale Enable
0: Disabled
1: Scaled on H
3 Field Select
0: Field 0
1: Field 1
Bit 3 is only effective when bit 2 is set to 1.
et4U.com DataShee
2 Frame/Field Capture
0: Frame DataSheet4U.com
1: Field
0 Capture Enable
0: Stop
1: Start
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
1 Y-Capture Direction
0: Normal: top to bottom
1: Flipped: bottom to top
0 X-Capture Direction
0: Normal: left to right
1: Mirrored: right to left
Note: Changing the X- or Y- capture direction (Bits 1-0) will also require a change in the
acquisition memory address pointer.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
6 UV SWAP
0: Normal UV sequence
1: Exchange U and V
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
2-0 Reserved
DataSheet4U.com
7-6 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
2-0 Reserved
DataSheet4U.com
7-6 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
7-3 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
MR11 Capture Window X-RIGHT High Register
read/write at I/O address 3D3h with index at address 3D2h set to 11h
7 6 5 4 3 2 1 0
Reserved Capture Window X-RIGHT High Bits 10-8
7-3 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
MR13 Capture Window Y-TOP High Register
read/write at I/O address 3D3h with index at address 3D2h set to 13h
7 6 5 4 3 2 1 0
Reserved Capture Window YTOP Bits 10-8
7-3 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
MR15 Capture Window Y-BOTTOM High Register
read/write at I/O address 3D3h with index at address 3D2h set to
7 6 5 4 3 2 1 0
Reserved Capture. Window Y-BOTTOM Bits 10-8
7-3 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-5 Reserved
3 V-ZOOM Enable
0: Normal
1: Video playback is zoomed to the degree specified in the V-ZOOM Register (MR33).
2 H-ZOOM Enable
0: Normal
1: Video playback is zoomed to the degree specified in the H-ZOOM Register (MR32).
1 Y-Playback Direction
0: Normal: top to bottom
1: Flipped: bottom to top
Be sure to change memory pointer value of PTR1 (MR22 - MR24) and/or PTR2 (MR25 -
et4U.com MR27) if flipped. DataShee
0 X-Playback Direction DataSheet4U.com
0: Normal: left to right
1: Mirrored: right to left
Be sure to change memory pointer value of PTR1 (MR22 - MR24) and/or PTR2 (MR25 -
MR27) if mirrored.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7 V Interpolate Enable
0: Disable
1: Enable
6 V Interpolate Mode
0: De-block
1: Running Average (when bit 7 is set)
5 H Interpolate Enable
4 Reserved
2 Reserved
et4U.com DataShee
1 UV Sign
0: UV Unsigned (signed offset)
DataSheet4U.com
1: UV Signed (2's complement)
Bit
Color Format
3 2 1 0
0 x 0 0 YUV 4:2:2
0 x 0 1 YVU 4:2:2; UV Swap
0 x 1 0 YUV 4:2:2; UV=2's comp
0 x 1 1 YVU 4:2:2; UV=2'comp, UV swap
1 x x 0 RGB16; R5G6B5 (B=LSB)
1 x x 1 RGB15, xR5G5B5 (B=LSB)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Bit
Playback Pointer Select
5 4 3
0 0 X Selects playback memory pointer address 1
0 1 X Selects playback memory pointer address 2
1 0 0 Selects playback memory pointer address 1
Pointer to the location from which frames/fields of data
1 0 1 are read toggles between addresses indicated by
PTR1and PTR2 after each frame/field captured
1 1 0 Selects playback memory pointer address 2
Pointer to the location from which frames/fields of data
1 1 1 are read toggles between addresses indicated by
PTR1and PTR2 after each frame/field captured
DataSheet4U.com
1-0 Reserved
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-2 Reserved
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
2-0 Reserved
DataSheet4U.com
7-6 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
7-6 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-3 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
7-3 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
7-3 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
7-3 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-2 H-ZOOM
When enabled by setting bit 2 of the Playback Control 1 Register (MR1E) to 1, these six
bits are used to specify the zoom factor by which the playback image is magnified.
Bits Resulting
7 6 5 4 3 2 Zoom Factor
1 0 0 0 0 0 Magnify by 2
0 1 0 0 0 0 Magnify by 4
0 0 1 0 0 0 Magnify by 8
1-0 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
DataSheet4U.com
7-2 V-ZOOM
When enabled by setting bit 3 of the Playback Control 1 Register (MR1E) to 1, these six
bits are used to specify the zoom factor by which the playback image is magnified.
Bits Resulting
7 6 5 4 3 2 Zoom Factor
1 0 0 0 0 0 Magnify by 2
0 1 0 0 0 0 Magnify by 4
0 0 1 0 0 0 Magnify by 8
1-0 Reserved
These bits always return the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This value is calculated as follows: ( (width of line in pixels) / (number of pixels per quad-
words) ) - 1.
5 Blank Display
0: Graphics and video playback NOT blanked
1: Graphics and video playback blanked
4-3 Reserved
2 XY Rectangle Enable
0: XY Rectangular Region off
1: XY Rectangular Region enabled
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The table below describes the bits and values for the color key registers in different graphics modes.
RED Bits 7-3 = G_Key Bits 6-2 RED Bits 7-3 = G_Key Bits 7-3
GREEN Bits 7-3= G_Key Bits 1-0, B_Key Bits 7-5 GREEN Bits 7-2= G_Key Bits 2-0, B_Key Bits 7-5
BLUE Bis 7-3 = B_Key Bits 4-0 BLUE Bits 7-3 = B_Key Bits 4-0
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
7-4 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 17
BitBLT Registers
These registers exist in the upper memory space of the host bus. The BitBLT registers exist at an offset of
4MB from the base address of the upper memory space.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Reserved Source Span
(000) (x:xxxx:xxxx:xxxx)
31-29 Reserved
These bits always return 0 when read.
If the destination data is to be contiguous (i.e., it will be a single unbroken block of data
where the last byte of a scanline’s worth of data is immediately followed by the first byte of
the next scanline’s worth), then the value of this span should be set equal to the number of
bytes in each scanline’s worth of destination data.
et4U.com DataShee
15-13 Reserved
These bits always return 0 whenDataSheet4U.com
read.
When color source data is read from the frame buffer, these 13 bits specify the span from
the first byte in a scanline’s worth of color source data to the first byte in the next scanline’s
worth. In other words, these bits specify the amount by which the source address specified
in BR06 should be incremented after a scanline’s worth of color source data has been read
from the frame buffer in order to point to where the first byte in the next scanline’s worth of
color source data should be read.
When the host CPU provides the color source data through the BitBLT data port, these 13
bits specify the number of bytes to be counted from the first byte in one scanline’s worth of
color source data to the first byte in the next scanline’s worth.
If the color source data is contiguous (i.e., it is a single unbroken block of data where the
last byte of a scanline’s worth of data is immediately followed by the first byte of the next
scanline’s worth), then the value of this span should be set equal to the number of bytes in
each scanline’s worth of color source data.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Pattern/Source Expansion Background Color & Transparency Bits 15-0
(xxxx:xxxx:xxxx:xxxx)
31-24 Reserved
These bits always return 0 when read.
23-0 Pattern/Source Expansion Background Color & Transparency Key Bits 23-0
These 24 bits are used to specify the background color for the color expansion of either
monochrome pattern data only, or both monochrome pattern data and monochrome source
data (depending on the setting of bit 27 of BR03). When bit 27 of BR03 is set so that this
register is used in the color expansion of monochrome pattern data only, BR09 is used to
specify the background color for the color expansion of monochrome source data.
These 24 bits are also optionally used to specify the key color for whichever form of color
et4U.com transparency is selected via bits 16-15 of BR04 (depending on the setting of bit 27 of
DataShee
BR03).
DataSheet4U.com
Whether bits 7-0, 15-0 or 23-0 of this register are used in both the color expansion and color
transparency processes depends upon the color depth to which the BitBLT engine has
been set.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Pattern/Source Expansion Foreground Color Bits 15-0
(xxxx:xxxx:xxxx:xxxx)
31-24 Reserved
These bits always return 0 when read.
Whether bits 7-0, 15-0 or 23-0 of this register are used in the color expansion process
depends upon the color depth to which the BitBLT engine has been set.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Reserved Monochrome Source Data Right Clipping Reserved Monochrome Source Data Left Clipping
(00) (xx:xxxx) (00) (xx:xxxx)
31-28 Reserved
These bits always return 0 when read.
These 3 bits are used to configure the BitBLT engine for the byte alignment of each
et4U.com scanline’s worth of monochrome source data during a BitBLT operation, as each scanline’s DataShee
worth of monochrome source data is received.
DataSheet4U.com
Refer to the section describing the BitBLT engine for further details concerning the
requirements for how monochrome source data must be organized.
Bit
Specified Monochrome Source Data Alignment
26 25 24
0 0 0 Reserved
0 0 1 Bit-Aligned
0 1 0 Byte-Aligned
0 1 1 Word-Aligned
1 0 0 Doubleword-Aligned
1 0 1 Quadword-Aligned
1 1 0 Reserved
1 1 1 Reserved
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
23-22 Reserved
These bits always return 0 when read.
These 6 bits are used to specify how many bits (up to 63 bits) of monochrome source data
should be skipped over in the first quadword of source data in order to reach the first bit of
valid or desired monochrome source data. These bits are normally used to clip one or more
of the first scanline’s worth of monochrome source data, (i.e. clipping monochrome source
data from the top).
15-14 Reserved
These bits always return 0 when read.
These 6 bits are used to specify how many bits (up to 63 bits) of monochrome source data
should be discarded from the end of each scanline’s worth of valid or desired monochrome
source data. These bits are normally used to clip monochrome source data from the right.
7-6 Reserved
These bits always return 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Tran Tran Src Src Rsvd Src Starting Bit-Wise Operation
Sel Enl Mask Dep Sel Point Select Select
(0) (0) (0) (0) (0) (0) (00) (00h)
30-23 Reserved
These bits always return 0 when read.
0: Causes monochrome pattern data to actually be read and used as is normal, if indeed
monochrome pattern data is being used as an input to a BitBLT operation.
1: Causes the BitBLT engine to forgo the process of reading the pattern data. Instead, the
presumption is made that all of the bits of the pattern data are set to 0. The pattern operand
for all bit-wise operations is forced to the background color specified in BR01.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This bit enables a form of per-pixel write-masking in which monochrome pattern data is
used as a pixel mask that controls which pixels at the destination will be written to by the
BitBLT engine.
0: This disables the use of monochrome pattern data as a write mask, allowing normal
operation of the BitBLT engine with regard to the use of monochrome pattern data.
1: Wherever a bit in monochrome pattern data carries the value of 0 the byte(s) of the
corresponding pixel at the destination are NOT written, thereby preserving any data already
carried by those bytes.
When color transparency is enabled by setting bit 14 of this register to 1, the color value
carried within bits 23-0 of either BR01 or BR09 is used as a key color to mask the writing
of pixel data to the destination on a per-pixel basis. Before each pixel at the destination is
written, a comparison is made between this key color and another color, and whether or not
that given pixel at the destination will actually be written depends upon the result of that
comparison.
Whether BR01 or BR09 is used to supply the key color depends on the setting of bit 27 of
BR03 since the same register that is used to supply the key color for color transparency
et4U.com also happens to be used to supply the background color for monochrome-to-color DataShee
expansion. Also, depending on the type of color transparency selected, the other color
value to which the key color is compared may be the color value resulting from the bit-wise
DataSheet4U.com
operation selected via bits 7-0 of this register.
Bit
Form of Per-Pixel Color Comparison Selected
16 15
0 0 The color value carried by bits 23-0 of either BR01 or BR09 is compared to the color value
resulting from the bit-wise operation being performed for the current pixel. If these two
color values are NOT the same, then the byte(s) for the current pixel at the destination will
be written with the color value resulting from the bit-wise operation.
0 1 The color value carried by bits 23-0 of either BR01 or BR09 is compared to the color value
already specified in the byte(s) for the current pixel at the destination. If these two color
values are NOT the same, then the byte(s) for the current pixel at the destination will be
written with the color value resulting from the bit-wise operation.
1 0 The color value carried by bits 23-0 of either BR01 or BR09 is compared to the color value
resulting from the bit-wise operation being performed for the current pixel. If these two
color values ARE the same, then the byte(s) for the current pixel at the destination will be
written with the color value resulting from the bit-wise operation.
1 1 The color value carried by bits 23-0 of either BR01 or BR09 is compared to the color value
already specified in the byte(s) for the current pixel at the destination. If these two color
values ARE the same, then the byte(s) for the current pixel at the destination will be written
with the color value resulting from the bit-wise operation.
Note: Color transparency can be used only when the BitBLT engine is set to a color depth
of 8 or 16 bits per pixel, but not 24 bits per pixel. If the BitBLT engine has been set to a
color depth of 24 bits per pixel, then bit 14 of this register should always remain set to 0 to
disable color transparency.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
When color transparency is enabled, the color value carried within bits 23-0 of either BR01
or BR09 is used as a key color to mask the writing of pixel data to the destination on a per-
pixel basis. Before each pixel at the destination is written, a comparison is made between
this key color and another color, and whether or not that given pixel at the destination will
actually be written depends upon the result of that comparison.
Whether BR01 or BR09 is used to supply the key color depends on the setting of bit 27 of
BR03 since the same register that is used to supply the key color for color transparency
also happens to be used to supply the background color for monochrome-to-color
expansion. Also, depending on the type of color transparency selected via bits 16-15 of
this register, the other color value to which the key color is compared may be the color value
resulting from the bit-wise operation selected via bits 7-0 of this register.
Note: Color transparency can be used only when the BitBLT engine is set to a color depth
of 8 or 16 bits per pixel, but not 24 bits per pixel. If the BitBLT engine has been set to a
color depth of 24 bits per pixel, then this bit should always remain set to 0 to disable color
transparency.
0: This disables the use of monochrome source data as a write mask, allowing normal
operation of the BitBLT engine with regard to the use of monochrome source data.
1: Wherever a bit in monochrome source data carries the value of 0, the byte(s) of the
corresponding pixel at the destination are NOT written, thereby preserving any data already
carried by those bytes.
Note: This bit must be set to 0 whenever a bit-wise operation is selected (using bits 7-0 of
this register) that does not use source data.
11 Reserved (Writable)
This bit should always be written with the value of 0.
10 Source Select
0: Configures the BitBLT engine to read the source data from the frame buffer at the
location specified in BR06.
1: Configures the BitBLT engine to accept the source data from the host CPU via the
BitBLT data port. The host CPU provides the source data by performing a series of
memory write operations to the BitBLT data port.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Bit
Corner Selected as the Starting Point
98
0 0 Upper Left Corner -- This is the default after reset.
0 1 Upper Right Corner
1 0 Lower Left Corner
1 1 Lower Right Corner
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Pattern Address Bits 15-3 Reserved
(xxxx:xxxx:xxxx:x) (000)
The pattern data is always an 8x8 array of pixels that is always stored in frame buffer
memory as a single contiguous block of bytes. The pattern data must be located on a
boundary within the frame buffer that is equivalent to its size, and its size depends on the
pattern data’s color depth. The color depth may be 1 bit per pixel if the pattern data is
monochrome or it may be 8, 16, or 24 bits per pixel if the pattern data is in color (the color
depth of a color pattern must match the color depth to which the BitBLT engine has been
set). Monochrome patterns require 8 bytes, and so the pattern data must start on a
et4U.com quadword boundary. Color patterns of 8, 16, and 24 bits per pixel color depth must start DataShee
on 64-byte, 128-byte, and 256-byte boundaries, respectively.
DataSheet4U.com
Note: In the case of 24 bits per pixel, each row of 8 pixels of pattern data takes up 32
consecutive bytes, not 24. The pattern data is formatted so that for each row there is a
block of 8 sets of 3 bytes (each set corresponding to one of the 8 pixels), followed by a block
of the 8 extra bytes. When the BitBLT engine reads 24 bit-per-pixel pattern data, it will read
only the first 24 bytes of each row of pattern data, picking up only the 8 sets of 3 bytes for
the 8 pixels in that row, and entirely ignoring the remaining 8 bytes.
2-0 Reserved
These bits always return 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Source Address Bits 15-0
(xxxx:xxxx:xxxx:xxxx)
Important: This register should never be read while the BitBLT engine is busy.
When the source data is provided by the host CPU through the BitBLT data port, and that
source data is in color, only bits 2-0 are used and the upper bits are ignored. These lower
3 bits are used to indicate the position of the first valid byte within the first quadword of the
source data.
et4U.com DataShee
When the source data is provided by the host CPU through the BitBLT data port, and that
source data is monochrome, theDataSheet4U.com
BitBLT engine ignores this register entirely.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Destination Address Bits 15-0
(xxxx:xxxx:xxxx:xxxx)
Important: This register should never be read while the BitBLT engine is busy.
The destination location is the location from which destination input data (if used) will be
read, and it is where the destination output data will be written.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Reserved Destination Byte Width
(000) (0:0000:0000:0000)
Important: This register should never be read while the BitBLT engine is busy.
31-29 Reserved
These bits always return 0 when read.
15-13 Reserved
These bits always return 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Source Expansion Background Color & Transparency Key Bits 15-0
(xxxx:xxxx:xxxx:xxxx)
31-24 Reserved
These bits always return 0 when read.
23-0 Source Expansion Background Color & Transparency Key Bits 23-0
These 24 bits are optionally used to specify the background color for the color expansion
of monochrome source data (depending on the setting of bit 27 of BR03). When bit 27 of
BR03 is set so that this register is used in the color expansion of monochrome source data,
BR01 is used to specify the background color for the color expansion of monochrome
pattern data.
These 24 bits are also optionally used to specify the key color for whichever form of color
et4U.com transparency is selected via bits 16-15 of BR04 (depending on the setting of bit 27 of
DataShee
BR03).
DataSheet4U.com
Whether bits 7-0, 15-0 or 23-0 of this register are used in both the color expansion and color
transparency processes depends upon the color depth to which the BitBLT engine has
been set.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Source Expansion Foreground Color Bits 15-0
(xxxx:xxxx:xxxx:xxxx)
31-24 Reserved
These bits always return 0 when read.
Whether bits 7-0, 15-0 or 23-0 of this register are used in the color expansion process
depends upon the color depth to which the BitBLT engine has been set.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Chapter 18
Memory-Mapped Wide Extension Registers
The video decoder registers are 32-bit memory-mapped registers that exist in the upper memory space that
the 69000 occupies on the host bus. Refer to chapter on address maps for more information. These
registers exist at an offset of 0x400100h from the base address of the memory space.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Rsvd Dsply Reserved V Cap Reserved
VBlnk VSync
Int Int
Output Output
En En
(0) (0) (00:0000:0) (0) (00:0000)
30 Reserved
et4U.com DataShee
This bit always returns a value of 0 when read.
29-15 Reserved
DataSheet4U.com
These bits always return the value of 0 when read.
13-7 Reserved
These bits always return the value of 0 when read.
5-0 Reserved
These bits always return the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Rsvd Pipe A Reserved V Cap Reserved
V Blnk VSync
(0) (0) (00:0000:0) (0) (00:0000)
30 Reserved
These bits always return the value of 0 when read.
29-15 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
14 Display Vertical Blanking Period Interrupt Pending
0: Since this bit was lastDataSheet4U.com
cleared, no interrupt has been sourced as a result of the drawing
of the last scan line within the active display area on pipeline A.
1: An interrupt was sourced as a result of the drawing of the last scan line within the active
display area on pipeline A. Writing the value of 1 to this bit will clear it to 0 (writing the value
of 0 to this bit has no effect and will be ignored).
13-7 Reserved
These bits always return the value of 0 when read.
5-0 Reserved
These bits always return the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
(0000:0000:0000:0000)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Rsvd Dsply Reserved VCap Reserved
Vert VSync
Blnk Int
Pol Pol
(0) (0) (00:0000:0) (0) (00:0000)
32-15 Reserved
This bit always returns the value of 0 when read.
13-7 Reserved
These bits always return the value of 0 when read.
et4U.com DataShee
6 Video Capture Vertical Sync Interrupt Source Polarity
0: No inversion. DataSheet4U.com
1: Inversion.
5-0 Reserved
These bits always return the value of 0 when read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-1
Appendix A
DISPLAY MODES
This chapter lists tables for configuring the 69000 for various CRT monitor and flat panel graphics and text
display modes. The parameters detailed in the tables of this chapter define standard capabilities of the
69000 when it is used with the Chips VGA BIOS. Consult with the appropriate BIOS vendor for information
about display modes and parameters that are supported by BIOSs that are not from Chips.
The following symbols and abbreviations are used for display modes in the following sections:
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-2
Standard
VESA Color
VGA Character Type of Horizontal Vertical
Display Resolution Characters Resolution
Display Cell Display Frequency Frequency
Mode (bpp/ X Rows (pixels)
Mode No. (pixels) Mode (kHz) (Hz)
Number # colors)
(hex)
Mono- DataSheet4U.com
07* – 80 × 25 9 × 14 720 × 350 Text 31.5 70
chrome
Mono-
07+ – 80 × 25 9 × 16 720 × 400 Text 31.5 70
chrome
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-3
• The ‘Minimum MCLK’ column gives the recommended memory clock frequency at which
the 69000 can run without adverse effects to functionality. Better benchmarks can be
achieved with an MCLK frequency higher than the frequency specified.
• Some of the display modes are not supported by all CRT monitors.
Extended
VESA Color Mini-
VGA Horizontal Vertical
Display Depth Memory Resolution VCLK mum
Display Freq. Freq.
Mode No. (bits per Organization (pixels) (MHz) MCLK
Mode No. (kHz) (Hz)
(hex) pixel) (MHz)
(hex)
14h 8 31.5 70 12.587 50
15h – 16 Packed Pixel 320 × 200 31.5 70 12.587 50
16h 24 31.5 70 12.587 50
31.5 60 25.175 50
20h 120h 4 Packed Pixel 640 x 480 37.5 75 31.5 50
43.3 85 36 50
35.5 56 36 50
46.9 60 40 50
22h 122h 4 Packed Pixel 800 x 600
46.9 75 49.5 50
53.7 85 56.25 50
31.5 56 36 50
37.9 60 40 50
6Ah 102 4 Planar 800 x 600
46.9 75 49.5 50
53.7 85 56.25 50
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-4
Extended
VESA Color Mini-
VGA Horizontal Vertical
Display Depth Memory Organiza- Resolution VCLK mum
Display Freq. Freq.
Mode No. (bits per tion (pixels) (MHz) MCLK
Mode No. (kHz) (Hz)
(hex) pixel) (MHz)
(hex)
31.5 60 25 50
37.9 72 31.5 50
24h 102h 4 Packed Pixel 800 x 600
37.5 75 31.5 50
43.269 85 36 50
47 43(I) 78.75 50
28h 128h 4 Packed Pixel 1280 × 1024 64 60 108 50
79.98 75 135 50
47 43(I) 78.75 50
68h 106h 4 Planar 1280 × 1024 64 60 108 50
79.98 75 135 50
31h(L)
100h 8 Packed Pixel 640 x 400 31.5 70 25.175 50
71h(P)
35.1 56 36 50
32h(L) 37.9 60 40 50
103h 8 Packed Pixel 800 x 600
72h(P) 46.9 75 49.5 58
53.7 85 56.25 68
47 43(I) 78.75 50
38h(L) 1280 × 1024
107h 8 Packed Pixel 64 60 108 50
78h(P)
79.98 75 135 50
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-5
Extended
VESA Color Mini-
VGA Horizontal Vertical
Display Depth Memory Organiza- Resolution VCLK mum
Display Freq. Freq.
Mode No. (bits per tion (pixels) (MHz) MCLK
Mode No. (kHz) (Hz)
(hex) pixel) (MHz)
(hex)
31.5 60 25.175 50
41h 111h 16 Packed Pixel 640 x 480 37.5 75 31.5 50
43.3 85 36 50
35.1 56 36 50
800 x 600 37.9 60 40 50
43h 114h 16 Packed Pixel
46.9 75 49.5 60
53.7 85 56.25 70
31.5 60 25.175 50
50h 112h 24 Packed Pixel 640 x 480 37.5 75 31.5 50
et4U.com 43.3 85 36 50 DataShee
DataSheet4U.com
35.5 56 36 50
37.9 60 40 50
52h 115h 24 Packed Pixel 800 x 600
46.9 75 49.5 50
53.7 85 56.25 50
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-6
Display Modes
The 69000 VGA BIOS supports flat panel-only and simultaneous operations with the standard VGA display
modes listed in here and elsewhere. In addition, the 69000 VGA BIOS supports flat panel-only and
simultaneous operations with the extended display modes listed in this section.
• Within the table, the ‘Minimum MCLK’ column gives the recommended memory clock
frequency at which the 69000 can run without adverse effects to functionality. Better
benchmarks can be achieved with an MCLK frequency higher than the frequency specified.
• DSTN flat panels require display memory for frame accelerator functionality.
• For simultaneous operation, both the flat panel and the CRT monitor must be configured at
a minimum to support the resolution of a given display mode.
Table A-3: Flat Panel-Only and Simultaneous 640 x 480 (VGA) Display Modes
VESA Display
Extended VGA Display Color Depth Resolution Type of Flat VCLK Minimum
et4U.com Mode Number
Mode Number (hex) (bits per pixel) (pixels) Panel (MHz) MCLK(MHz) DataShee
(hex)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-7
• Within the table, the ‘Minimum MCLK’ column gives the recommended memory clock
frequency at which the 69000 can run without adverse effects to functionality. Better
benchmarks can be achieved with an MCLK frequency higher than the frequency specified.
• DSTN flat panels require display memory for frame accelerator functionality.
• For simultaneous operation, both the flat panel and the CRT monitor must be configured at
a minimum to support the resolution of a given display mode.
Table A-4: Flat Panel-Only and Simultaneous Display Modes for 800 x 600 Flat Panels.
DSTN 40 50
22h 122h 4 800 × 600
TFT 40 50
DSTN 40 50
43h 114h 16 800 × 600
TFT 40 50
DSTN 40 50
52h 115h 24 800 × 600
TFT 40 50
a- planar mode
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-8
• Within the table, the ‘Minimum MCLK’ column gives the recommended memory clock
frequency at which the 69000 can run without adverse effects to functionality. Better
benchmarks can be achieved with an MCLK frequency higher than the frequency specified.
• DSTN flat panels require display memory for frame accelerator functionality.
• For simultaneous operation, both the flat panel and the CRT monitor must be configured at
a minimum to support the resolution of a given display mode.
Table A-5: Flat Panel-Only and Simultaneous Display Modes for 1024 x 768 Flat Panels
DSTN
24h 124h 4 1024 × 768 65 58
TFT
DSTN
45h 117h 16 1024 × 768 65 58
TFT
a- planar mode
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-9
• Within the table, the ‘Minimum MCLK’ column gives the recommended memory clock
frequency at which the 69000 can run without adverse effects to functionality. Better
benchmarks can be achieved with an MCLK frequency higher than the frequency specified.
• DSTN flat panels require display memory for frame accelerator functionality.
• For simultaneous operation, both the flat panel and the CRT monitor must be configured at
a minimum to support the resolution of a given display mode.
Table A-6: Flat Panel-Only and Simultaneous Display Modes for 1280 x 1024 Flat Panels
DSTN
28h 128h 4 1280 x 1024 108 50
TFT
a- planar mode
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
A-10
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Appendix B
Clock Generation
Clock Synthesizer
The graphics controller contains two complete phase-locked loops (PLLs) to synthesize the internal Dot
Clock (DCLK) and Memory Clock (MCLK) from an externally supplied reference frequency. Each of the two
clock synthesizer phase lock loops may be programmed to output frequencies ranging between 3MHz and
the maximum specified operating frequency for that clock in increments not exceeding 0.5%. An external
crystal-controlled oscillator (TTL) generates the reference frequency of 14.31818 MHz that is driven into the
graphics controller on pin C3. The graphics controller can not generate the 14.31818 MHz reference
frequency using only an external crystal.
In borrowing from VGA parlance, there are said to be three dot clocks: DCLK0, DCLK1 and DCLK2. In
et4U.com truth, there is actually only a single PLL, but it can be configured with divisor values from any one of three DataShee
sets of registers within the XRC0-XRCF group of registers, and these three groups of registers are referred
to as if they were DCLK0, DCLK1 and DCLK2. Bits 3 and 2 of the Miscellaneous Output Register (MSR)
DataSheet4U.com
are used to select which one of these 3 sets of registers will be used to supply the divisor values that the
PLL will use in creating the dot clock at any given time.
During reset, the first two sets of these registers (DCLK0 and DCLK1) default to values that specify the two
standard VGA dot clocks of 25.175MHz and 28.322MHz, and normally the values in these first two sets of
registers are not changed. The third set of registers (DCLK2) is used for all modes that are not of the VGA
standard, i.e., the extended modes.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
PLL Parameters
Each phase-locked loop consists of the elements shown in the figure below. The reference input frequency
(14.31818MHz) is divided by N, a 8-bit programmable value. The output of the VCO is divided by 1 (or 4
via the VCO Loop Divider: VLD) and then further divided by M, another 8-bit programmable value. The
phase detector compares the N and M results and adjusts the VCO frequency as needed to achieve
frequency equality.
When the loop has stabilized, the VCO frequency (FVCO) is related to the reference as follows:
The VCO output can be further divided by 1, 2, 4, 8, 16, or 32 (which is called Post Divisor: PD) to produce
the final DCLK or MCLK used for video or memory timing.
FOUT = (FVCO)/PD
et4U.com DataShee
By “fine tuning” the M/N ratio in each PLL, extremely small adjustments in the exact DCLK and MCLK
frequencies can be achieved. The VCO itself isDataSheet4U.com
designed to operate in the range of 100MHz to 220 MHz.
R EF C L K
14 .3 M H z ÷ F VCO F OUT
Post D ivisor
N Phase C harge Pum p
VC O (PD ) C LK
D etect & Filter
÷1, 2, 4,
8, 16, 32
(D C LK o nly)
VC O Loop
÷M D ivide (VLD )
(÷4, ÷1)
M counter = Program value M’+2 FVCO: VCO frequency (before post divisor)
N counter = Program value N’+2 FOUT: Output frequency: (desired frequency)
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
CLK0 CLK1
M XRC0 XRC4
N XRC1 XRC5
VLD XRC3[2] XRC7[2]
PD XRC3[6:4] XRC7[6:4]
CLK2 MCLK
M XRC8 XRCC[7:0]
N XRC9 XRCD[7:0]
VLD XRCB[2]
PD XRCB[6:4] XRCE[6:4]
DCLK Programming
For each DCLK, a new frequency should be programmed by following below sequence:
1) Program M
et4U.com 2) Program N DataShee
3) Program PD
DataSheet4U.com
This will effectively change DCLK into the new frequency
MCLK Programming
For MCLK, a new frequency should be programmed by following the sequence below:
1) Program M
2) Program N
3) Program PD
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Programming Constraints
The programmer must be aware of the following five programming constraints:
The constraints have to do with trade-offs between optimum speed with lowest noise, VCO stability and
factors affecting the loop equation.
The value of FVCO must remain between 100 MHz and 220 MHz inclusive. Therefore, for output
frequencies below 100 MHz, FVCO must be brought into range by using the post-VCO Divisor.
To avoid crosstalk between the VCOs, the VCO frequencies should not be within 0.5% of each other nor
should their harmonics be within 0.5% of the other’s fundamental frequency.
The graphics controller’s clock synthesizers will seek the new frequency as soon as it is loaded following a
write to the control register. Any change in the post-divisor will take affect immediately. The output may
glitch during this transition of post divide values. Therefore, the programmer may wish to hold the post-
divisor value constant across a range of frequencies. There is also the consideration of changing from a
low frequency VCO value with a post-divide÷1 (e.g., 100 MHz) to a high frequency ÷ 4 (e.g., 220 MHz).
Although the beginning and ending frequencies are close together, the intermediate frequencies may cause
the graphics controller to fail in some environments. In this example, there will be a short-lived time during
et4U.com which the output frequency will be approximately 25 MHz. The graphics controller provides the mux for DataShee
MCLK so it can select the fixed frequency (25.175 MHz) before programming a new frequency. Because
DataSheet4U.com
of this, the bus interface may not function correctly if the MCLK frequency falls below a certain value.
Register and memory accesses synchronized to MCLK may be too slow and violate the bus timing causing
a watchdog timer error.
Programming Example
The following is an example of the calculations which are performed.
Derive the proper programming word for a 25.175 MHz output frequency using a 14.31818 MHz reference
frequency.
Since 25.175 MHz < 100 MHz, quadruple it to 100.70 MHz to get FVCO in its valid range.
Set the post divide (PD) divide by 4.
Video Loop Divisor Selector (VLD) = 1
M N FVCO Error
211 30 100.70 -0.00005
204 29 100.72 +0.00021
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The memory clock and video clock power pins on the graphics controller chip each require similar RC
filtering to isolate the synthesizers from the VCC plane and from each other. The filter circuit for each
CVCCn/CGND pair is shown below:
et4U.com
VDD 10Ω DataShee
DCKVCC /
DataSheet4U.com MCKVCC
0 .1 µF +
4 7 µF 0 .1 µF DCKGND /
MCKGND
The suggested method for layout assumes a multi-layer board including VCC and GND planes. All ground
connections should be made as close to the pin/component as possible. The CVCC trace should route from
the graphics controller through the pads of the filter components. The trace should NOT be connected to
the filter components by a stub. All components (particularly the nearest 0.1µF capacitor) should be placed
as close as possible to the graphics controller.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
Vcc
GND
GND
C2 GND
DCKGND
C1 R1 C3
from
graphics
GND controller
D C K VC C
M C KV C C
M C KG N D
R2 C6
C5 GND
Vcc
Vcc
GND
C4
et4U.com Always pass the Vcc trace through the decoupling DataShee
GND cap pad. D o not leave a stub as show n.
DataSheet4U.com
C7
GND
N ote: D o not connect V cc here. Force the
trace through the decoupling cap pad.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet4 U .com
www.DataSheet4U.com
1) Pixel depth (number of bytes per pixel): 1 byte for 8 bpp, 2 bytes for 16 bpp, 3 bytes for 24 bpp.
2) Number of additional bytes accessed for STN-DD frame buffering, usually one byte per pixel
(independent of pixel depth in main display memory). This effect is discussed further in the next
section. It applies only to STN-DD panels, not to CRT or TFT displays.
3) Utilization efficiency. The percentage of peak memory bandwidth needed for RAS overhead (RAS-
CAS cycles rather than CAS-only cycles), DRAM refresh, and CPU access. Peak memory
bandwidth is the product of MCLK and the number of bytes accessed per MCLK (e.g., 664 MB/sec
for 83 MHz MCLK). The graphics controller needs at least 20% of this peak bandwidth for RAS
overhead (higher for STN-DD buffer accesses and CPU accesses due to shorter DRAM bursts).
Allow at least an additional 10% bandwidth buffer for CPU accesses and DRAM refresh. This
leaves 70% of MCLK cycles available for display refresh (10% allowance for the CPU may be
grossly inadequate for demanding applications such as software MPEG playback).
4) Multimedia frame capture. This factor is not included in the example calculations. Except where
otherwise noted, the graphics controller mode support estimates do not include provision for frame
capture from the video input port.
As an example, suppose MCLK is 83 MHz and the pixel depth is 16 bpp. Then the maximum supportable
pixel rate for CRT and TFT displays is 83 MHz x 70% x 8 ÷ 2 = 232.4 MHz (8 bytes per MCLK, 2 bytes per
et4U.com pixel). Any video mode that uses a 112 MHz or lower DCLK can be supported by the 83 MHz MCLK. For DataShee
an STN-DD panel, the maximum supportable pixel rate in 16 bpp modes is 83 MHz x 70% x 8 ÷ 3 = 154
MHz (8 bytes per MCLK, 3 bytes accessed DataSheet4U.com
per pixel). 16 bpp video modes using a 75 MHz or lower DCLK
can be supported by the 83 MHz MCLK with an STN-DD panel.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The half frame buffer operates as follows. As each pixel is read out of display memory, the appropriate 3-
bit code for the panel is calculated and sent to the panel. In addition, the proper 3-bit code for the same
pixel in the NEXT frame is also calculated, with allowance for frame rate control. The second 3-bit code is
written into the half frame buffer. During this same pixel time, the previously stored 3-bit code is read out
of the half frame buffer and sent to the other half of the panel.
The full frame buffer operates in a similar manner. As each two pixels are read out of display memory, the
appropriate 3-bit codes for the panel are calculated and stored in the buffer. During the same two pixel
times, previously stored 3-bit codes are read out of the buffer and sent to upper and lower halves of the
panel.
There is no difference between a half frame buffer and a full frame buffer in the effect on display memory
bandwidth. Both options require 0.4 bytes per pixel to be read and written during each pixel time. If the
buffer is located in main display memory, the total effect is 0.8 extra bytes of memory access per pixel
(regardless of pixel depth). In 16 bpp modes, a total of 2.8 bytes of memory access must be performed per
pixel – 2 bytes for the 16 original pixel bits, plus 0.8 byte for the buffer bits. The graphics controller actually
reads and writes one DWORD in the buffer for every 10 pixels, which is the same as 0.8 bytes per pixel.
et4U.com For mode support calculations, it is usually best to assume 1.0 byte per pixel instead of 0.8, since the RAS DataShee
overhead for STN-DD buffer accesses is somewhat higher than for normal pixel accesses due to shorter
DRAM bursts. DataSheet4U.com
The half frame buffer has a timing characteristic for the panel that may be either a problem or an advantage,
depending on the application. The panel is refreshed at twice the pixel rate imposed on the display memory.
In simultaneous CRT and panel mode, this means that the pixel rate is dictated by the CRT requirements,
and the panel is refreshed at twice that rate. This may exceed panel timing limitations. However, in panel-
only mode, the pixel rate from display memory can be reduced to half of what a CRT would need, which
imposes half the burden on display memory bandwidth and allows more complex video modes to be
supported by the available display memory bandwidth.
The full frame buffer allows the panel refresh rate to be the same as the CRT in simultaneous display mode,
but requires the buffer size to be twice as large (full frame instead of half frame, though only 0.4 bytes per
pixel).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Similarly, vertical clocking is generally programmed in units of scan lines, numbered from 0 to m-1, where
“m” is the total number of scan lines per complete frame and “0” corresponds to the first scan line containing
addressable video information. Starting at scan line #0, the following vertical timing events occur:
To achieve interlacing, the sweep of odd-numbered lines is offset by half of a scan line relative to the sweep
of even-numbered lines. The vertical sync pulse for alternate frames occurs in the middle of a scan line
interval (during vertical blanking) instead of at the end. North American television standards sweep 262.5
scan lines on each vertical sweep (60Hz). Each scan line remains full length, but the vertical sync for alter-
nating frames occurs at the middle of the scan line. In the 69000, a CHIPS Super VGA extension register
allows the exact placement of the half-line vertical sync pulse to be programmable, for optimum centering
of odd scan lines between adjacent even scan lines.
Computer CRT displays generally need about 25% of the horizontal total for horizontal border and blanking
intervals, and at least 5% of the vertical total for vertical border and blanking. Flat panels typically can
operate with smaller margins for these “non-addressable” intervals.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Appendix C
Panel Power Sequencing
Flat panel displays are extremely sensitive to conditions where full biasing voltage VEE is applied to the
liquid crystal material without enabling the control and data signals to the panel. This results in severe
damage to the panel and may disable the panel permanently.
The graphics controller provides a simple method to provide or remove power to the flat panel display in a
sequence of stages when entering various modes of operation to conserve power and provide safe
operation to the flat panel.
Three pins called ENAVEE, ENAVDD and ENABKL are provided to regulate the LCD Bias Voltage (VEE),
the driver electronics logic voltage (VDD), and the backlight voltage (BKL) to provide intelligent power
sequencing to the panel. The delay between each stage in the sequence is programmable via the Panel
Power Sequencing Delay Register (FR04).
The graphics controller performs the ‘panel off’ sequence when the STNDBY# input becomes low, or if bit
3 of the Power Down Control 1 Register (FR05) is set to 1. Conversely, the graphics controller performs
the ‘panel on’ sequence when the STNDBY# input becomes high, or if bit 3 of the Power Down Control 1
Register (FR05) is set to 0.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Appendix D
Hardware Cursor and Pop Up Window
This graphics controller provides a pair of hardware-based cursors, called “cursor 1” and “cursor 2.” Cursor
1 is normally used to provide the arrow pointer in most GUI applications and operating systems. Cursor 2
has no pre-assigned purpose, however it is assumed that it will be usually used to provide some form of
pop-up window.
Off-screen memory in the frame buffer is used to provide the locations where the data for both cursor 1 and
cursor 2 are kept. This allows each cursor to be displayed and used without altering the main display image
stored in the frame buffer. Each cursor may have multiple patterns stored in these off-screen memory
locations, making it possible to change each cursor’s appearance simply by switching from one stored
image to another.
Two sets of eight registers (XRA0-XRA7 for cursor 1 and XRA8-XRAF for cursor 2) provide the means to
configure and position both cursors. In each set of eight registers, two are used to enable, disable, and
configure each cursor. Another pair of registers from each set specifies the base address within the frame
buffer memory where the cursor data is kept. These registers also provide a way to select one of up to
sixteen cursor patterns to be used. The remaining four registers of each set are used to provide the X and
Y coordinates to control the current location of each cursor relative to the upper left-hand corner of the
display.
Two sets of four alternate color data positions added to the RAMDAC provide places in which the colors for
each of the two cursors are specified (positions 0-3 for cursor 2 colors 0-3, and positions 4-7 for cursor 1
et4U.com colors 0-3). These alternate color data positions are accessed by the same sub-addressing scheme used
DataShee
to access the standard color data positions of the main RAMDAC palette, with the exception that a bit in
Pixel Pipeline Configuration Register 0 (XR80) must be set so that the alternate color data positions are
DataSheet4U.com
accessible in place of the standard color data positions.
Horizontal and/or vertical stretching are functions that may be independently enabled or disabled for each
cursor using these registers. Similar to the stretching functions used with the main display image, the
stretching functions for each of the cursors only apply to flat panel displays. When enabled, the horizontal
and vertical stretching functions for each cursor use the same stretching algorithms and parameter settings
selected in the registers used to control the horizontal and vertical stretching functions for the main display
image. The horizontal and vertical stretching functions for each cursor can be enabled or disabled entirely
independently of the horizontal and vertical stretching functions for the main display image.
These same two registers also provide the means to enable or disable blinking for each cursor, and to
choose between two possible locations on the screen for the origin of the coordinate system used to specify
the cursor location. A bit in each of these registers provides the ability to choose either the upper left-hand
corner of the active display area, or the outer-most upper left-hand corner of the display border surrounding
the active display area as the exact location of the origin for the coordinate system for each cursor.
Finally, each of these registers allows the vertical extension function to be enabled or disabled for each
cursor. The vertical extension function allows the height of the cursor to be specified independently from
its width, allowing cursors that are not square in shape to be created. This function is discussed in more
detail later in this section.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The amount of space allocated for cursor data for each cursor is 4KB. More than one cursor pattern may
be stored within this space, depending on the cursor size. While the bits in both the high and low base
address registers for each of the cursors are combined to provide the base addresses, the upper four bits
of each of the low base address registers (XRA2 for cursor 1 and XRAA for cursor 2) are used to select
which of the available patterns stored within each space is to be used for each of the cursors. In the
32x32x2bpp AND/XOR pixel plane mode, up to sixteen 256 byte patterns can be stored in the 4KB memory
space, and all four of the upper bits of the low base address registers are used to select one of these sixteen
possible patterns. In all three modes with a cursor resolution of 64x64 pixels, up to four patterns of 1KB in
size can be stored in the 4KB memory space, and the uppermost two of these four bits are used to select
one of these four possible patterns (the other two bits should be set to 0). In both modes with a cursor
resolution of 128x128 pixels, only up to two patterns of 2KB in size can be stored, and only the uppermost
bit of the four bits is used to select between them (the other three bits should be set to 0).
DataSheet4U.com
This feature is enabled via bit 3 of either the Cursor 1 Control Register (XRA0) for cursor 1 or the Cursor 2
Control Register (XRA8) for cursor 2. Once enabled, the height of the given cursor must be specified --
either in the Cursor 1 Vertical Extension Register (XRA1) for cursor 1 or in the Cursor 2 Vertical Extension
Register (XRA9) for cursor 2.
Total size of the cursor data for a given cursor can not exceed the 4KB allotted for the cursor data of each
cursor. This places a limit on the height of a cursor of given width and color depth. This also has
implications concerning how many patterns may be stored in this space for the given cursor, and the
mechanics of selecting which of those patterns is to be displayed using the upper four bits of the low base
address register for each cursor.
Cursor Colors
The colors for drawing each of the two cursors are specified in two sets of four alternate color data positions
added to the RAMDAC (positions 0-3 for cursor 2 colors 0-3, and positions 4-7 for cursor 1 colors 0-3).
These alternate color data positions are accessed using the same sub-addressing scheme used to access
the standard color data positions of the main RAMDAC palette, but with bit 0 in the Pixel Pipeline
Configuration Register 0 (XR80) set so that the alternate color data positions are made accessible in place
of the standard positions.
If the use of a border is enabled, color data positions 6 and 7, which provide colors 2 and 3 for cursor 1, will
be taken over to specify the border colors for the CRT and flat-panel. This will limit cursor 1 to only colors
0 and 1. This limit on cursor 1 will not impact either of the AND/XOR pixel plane modes, or either of the
cursor modes with a cursor resolution of 128x128 pixels because none of these four modes use cursor
colors 2 or 3.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Cursor Positioning
Registers XRA4-XRA7 and registers XRAC-XRAF are used to position cursor 1 and cursor 2, respectively,
on the display. Two registers from each group provide the high and low bytes for the value specifying the
horizontal position and the other two provide the high and low bytes for the value specifying the vertical
position.
A bit in one of the configuration registers (XRA0 for cursor 1 and XRA8 for cursor 2) selects whether the
values programmed into these registers are interpreted as being relative to the upper left-hand corner of the
active display area or to the outer-most upper left-hand corner of the border surrounding the active display
area.
The values provided to these registers are signed 12-bit integers. Since the origin of the coordinate system
is generally relative to the upper left corner of the display, a cursor appearing entirely within the active
display area will have a positive horizontal position value and a negative vertical position value.
These registers are double-buffered and synchronized to VSYNC to ensure that the cursor never appears
to come apart in multiple fragments as it is being moved across the screen. To change a cursor position,
all four of its position registers must be written, and they must be written in sequence (that is, in order from
XRA4 to XRA7 for cursor 1 and in order from XRAC to XRAF for cursor 2.) The hardware will only update
the position with the next VSYNC if the registers are written in sequence.
Cursor Modes
Each cursor can be independently disabled or set to one of six possible modes. This is done by using bits
2-0 in XRA0 for cursor 1 and in XRA8 for cursor 2. The main features which distinguish these modes from
et4U.com each other are the manner in which the cursor data is organized in memory and the meaning of the bits DataShee
corresponding to each pixel position. The six possible modes are:
DataSheet4U.com
32x32x2bpp AND/XOR pixel plane mode
64x64x2bpp AND/XOR pixel plane mode
64x64x2bpp 4-color mode
64x64x2bpp 3-color and transparency mode
128x128x1bpp 2-color mode
128x128x1bpp 1-color and transparency mode
The first two modes are designed to follow the Microsoft Windows 2-plane cursor data structure to ease
the work of programming the cursor(s) for that particular GUI environment. The other four modes are
intended to improve upon the first two modes by providing additional color options or a larger resolution.
The following pages discuss the various modes in greater detail.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In the 32x32x2bpp AND/XOR pixel plane mode, it is possible to have up to 16 different 256byte patterns
stored in a 4KB memory space starting at the base address specified in the low and high base address
registers for the given cursor. In 64x64x2bpp AND/XOR pixel plane mode, only up to 4 different 1KB
patterns may be stored.
The following tables show how the cursor data is organized in memory for each of these two modes:
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The meaning of the single bit in a given pixel position in the XOR plane changes depending on the bit in the
et4U.com corresponding position in the AND plane. If the value of the bit for a given pixel position in the AND plane DataShee
is 0, then part of the cursor will be displayed at that pixel position and the value of the corresponding bit in
DataSheet4U.com
the XOR plane selects one of the two available cursor colors to be displayed there. Otherwise if the value
of the bit in the AND plane is 1, then that pixel position of the cursor will become transparent, allowing a
pixel of the main display image behind the cursor to show through and the value of the corresponding bit in
the XOR plane chooses whether or not the color of the pixel of the main display image will be inverted.
Table D-3 summarizes this.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In this mode, it is possible to have up to 4 different 1KB patterns stored in a 4KB memory space starting at
the base address specified in the low and high base address registers for the given cursor.
The following tables show how the cursor data is organized in memory and the meaning of the two bits for
each pixel position.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In this mode, it is possible to have up to 4 1KB different patterns stored in a 4KB memory space starting at
the base address specified in the low and high base address registers for the given cursor.
The following tables show how the cursor data is organized in memory and the meaning of the two bits for
each pixel position.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In this mode, it is possible to have only up to 2 different 2KB patterns stored in a 4KB memory space starting
at the base address specified in the low and high base address registers for the given cursor.
The following tables show how the cursor data is organized in memory and the meaning of the bit for each
position.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
In this mode, it is possible to have only up to 2 different 2KB patterns stored in a 4KB memory space starting
at the base address specified in the low and high base address registers for the given cursor.
The following tables show how the cursor data is organized in memory and the meaning of the bit for each
position.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Appendix E
BitBLT Operation
Introduction
The graphics controller provides a hardware-based BitBLT engine to offload the work of moving blocks of
graphics data from the host CPU. Although the BitBLT engine is often used simply to copy a block of
graphics data from the source to the destination, it also has the ability to perform more complex functions.
The BitBLT engine is capable of receiving three different blocks of graphics data as input as shown in Figure
E-1. The source data may exist either in the frame buffer or it may be provided by the host CPU from some
other source such as system memory. The pattern data always represents an 8x8 block of pixels that must
be located in the frame buffer, usually within the off-screen portion. The input destination data is the data
already residing at the destination in the frame buffer prior to a BitBLT operation being performed. The
output destination data is the data written to the destination as a result of a BitBLT operation.
The BitBLT engine may be configured to use various combinations of the source, pattern, and input
destination data as operands, in both bit-wise logical operations to generate the output destination data. It
is intended that the BitBLT engine will perform these bit-wise and per-pixel operations on color graphics data
that is at a color depth that matches the rest of the graphics system. However, if either the source or pattern
data is monochrome, the BitBLT engine has the ability to put either block of graphics data through a process
called “color expansion” which converts the monochrome graphics data to color. Since the destination is
often a location in the on-screen portion of the frame buffer, it is assumed that any data already residing at
the destination will be of the appropriate color depth.
et4U.com DataShee
DataSheet4U.com
Figure E-1: Block Diagram and Data Paths of the BitBLT Engine
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The configuration of the BitBLT engine for a given color depth dictates the number of bytes of graphics data
that the BitBLT engine will read and write for each pixel while performing a BitBLT operation. It is assumed
that any input destination data from the frame buffer will already be at the color depth to which the BitBLT
engine is configured. Similarly, it is assumed that any source or pattern data used as an input will have this
same color depth, unless one or both is monochrome. If either the source or pattern data is monochrome,
the BitBLT engine will perform a process called “color expansion” to convert such monochrome data to color
at the color depth to which the BitBLT engine has been set.
During “color expansion” the individual bits of monochrome source or pattern data that correspond to
individual pixels are converted to 8, 16, or 24 bits per pixel (i.e., 1, 2, or 3 bytes per pixel -- whichever is
appropriate for the color depth to which the BitBLT engine has been set). If a given bit of monochrome
source or pattern data carries a value of 1, then the byte(s) of color data resulting from the conversion
process will be set to the value of a specified foreground color. If a given bit of monochrome source or
pattern data carries a value of 0, the resulting byte(s) will be set to the value of a specified background color.
The BitBLT engine is configured for a color depth of 8, 16, or 24 bits per pixel through either bits 5 and 4 of
XR20, or bits 25 and 24 of BR04, depending upon the setting of bit 23 of BR04. Whether the source and
pattern data are color or monochrome must be specified using bits 12 and 18, respectively, of BR04. The
foreground and background colors for the color expansion of both monochrome source and pattern data
et4U.com may be specified using BR02 and BR01, respectively. Alternatively, if bit 27 of BR03 is set to 1, the DataShee
foreground and background colors used in the color expansion of monochrome source data may be
independently specified using BR0A and BR09, DataSheet4U.com
respectively.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Any source data must represent both the same number of pixels per scanline and the same number of
scanlines as both the input and output destination data. Despite these constraints, if the source data is
received from the host CPU via the BitBLT dataport, that source data may be received as part of a much
larger block of data sent by the host CPU. The BitBLT engine may be programmed to skip over various
quantities of bytes within such a block in order to reach the bytes containing valid source data.
The actual number of scanlines and bytes per scan line required to accommodate both input and output
destination data are set in BR08. These two values are essential in the programming of the BitBLT engine,
because these values are used by the BitBLT engine to determine when a given BitBLT operation has been
completed. It is important to note that writing a non-zero value to BR08 is the trigger that causes the BitBLT
engine to begin a BitBLT operation. Therefore, all other registers must be set as desired for a given BitBLT
operation before BR08.
Bit-Wise Operations
The BitBLT engine can perform any one of 256 possible bit-wise operations using various combinations of
the source, pattern, and input destination data as inputs. These 256 possible bit-wise operations are
designed to be compatible with the manner in which raster operations are specified in the BitBLT parameter
block used in the Microsoft® Windows environment, without translation.
et4U.com DataShee
The choice of bit-wise operation selects which of the three inputs will be used, as well as the particular
DataSheet4U.com
logical operation to be performed on corresponding bits from each of the selected inputs. The BitBLT
engine will automatically forego reading any form of graphics data that has not been specified as an input
by the choice of bit-wise operation. An 8-bit code written to BR04 chooses the bit-wise operation. The
tables on the following pages list the available bit-wise operations and their corresponding 8-bit codes.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
Figure E-2: Block Diagram and Data Paths of the BitBLT Engine
Bits 13 and 17 of BR04 are used to select either the monochrome source or the monochrome pattern data
as a pixel mask. When this feature is used, the bits in either the monochrome source or the monochrome
pattern data that carry a value of 0 cause the bytes of the corresponding pixel at the destination to not be
written to by the BitBLT engine, thereby preserving whatever data already residing within those bytes. This
feature can be used in writing characters to the display in a way that preserves the pre-existing backgrounds
behind those characters.
Bits 14 through 16 of BR04 are used to select and enable 1 of 4 forms of per-pixel write-masking, each using
a different color comparison as a mask. Bit 14 is used to enable this function. Bit 15 chooses between two
different comparisons of color values. Depending on the setting of bit 15, a comparison is made between
a key color (carried by either BR01 or BR09) and either the color already specified in the bytes for each of
the pixels at the destination or the color resulting from the bit-wise operation being performed for each pixel.
Bit 16 chooses whether the overwriting of the bytes at the destination will occur when the two compared
values are found to be equal or when they are found not to be equal.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The BitBLT engine reads from the source and writes to the destination starting with the left-most pixel in the
top-most line of both, as shown in step (a). As shown in step (b), corruption of the source data has already
started with the copying of the top-most line in step (a) — part of the source that originally contained lighter-
colored pixels has now been overwritten with darker-colored pixels. More source data corruption occurs as
steps (b) through (d) are performed. At step (e), another line of the source data is read, but the two right-
most pixels of this line are in the region where the source and destination locations overlap, and where the
source has already been overwritten as a result of the copying of the top-most line in step (a). Starting in
step (f), darker-colored pixels can be seen in the destination where lighter-colored pixels should be. This
errant effect occurs repeatedly throughout the remaining steps in this BitBLT operation. As more lines are
copied from the source to the destination, it becomes clear that the end result is not as originally intended.
The BitBLT engine can be programmed to alter the order in which source data is read and destination data
is written when necessary to avoid the kind of source data corruption problem illustrated earlier. Bits 8 and
9 of BR04 provide the ability to change the point at which the BitBLT engine begins reading and writing data
from the upper left-hand corner (the usual starting point) to one of the other three corners. In other words,
through the use of these two bits, the BitBLT engine may be set to read data from the source and write it to
the destination starting at any of the four corners of the panel. The following figure shows how this feature
can be used to perform the same BitBLT operation illustrated earlier, but without corrupting the source data.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
The BitBLT engine reads the source data and writes the destination data starting with the right-most pixel
of the bottom-most line. By doing this, no pixel existing where the source and destination locations overlap
will ever be written to before it is read from by the BitBLT engine. By the time the BitBLT operation has
reached step (e) where two pixels existing where the source and destination locations overlap are about to
be overwritten, the source data for those two pixels has already been read.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The figure below shows the recommended starting points to be used in each of the 8 possible ways in which
the source and destination could overlap. In general, the starting point should be within the area in which
the overlap occurs.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Figure E-6 shows an example of contiguous graphics data — a horizontal line made up of six adjacent pixels
within a single scanline on a display with a resolution of 640x480. If it is presumed that the graphics system
has been set to 8 bits per pixel, and that the first byte of frame buffer memory at offset 0h corresponds to
the upper left-most pixel of this display, then the six pixels that make this horizontal line starting at
coordinates (256, 256) would occupy six bytes starting at frame buffer offset 28100h, and ending at offset
28105h.
In this case, this horizontal line exists entirely within one scanline on the display, and so the graphics data
for all six of these pixels exists within a single contiguous block comprised of these six bytes. In this simple
case, the starting offset and the number of bytes are the only pieces of information that a BitBLT engine
would require to read this block of data.
et4U.com DataShee
DataSheet4U.com
The simplicity of the preceding example of a single horizontal line contrasts sharply to the example of
discontiguous graphics data depicted in Figure E-7. The simple six-pixel line of Figure E-6 is now
accompanied by three more six-pixel lines placed on subsequent scan lines, resulting in the 6x4 block of
pixels shown.
Since there are other pixels on each of the scan lines on which this 6x4 block exists that are not part of this
6x4 block, what appears to be a single 6x4 block of pixels on the display must be represented by a
discontiguous block of graphics data made up of 4 separate sub-blocks of six bytes apiece in the frame
buffer at addresses 28100h, 28380h, 28600h, and 28880h. This situation makes the task of reading what
appears to be a simple 6x4 block of pixels more complex.
Two characteristics of this 6x4 block of pixels help simplify the task of specifying the locations of all 24 bytes
of this discontiguous block of graphics data. First, all four of the sub-blocks are of the same length. Second,
the four sub-blocks are separated from each other at equal intervals.
The BitBLT engine was designed to make use of these characteristics of graphics data to simplify the
programming required to handle discontiguous blocks of graphics data. For such a situation, the BitBLT
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
engine requires only four pieces of information: the starting address of the first sub-block, the length of a
sub-block, the offset (in bytes) of the starting address of each subsequent sub-block, and the quantity of
sub-blocks.
Bit 10 of the BitBLT Control Register (BR04) specifies whether the source data exists in the frame buffer or
is provided by the CPU. Having the source data in the frame buffer will result in increased performance
since the BitBLT engine will be able to access it directly without involving the host CPU.
If the source data resides within the frame buffer, then the Source Address Register (BR06) is used to
specify the address of the source data as an offset from the beginning of the frame buffer at which the block
of source data begins. However, if the host CPU provides the source data, then this register takes on a
different function and the three least-significant bits of the Source Address Register (BR06) can be used to
specify a number of bytes that must be skipped in the first quadword received from the host CPU to reach
the first byte of valid source data.
In cases where the host CPU provides the source data, it does so by writing the source data to the BitBLT
data port, a 64KB memory space on the host bus. There is no actual memory allocated to this memory
space, so any data that is written to this location cannot be read back. This memory space is simply a range
of memory addresses that the BitBLT engine’s address decoder watches for the occurrence of any memory
writes. The BitBLT engine loads all data written to any memory address within this memory space in the
order in which it is written, regardless of the specific memory address to which it is written and uses that
data as the source data in the current BitBLT operation. The block of bytes sent by the host CPU to this
data port must be quadword-aligned, although the source data contained within the block of bytes does not
need to be aligned. As mentioned earlier, the least significant three bits of the Source Address Register
(BR06) are used to specify the number of bytes that must be skipped in the first quadword to reach the first
byte of valid source data.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
To accommodate discontiguous source data, the Source and Destination Offset Register (BR00) can be
used to specify the offset in bytes from the beginning of one scan line’s worth source data to the next.
Otherwise, if the source data is contiguous, then an offset equal to the length of a scan line’s worth of source
data should be specified.
The various bit-wise logical operations and per-pixel write-masking operations were designed to work with
color data. In order to use monochrome data, the BitBLT engine converts it into color through a process
called color expansion, which takes place as a BitBLT operation is performed. In color expansion, the single
bits of monochrome source data are converted into one, two, or three bytes (depending on the color depth
to which the BitBLT engine has been set) of color data that are set to carry value corresponding to either
the foreground or background color that have been specified for use in this conversion process. If a given
bit of monochrome source data carries a value of 1, then the byte(s) of color data resulting from the
conversion process will be set to carry the value of the foreground color. If a given bit of monochrome
source data carries a value of 0, then the resulting byte(s) will be set to the value of the background color.
The foreground and background colors used in the color expansion of monochrome source data can be set
in the Pattern/Source Expansion Foreground Color Register (BR02) and the Pattern/Source Expansion
et4U.com Background Color Register (BR01), in which case these colors will be the same colors as those used in the DataShee
color expansion of monochrome pattern data. However, it is also possible to set the colors for the color
DataSheet4U.com
expansion of monochrome source data independently of those set for the color expansion of monochrome
pattern data by using the Source Expansion Foreground Color Register (BR0A) and the Source Expansion
Background Color Register (BR09). Bit 27 in the BitBLT Monochrome Source Control Register (BR03) is
used to select between one or the other of these two sets of registers.
The BitBLT engine requires that the alignment of each scan line’s worth of monochrome source data be
specified. In other words, whether each scan line’s worth of monochrome source data can be assumed to
start on quadword, doubleword, word, or byte boundaries, or that it cannot be assumed to start on any such
boundary must be specified using bits 26-24 of the Monochrome Source Control Register (BR03).
The BitBLT engine also provides various clipping options for use with monochrome source data. Bits 21-16
of the Monochrome Source Control Register (BR03) allow the BitBLT engine to be programmed to skip up
to 63 of the 64 bits in the first quadword of a block of monochrome source data to reach the first bit of valid
source data. Depending on the width of the block of pixels represented by the monochrome source data,
this option can also be used to implement a way of clipping the monochrome source data from the top. Bits
5-0 of this register allow up to 63 of the 64 bits in the first quadword in each scan line’s worth of monochrome
source data to be skipped to reach the first bit of valid source data in each scan line’s worth. This option
can be used to implement the clipping of each scan line’s worth of monochrome source data from the left.
Bits 13-8 of this register provides similar functionality for clipping monochrome source data from the right.
Pattern Data
The pattern data must exist within the frame buffer where the BitBLT engine may read it directly. The host
CPU cannot provide the pattern data to the BitBLT engine. As shown in Figure E-8, the block of pattern
graphics data always represents a block of 8x8 pixels. The bits or bytes of a block of pattern data may be
organized in the frame buffer memory in only one of four ways, depending upon its color depth which may
be 8, 16, or 24 bits per pixel (whichever matches the color depth to which the BitBLT engine has been set),
DataSheet4U.com
or monochrome.
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
The Pattern Address Register (BR05) is used to specify the address of the pattern data as an offset from
the beginning of the frame buffer at which the block of pattern data begins. The three least significant bits
of the address written to this register are ignored, because the address must be in terms of quadwords. This
is because the pattern must always be located on an address boundary equal to its size. Monochrome
patterns take up 8 bytes, or a single quadword of space, and therefore, must be located on a quadword
boundary. Similarly, color patterns with color depths of 8 and 16 bits per pixel must start on 64-byte and
128-byte boundaries, respectively. Color patterns with color depths of 24 bits per pixel must start on 256-
byte boundaries, despite the fact that the actual color data fills only 3 bytes per pixel.
Figures E-9, E-10, E.3-11, and E-12 show how monochrome, 8bpp, 16bpp, and 24bpp pattern data is
organized in memory.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Figure E-11: 16bpp Pattern Data -- Occupies 128 Bytes (16 Quadwords)
et4U.com DataShee
DataSheet4U.com
Figure E-12: 24bpp Pattern Data -- Occupies 256 Bytes (32 Quadwords)
As is shown in Figure E-12, there are four bytes allocated for each pixel on each scan line’s worth of pattern
data, which allows each scan line’s worth of 24bpp pattern data to begin on a 32-byte boundary. The extra
(“fourth”) unused bytes of each pixel on a scan line’s worth of pattern data are collected together in the last
8 bytes (the last quadword) of each scan line’s worth of pattern data.
Bit 18 of the BitBLT Control Register (BR04) specifies whether the pattern data is color or monochrome.
The various bit-wise logical operations and per-pixel write-masking operations were designed to work with
color data. In order to use monochrome pattern data, the BitBLT engine is designed to convert it into color
through a process called “color expansion” which takes place as a BitBLT operation is performed. In color
expansion, the single bits of monochrome pattern data are converted into one, two, or three bytes
(depending on the color depth to which the BitBLT engine has been set) of color data that are set to carry
values corresponding to either the foreground or background color that have been specified for use in this
process. The foreground color is used for pixels corresponding to a bit of monochrome pattern data that
carry the value of 1, while the background color is used where the corresponding bit of monochrome pattern
data carries the value of 0. The foreground and background colors used in the color expansion of
DataSheet4U.com
monochrome pattern data can be set in the Pattern/Source Expansion Foreground Color Register (BR02)
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
and Pattern/Source Expansion Background Color Register (BR01). Depending upon the setting of bit 27 in
the Monochrome Source Control Register (BR03), these same two registers may also specify the
foreground and background colors to be used in the color expansion of the source data.
Destination Data
If the destination is within the frame buffer, then there are actually two different types of “destination data”:
the graphics data already residing at the location that is designated as the destination, and the data that is
to be written into that very same location as a result of a BitBLT operation. If, however, the destination is
selected so that the BitBLT engine is to provide its output to the host CPU, then the destination data
provided to the host CPU is the only kind there is.
Blocks of destination data to be read from and written to the destination may be either contiguous or
discontiguous. All data written to the destination will have the color depth to which the BitBLT engine has
been set. It is presumed that any data already existing at the destination which will be read by the BitBLT
engine will also be of this same color depth — the BitBLT engine neither reads nor writes monochrome
destination data.
Bit 11 of the BitBLT Control Register (BR04) is used to specify whether the destination data is to be written
to a location within the frame buffer, or is to be provided to the host CPU. If the destination is within the
frame buffer, the Destination Address Register (BR07) is used to specify the address of the destination as
an offset from the beginning of the frame buffer at which the destination location begins. Otherwise, only
bits 2-0 of the Destination Address Register (BR07) are used, and there purpose is to specify which byte in
the first quadword of destination data provided to the host CPU is the first byte of actual destination data.
To accommodate discontiguous destination data, the Source and Destination Offset Register (BR00) can
be used to specify the offset in bytes from the beginning of one scan line’s worth of destination data to the
next. Otherwise, if the destination data is contiguous, then an offset equal to the length of a scan line’s worth
et4U.com of destination data should be specified. DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
As shown in Figure E-13, the rectangular area to be filled has its upper left-hand corner at coordinates (128,
128) and its lower right-hand corner at coordinates (191, 191). These coordinates define a rectangle
covering 64 scan lines, each scan line’s worth of which is 64 pixels in length — in other words, an array of
64x64 pixels. Presuming that the pixel at coordinates (0, 0) corresponds to the byte at address 00h in the
frame buffer memory, the pixel at (128, 128) corresponds to the byte at address 20080h.
et4U.com DataShee
DataSheet4U.com
As shown in Figure E-14, the pattern data occupies 64 bytes starting at address 100000h. As always, the
pattern data represents an 8x8 array of pixels.
Before programming the BitBLT engine in any way, bit 0 of the BitBLT Configuration Register (XR20) or bit
31 of the BitBLT Control Register (BR04) should be checked to see if the BitBLT engine is currently busy.
The BitBLT engine should not be programmed in any way until all BitBLT operations are complete and the
BitBLT engine is idle. Once the BitBLT engine is idle, programming the BitBLT engine for the operation in
this example should begin by making sure that the BitBLT Configuration Register (XR20) is set to 00h, in
order to specify a color depth of 8 bits per pixel and enable normal operation. Alternatively, if bit 23 of the
BitBLT Control Register (BR04) is set to 1, then the color depth of the BitBLT engine may be set to 8 bits
per pixel by setting bits 25 and 24 of the same register to 0, although it is still necessary to ensure that at
least bit 1 of the BitBLT Configuration Register is set to 0 to enable normal operation.
The BitBLT Control Register (BR04) is used to select the features to be used in this BitBLT operation, and
must be programmed carefully. Bits 22-20 should be set to 0 to select the top-most horizontal row of the
pattern as the starting row used in drawing the pattern starting with the top-most scan line covered by the
destination. Since actual pattern data will be used, bit 19 should be set to 0. The pattern data is in color
with a color depth of 8 bits per pixel, so bits 18 and 17 should also be set to 0. Since this BitBLT operation
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
does not use per-pixel write-masking, bits 16-13 should be set to 0. Bit 12 should be set to 0 to ensure that
the settings in the Monochrome Source Control Register (BR03) will have no effect on this BitBLT operation.
Bit 11 should be set to 0 to configure the BitBLT engine for a destination within the frame buffer. The setting
of bits 10-8 do not affect this BitBLT operation, since source data is not used. Therefore, these bits might
as well be set to zero as a default. Finally, bits 7-0 should be programmed with the 8-bit value of F0h to
select the bit-wise logical operation in which a simple copy of the pattern data to the destination takes place.
Selecting this bit-wise operation in which no source data is used as an input causes the BitBLT engine to
automatically forego either reading source data from the frame buffer or waiting for the host CPU to provide
it.
Bits 28-16 of the Source and Destination Offset Register (BR00) must be programmed with number of bytes
in the interval from the start of one scan line’s worth of destination data to the next. Since the color depth
is 8 bits per pixel and the horizontal resolution of the display is 1024, the value to be programmed into these
bits is 400h, which is equal to the decimal value of 1024. Since this BitBLT operation does not use source
data, the BitBLT engine ignores bits 12-0.
Bits 22-3 of the Pattern Address Register (BR05) must be programmed with the address of the pattern data.
This address is specified as an offset from the beginning of the frame buffer where the pattern data begins.
In this case, the address is 100000h.
Similarly, bits 22-0 of the Destination Address Register (BR07) must be programmed with the address of
the destination, i.e., the offset from the beginning of the frame buffer of the byte at the destination that will
be written to first. In this case, the address is 20080h, which corresponds to the byte representing the pixel
at coordinates (128, 128).
et4U.com DataShee
DataSheet4U.com
This BitBLT operation does not use the values in the Pattern/Source Expansion Background Color Register
(BR01), the Pattern/Source Expansion Foreground Color Register (BR02), the Monochrome Source Control
Register (BR03), the Source Address Register (BR06), the Source Expansion Background Color Register
(BR09), or the Source Expansion Foreground Color Register (BR0A).
The Destination Width and Height Register (BR08) must be programmed with values that describe to the
BitBLT engine the 64x64 pixel size of the destination location. Bits 28-16 should be set to carry the value
of 40h, indicating that the destination location covers 64 scan lines. Bits 12-0 should be set to carry the
value of 40h, indicating that each scan line’s worth of destination data occupies 64 bytes. The act of writing
a non-zero value for the height to the Destination Width and Height Register (BR08) is what signals the
BitBLT engine to begin performing this BitBLT operation. Therefore, it is important that all other
programming of the BitBLT registers be completed before this is done.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Figure E-15 shows the end result of performing this BitBLT operation. The 8x8 pattern has been repeatedly
copied (“tiled”) into the entire 64x64 area at the destination.
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
Figure E-17 shows both the 8x8 pattern making up the letter “f” and how it is represented somewhere in the
host’s system memory — the actual address in system memory is not important. The letter “f” is represented
in system memory by a block of monochrome graphics data that occupies 8 bytes. Each byte carries the 8
bits needed to represent the 8 pixels in each scan line’s worth of this graphics data. This type of pattern is
often used to store character fonts in system memory.
et4U.com DataShee
DataSheet4U.com
Figure E- 17: Source Data in System Memory for Example Character Drawing BitBLT
During this BitBLT operation, the host CPU will read this representation of the letter “f” from system memory,
and write it to the BitBLT engine by performing memory writes to the BitBLT data port. The BitBLT engine
will receive this data from the host CPU and use it as the source data for this BitBLT operation. The BitBLT
engine will be set to the same color depth as the graphics system ( 8 bits per pixel, in this case. Since the
source data in this BitBLT operation is monochrome, color expansion must be used to convert it to an 8 bpp
color depth. To ensure that the gray background behind this letter “f” is preserved, per-pixel write masking
will be performed, using the monochrome source data as the pixel mask.
As in the example of the pattern fill BitBLT operation, the first step before programming the BitBLT engine
in any way is to check either bit 0 of the BitBLT Configuration Register (XR20) or bit 31 of the BitBLT Control
Register (BR04) to see if the BitBLT engine is currently busy. After waiting until the BitBLT engine is idle,
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
programming the BitBLT engine should begin by making sure that the BitBLT Configuration Register (XR20)
is set to 00h, to specify a color depth of 8 bits per pixel and to enable normal operation. Alternatively, if bit
23 of the BitBLT Control Register (BR04) is set to 1, then the color depth of the BitBLT engine may be set
to 8 bits per pixel by setting bits 25 and 24 of the same register to 0, although it is still necessary to ensure
that at least bit 1 of the BitBLT Configuration Register is set to 0 to enable normal operation.
The BitBLT Control Register (BR04) is used to select the features to be used in this BitBLT operation. Since
pattern data is not required for this operation, the BitBLT engine will ignore bits 22-17, however as a default,
these bits can be set to 0. Since monochrome source data will be used as the pixel mask for the per-pixel
write-masking operation used in this BitBLT operation, bits 16-14 must be set to 0, while bit 13 should be
set to 1. Bit 12 should be set to 1, to specify that the data source is monochrome. Bit 11 should be set to
0 to configure the BitBLT engine for a destination within the frame buffer. Bit 10 should be set to 1, to
indicate that the source data will be provided by the host CPU. Presuming that the host CPU will provide
the source data starting with the byte that carries the left-most pixel on the top-most scan line’s worth of the
source data, bits 9 and 8 should both be set to 0. Finally, bits 7-0 should be programmed with the 8-bit value
CCh to select the bit-wise logical operation that simply copies the source data to the destination. Selecting
this bit-wise operation in which no pattern data is used as an input, causes the BitBLT engine to
automatically forego reading pattern data from the frame buffer.
Unlike the earlier example of a pattern fill BitBLT operation where the Monochrome Source Control Register
(BR03) was entirely ignored, several features of this register will be used in this BitBLT operation. Bit 27 of
this register will be set to 0, thereby selecting the Pattern/Source Expansion Foreground Color Register
(BR02) to specify the color with which the letter “f” will be drawn. This example assumes that the source
data will be sent in one quadword that will be quadword-aligned. Therefore, bits 26, 25, and 24, which
specify alignment should be set to 1, 0, and 1, respectively. Since clipping will not be performed in this
BitBLT operation, bits 21-16, 13-8, and 5-0 should all be set to 0.
et4U.com DataShee
Bits 28-16 of the Source and Destination Offset Register (BR00) must be programmed with a value equal
to number of bytes in the interval between the first bytes of each adjacent scan line’s worth of destination
DataSheet4U.com
data. Since the color depth is 8 bits per pixel and the horizontal resolution of the display is 1024 pixels, the
value to be programmed into these bits is 400h, which is equal to the decimal value of 1024. Since the
source data used in this BitBLT operation is monochrome, the BitBLT engine will not use a byte-oriented
offset value for the source data. Therefore, bits 12-0 will be ignored.
Since the source data is monochrome, color expansion is required to convert it to color with a color depth
of 8 bits per pixel. Since the Pattern/Source Expansion Foreground Color Register (BR02) was selected to
specify the foreground color of black to be used in drawing the letter “f”, this register must be programmed
with the value for that color. With the graphics system set for a color depth of 8 bits per pixel, the actual
colors are specified in the RAMDAC palette, and the 8 bits stored in the frame buffer for each pixel actually
specify the index used to select a color from that palette. This example assumes that the color specified at
index 00h in the palette is black, and therefore bits 7-0 of this register should be set to 00h to select black
as the foreground color. The BitBLT engine ignores bits 23-8 of this register because the selected color
depth is 8 bits per pixel. Even though the color expansion being performed on the source data normally
requires that both the foreground and background colors be specified, the value used to specify the
background color is not important in this example. Per-pixel write-masking is being performed with the
monochrome source data as the pixel mask, which means that none of the pixels in the source data that will
be converted to the background color will ever be written to the destination. Since these pixels will never
be seen, the value programmed into the Pattern/Source Expansion Background Color Register (BR01) to
specify a background color is not important.
Since the CPU is providing the source data, and this source data is monochrome, the BitBLT engine ignores
all of bits 22-0 of the Source Address Register (BR06).
Bits 22-0 of the Destination Address Register (BR07) must be programmed with the address of the
destination data. This address is specified as an offset from the start of the frame buffer of the pixel at the
destination that will be written to first. In this case, the address is 20080h, which corresponds to the byte
representing the pixel at coordinates (128, 128).
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
This BitBLT operation does not use the values in the Pattern Address Register (BR05), the Source
Expansion Background Color Register (BR09), or the Source Expansion Foreground Color Register
(BR0A).
The Destination Width and Height Register (BR08) must be programmed with values that describe to the
BitBLT engine the 8x8 pixel size of the destination location. Bits 28-16 should be set to carry the value of
8h, indicating that the destination location covers 8 scan lines. Bits 12-0 should be set to carry the value of
8h, indicating that each scan line’s worth of destination data occupies 8 bytes. As mentioned in the previous
example, the act of writing a non-zero value for the height to the Destination Width and Height Register
(BR08) provides the BitBLT engine with the signal to begin performing this BitBLT operation. Therefore, it
is important that all other programming of the BitBLT engine registers be completed before this is done.
Figure E-18 shows the end result of performing this BitBLT operation. Only the pixels that form part of the
actual letter “f” have been drawn into the 8x8 destination location on the display, leaving the other pixels
within the destination with their original gray color.
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com DataShee
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Revision 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com
www.DataSheet4U.com
et4U.com
DataSheet4U.com
DataSheet4U.com
&+,36 69000 Databook Subject to Change Without Notice Preliminary Rev. 1.3 8/31/98
DataSheet4U.com
DataSheet 4 U .com