crt controller

Upload: logarasu-rangasamy

Post on 07-Apr-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/4/2019 Crt Controller

    1/42

    1

    PC PeripheralsforTechnicians

    Chapter 3.1 - VideoSubsystem Overview

    Systems Manufacturing Trainingand Employee Development

    Copyright 1998 Intel Corp.

  • 8/4/2019 Crt Controller

    2/42

    2

    Video Section Overview: Ch 3.1 - 3.3 3.1 - Overview of displaying images in a Graphics System

    3.1 - Block diagram of Video Subsystem & port connector 3.2 - Video Display Modes in a Graphics System

    3.2 - Text Mode Video Buffer data format & character fonts.

    3.2 - The attribute byte & the palette registers

    3.2 - Color generation using the Video DAC

    3.3 - The Graphics Mode Video Buffer data format.

    3.3 - Characteristics of VGA Mode 12 hex & Mode 13 hex

    3.3 - Graphics Modes Color generation & Character fonts

    3.3 - SVGA, VESA & extended video modes.

    3.3 - Video Subsystem initialization & troubleshooting.

  • 8/4/2019 Crt Controller

    3/42

    3

    Video Subsystem

    OverviewOBJECTIVES: At the end of this section, the

    student will be able to do the following:

    Discuss the interactions in a Graphics System

    Name the functional elements of a Video Adapter

    Explain how images are displayed on a CRT

    Discuss a block diagram of the Video Subsystem Describe Video Subsystem port connectors

  • 8/4/2019 Crt Controller

    4/42

    4

    Video SubsystemsThis section focuses on the VGA standard which was

    introduced by IBM in 1987 and is commonly used today.

    This information is generic in nature and may not apply insome video modes or adapter configurations.

    > Register functions used primarily by programmers and color/mono differences are beyond the scope of this course.

    There are several standard Graphics Adapters.

    MDA (Monochrome Display Adapter)

    CGA (Color Graphics Adapter)

    EGA (Enhanced Graphics Adapter)

    VGA (Video Graphics Array) - Focus of this course

    SVGA (Super Video Graphics Array)

    Limited backward compatibility exists--implies that softwarefor simpler adapters works on the more complex adapters.

  • 8/4/2019 Crt Controller

    5/42

    5

    Video Subsystems

    The PC Video Graphics Controller is responsible for

    producing the image that is displayed on the screen.This hardware can be located on the System Board or on

    an add in card called a Graphics Adapter or DisplayAdapter that plugs into an expansion slot (PCI, ISA, etc).

    The PC Video Subsystem contains a block of dedicatedmemory called the Video Buffer, Video Memory, DisplayMemory or Video RAM.

    This Display Memory holds the text or graphics information

    to be displayed on the screen.> Stores a mirror of the screen picture (digital data).

    A primary function of the VGA Controller is to serialize thedata in its display memory and to mix this stream of data

    with synchronizing signals that control the video display.

  • 8/4/2019 Crt Controller

    6/42

    6

    Interactions in a Graphics System

    SOFTWARE Operating System Applications

    BIOS / Graphics Drivers

    HARDWARE

    Microprocessor

    PC RAM / ROM

    Video Controller

    VideoMemory

    GraphicsSubsystem

    DAC

    DISPLAY

    An O/S (DOS, Windows, etc.) and/or Application program (wordprocessor, game, etc.) updates information on the screen using

    the Video BIOS or a Video Device Driver.

    An installable Device Driver is a program that works with the O/S totranslate commands that control a piece of hardware, typically forextended functions not supported by standard hardware.

    SoftwareInterrupt 10h isused for Video

    BIOS routines

  • 8/4/2019 Crt Controller

    7/42

    7

    Interactions in a Graphics System

    A special section of display memory called the Video

    Buffer (separate from main system memory) stores datathat will appear on the screen.

    This memory is accessed via the Video Subsystem by theCPU as well as the Video Controller, permitting a programto change the display screen by updating the contents of

    the display memory.

    The video is commonly displayed on a Monitor whichconverts the synchronizing and video signals from thegraphics sub-system into the proper form for display use.

    Digital signals are used internally by the Controller, andVGA and later uses analog signals to drive the Display.

    The Digital to Analog Converter (DAC) converts the colorinformation supplied by the VGA chip to analog voltages for

    the red, green, and blue gun outputs to the monitor.

  • 8/4/2019 Crt Controller

    8/42

    8

    Display Adapter Functional Elements: Text Mode

    NOTE: The Video Signal Gen & Alphanumeric Char. Gen functions areperformed by more than one of the programmable components in theVGA block diagram discussed later in this chapter.

    Dot Stream

    To Monitor

    A

    41 07

    Video RAM

    ASCII

    Char

    Code

    41h 07h

    ATTR

    Info

    (colors)

    Video Controller

    Video

    Signal

    Generator

    CRT

    Controller

    Alphanumeric

    Character

    Generator

    AttributeDecoder

    Color &Intensity

    Dot Pattern

    Horiz & Vert

    Timing

    BUS

    Interface

    Microprocessor

  • 8/4/2019 Crt Controller

    9/42

    9

    Display Adapter Functional Elements: Text Mode

    The System or Bus Interface :

    Decodes memory addresses to Video Memory or I/Oaddresses to the VGA registers.

    The Cathode Ray Tube Controller (CRTC):

    Generates the horizontal and vertical timing signals that

    control the path and duration of the electron beam sweepingthe inner surface of the CRT.

    Display memory

    The Video Buffer contains the information to be displayed

    on the screen & is effectively a large shift register sending aserial data stream to the monitor.

    Alphanumeric Character Generation circuitry:

    Translates the ASCII value of a character stored in the

    video buffer into a matrix of dots to display on the screen.

  • 8/4/2019 Crt Controller

    10/42

    10

    Display Adapter Functional Elements: Text Mode

    The Attribute Decoder:

    Controls the color and brightness of the signals sent to themonitor.

    Video Signal Generator:

    Outputs the signals that control what appears on the

    screen.> Horiz sync (to 90 KHz)

    > Vert sync (50 - 120Hz)

    > Three possible kinds of video signals are:

    Digital (CGA, EGA) - Digital RGB monitors accept TTL level

    signals for red, green, or blue on separate lines.

    Analog (VGA) - Analog RGB monitors accept 0-0.7V analog

    signals for red, green and blue on separate lines.

    Composite (also used for TV) - The red, green, and blue are

    combined by the video subsystem and separated by the monitor.

  • 8/4/2019 Crt Controller

    11/42

    11

    Heatingfilament

    Horizontaldeflection

    coils/plates

    Electron beam

    PhosphorCoating

    Interior metallic coating at

    high positive voltage

    Vertical deflectioncoils/platesFocusing

    system

    Control

    grid(Intensity)

    Cathode

    Displaying Images: The CRT

    Cathode Ray Tube (CRT)

  • 8/4/2019 Crt Controller

    12/42

    12

    Displaying Images: The CRT

    The rear part of the CRT contains a cathode that emits

    an electron beam when heated. A color monitor has three adjacent electron beams (Red,

    Green, & Blue) which can be regarded as a single beam.

    The front surface of a computer monitor is actually the

    end of a large CRT. In a color monitor, there are three adjacent phosphor dots

    (a triad) called a PEL or PIXEL (Picture Element) laid out inhorizontal scan lines.

    > Dot Pitch indicates the distance between triads (e.g.-0.28

    mm) and is a measure of the resolution of the monitor.Typical ranges is 0.15 mm to 0.40 mm

    When the intensity modulated electron beam strikes thephosphor coated inner surface of the CRT, it changes the

    brightness of the CRTs glow.

  • 8/4/2019 Crt Controller

    13/42

    13

    Displaying Images: The CRT

    The CRTs electron beam sweeps across the screen in a

    fixed path from left to right (Horizontal) and top to bottom(Vertical).

    These lines are continually scanned many times a secondproducing a uniform pattern of closely spaced horizontallines (called a raster) which covers the entire screen.

    > This is fundamentally the same way that a TV operates.

    The CRT image must be redrawn continuously because itwill remain visible for only a few milliseconds depending onthe persistence of the phosphor.

    With additive mixing of the 3 primary colors, all knowncolors can be generated

    Mixing equal parts of red, green & blue produces shades ofwhite light.

  • 8/4/2019 Crt Controller

    14/42

    14

    Non-Interlaced and Interlaced Displays

    Displays are either interlaced or non-interlaced.

    In an interlaced graphics system, it takes 2 fields (1 odd,1 even) to display one complete screen (called a frame)

    Interlaced mode is used when the monitor cannot keep upwith the data rates required by the video system--used for

    the first 1024x768 displays.A non-interlaced display has an entire frame displayed

    each screen refresh--every line is updated every frame.

    Non-interlaced displays produce a more pleasing screen

    image (less flicker) than interlaced displays. Quality monitors feature non-interlacing at all resolutions.

    Some monitors can only work in non-interlaced mode up toa maximum pixel addressability (e.g. 800x600) above whichthey revert to interlaced mode.

  • 8/4/2019 Crt Controller

    15/42

    15

    Displaying Images: Non-Interlaced mode

    Horizontal Retrace:Repositions the beam

    back to the start of the nexthorizontal scan line.

    Vertical: Approx70 cycles/sec

    for Text Mode 3

    Horiz: Approx31.5K cycles/secfor Text Mode 3

    Scan Line

    Vertical Retrace: Repositions the beam

    back to the top leftcorner

    Horizontal Deflection

    Time

    Note:Angle of scan line

    is exaggerated

  • 8/4/2019 Crt Controller

    16/42

    16

    Displaying Images: Interlaced mode

    Horizontal Retrace

    Note:Angle of scan line

    is exaggerated

    Vertical Retrace

    Odd Scan Line Even Scan Line

    Horizontal Deflection

    Time

    The first field consists of only the odd numbered line.

    The next field consists of only the even numbered lines.

  • 8/4/2019 Crt Controller

    17/42

    17

    Displaying Images: Interlaced mode

    Interlacing is the way that a television operates.

    The TV rate is 2:1 interlace - 60 fields/sec; 30 frames/sec A 30 frame-per-second rate would noticeably flicker, while

    the effective 60 frame-per-second rate does not.

    The human eye recognizes the the alternate scanlines as

    one image because it cant resolve the flickering of imagesrefreshed more than 50 time per second.

    The advantage of interlacing is that the frame rate (andthe video B/W) is half of what would be required todisplay this same resolution in non-interlaced mode.

    Interlacing results in the ability to display a resolution thatwould be impossible for hardware in non-interlaced mode.

    Interlacing enables a monitor to provide more resolutioninexpensively.

  • 8/4/2019 Crt Controller

    18/42

    18

    Video Data Format Overview

    Video Display Modes: Video subsystems operate in

    multiple display modes which control certain aspectsof the video operation.

    TextORGraphics:

    Text modes display alphanumeric characters only.

    Graphics modes are bit-mapped (All Points Addressable)

    Screen Resolution: # of pixels vertically & horizontally.

    e.g. 720 x 400; 640 x 480; 1024 x 768; 1280 x 1024

    > Level of sharpness of image.

    Number of colors available: Typically 16 to16 million

    Note: The initial video mode is an 80-column Text mode(03h) set by the ROM BIOS during POST.

  • 8/4/2019 Crt Controller

    19/42

    19

    Video Data Format Overview

    The information written to the video buffer by the

    microprocessor is represented on the screen as apattern of illuminated dots called pixels.

    The microprocessor writes information to the videohardwares display buffer in either alphanumeric or

    graphics format. Each location on the video screen maps to a location

    in the display RAM.> Discussed in more detail in a subsequent chapter.

    The first location of the display buffer maps to the top,leftmost point on the screen.

    As memory addresses increase, the screen locationmove from left to right & top to bottom.

  • 8/4/2019 Crt Controller

    20/42

    20

    Video Data Format Overview

    Alphanumeric format: (Text Mode)

    > Discussed in more detail in a subsequent chapter.The microprocessor writes each symbol (letter, number,

    etc) as a series of 2 bytes (character & attribute) into theVideo Memory.

    The first byte represents the characters ASCII value The second byte represents the characters attribute

    (i.e. color, foreground/background, blinking, intensity)

    Video hardware translates the character & attribute bytes

    to the necessary series of dots.Characters are painted on the screen in a matrix of dots

    called a character box or character cell.

  • 8/4/2019 Crt Controller

    21/42

    21

    Video Data Format Overview

    Mapping from the displaymemory to the screen.Segment B800 - Text Mode

    Seg:Offset

    B800:0 ASCII

    B800:2

    B800:1 Attrib.

    B800:3

    B800:4

    B800:5

    B800:6B800:7

    41h

    42h

    43h

    07h

    07h

    07h

    Alphanumeric format

    (Text Mode)

    A B C

    SCREEN

  • 8/4/2019 Crt Controller

    22/42

    22

    Video Data Format Overview

    Graphics Mode format:>

    Discussed in more detail in a subsequent chapter.Also known as All Points Addressable (A.P.A.)

    The microprocessor writes the individual color value ofeach pixelto be painted on the screen.

    All pixels can be controlled independently to drawgraphics objects (as opposed to Text Mode, in whichonly a pre-defined set of characters can be displayed.

    The microprocessor must address the display buffer as a

    memory map of a series of bits(bytes for Text mode).The Video hardware generates the color & control

    signals necessary to illuminate the dot at the correctlocation on the screen.

  • 8/4/2019 Crt Controller

    23/42

    23

    Video Subsystem Block Diagram

    The following block diagram will introduce the

    typical functions of a VGA Video Controller. The following is a generic description to show the

    relationship between components of the VGAVideo Controller.

    Note that many of the components of the videocontroller interact and this can be representedwith different interconnect configurations.

    You may see the following blocks grouped and/orconnected in different ways, depending on thevendor and the level of detail shown.

  • 8/4/2019 Crt Controller

    24/42

    24

    Video Subsystem Block Diagram

    A video display adapter contains the following basic

    elements (usually implemented in an ASIC):Host Interface

    Clock Generator (Frequency Synthesizer)

    CRT Controller (CRTC): [Ports 3D4, 3D5]

    Memory Sequencer: [Ports 3C4, 3C5]Display Memory (Video Buffer) [A000:0 - B000:FFFF]

    Graphics Controller: [Ports 3CE, 3CF]

    Attribute Controller (Palette) : [Ports 3C0, 3C1]

    DAC: [3C7 (PEL Addr Rd); 3C8 (PEL Addr Wr); 3C9 (Pixel Data)]Video BIOS (Not implemented in ASIC)

    Note: Point & Shoot is used to access registers.

    Sometimes shown as 3?4 (i.e. 3D4=color, 3B4= mono).

  • 8/4/2019 Crt Controller

    25/42

    25

    Video Subsystem Block Diagram

    Clock

    SYNTH

    Horizontal Timing

    Vertical Timing

    Dot Stream

    To Monitor

    CRTCRT Ctlr&

    Memory

    Sequencer

    Optional

    FIFO

    VideoMemory

    Graphics

    Controller

    Attribute

    Controller

    (Palette)

    SystemBus

    Interface

    ControlAddrData

    Addr Data

    Addr

    Ctrl

    Feature

    Connector

    Dot Clock

    MemClock

    DAC

    (Lookup Table)

    R

    G

    B

  • 8/4/2019 Crt Controller

    26/42

    26

    Block Diagram: Sys I/F & Clock Gen.

    The System Interface:

    Decodes memory addresses to the Video Memory OR I/Oaddresses to the Video Controller registers.

    Generates handshake signals to the system CPU.

    An Optional Write Buffer isolates the CPU from the displaymemory (If Write Buffer is full, wait states are inserted)

    The Frequency Synthesizer:

    Generates frequencies from a fixed source (e.g. 14.3 MHz).

    Programmed to generate the VCLK & MCLK.

    > Video (Pixel, Dot) Clock: VCLK range (25-135MHz) This determines the Video Bandwidth

    > MCLK (Memory Clock): MCLK range (35-80 MHz)

    Used by the Memory Sequencer

  • 8/4/2019 Crt Controller

    27/42

    27

    Block Diagram: CRTC

    The Cathode Ray Tube Controller maintains screen

    refresh functions for the various display modes.Generates Horiz. & Vert. timing signals for the monitor.

    These control the path and duration of the electron beamsweeping the inner surface of the CRT.

    Generates addresses for the DRAM Display Buffer. The CRTC selects the portion of the video buffer to be

    displayed on the screen.

    > Addresses are sent to the Memory Sequencer.

    The CRTC synchronizes the Video Buffer address counterwith the Horizontal and Vertical timing signals.

    Controls the size & location of the text mode cursor &generates the Cursor & underline timing signals

  • 8/4/2019 Crt Controller

    28/42

    28

    Block Diagram: Sequencer

    The Memory Sequencer consists of a Memory

    Controller & Memory Arbitrator.The Memory Controller:

    Generates the signals & addresses for accessing displaymemory and provides mapping of the Video Memory.

    The Memory Arbitrator: Ensures that the necessary screen refresh & DRAM refresh

    cycles are executed.

    The Video Buffer may be accessed by 3 resources:

    > The Video Output Circuitry: Stream of data to redrawdisplay (~ 80% of mem accesses)

    > The Host computer: Accesses the memory to update thescreen.

    > The DRAM Refresh circuitry

  • 8/4/2019 Crt Controller

    29/42

    29

    Block Diagram: Display Memory

    The Video Buffer is a block of RAM that exists on

    the adapterbut is mapped into the microprocessorsaddress space.

    The Video Buffer contains the information to bedisplayed on the screen.

    The video circuitry refreshes the screen by continually andrepeatedly reading the data in the video RAM.

    Address map range: A000:0000 - B000:FFFF for VGA

    The actual size of the Video Buffer varies with video

    subsystem: 64KB to 4 MB (or more). Most PC subsystems have enough DRAM to hold more

    than one screen of displayable data, so only part of theVideo Buffer is visible on the screen.

  • 8/4/2019 Crt Controller

    30/42

    30

    Block Diagram: Display Memory

    Types of memory chips commonly used:

    DRAM is the most popular - (Fast Page or EDO)VRAM (Video RAM) - Dual-ported RAM

    The adapter can fetch the contents of memory for display atthe same time that new data is being put into memory.

    > The CPU use the parallel port for random reads & writes> The adapter updates the display by reading the serial port.

    Typically costs twice as much as DRAM.

    WRAM (Short for Window RAM)

    Similar to VRAM, but has faster performance at less cost.

    SGRAM (Synchronous Graphic Random Access Memory

    Can synchronize itself with the CPU bus clock and canopen 2 memory pages at once which simulates dual-port

    RAM.

  • 8/4/2019 Crt Controller

    31/42

    31

    Block Diagram: GCTLR & Pallette

    The Graphics Controller manipulates data flow

    between the CPU and the Video Buffer.Provides CPU with an access path to Display Memory.

    Controls the data flow between the Display Memory andthe Attribute Controller--video to monitor.

    > The optional video FIFO supplies data to the Attribute Ctlras required, allowing memory accesses at maximummemory speed rather than the screen refresh rate.

    The Attribute Controller: (Contains Palette Regs)

    Receives video memory data from the graphics controller& formats the data for display on the CRT.

    The palette controls the color and brightness of thesignals sent to the monitor.

  • 8/4/2019 Crt Controller

    32/42

    32

    Block Diagram: DAC

    The Digital to Analog Converter (DAC):

    Contains three (RGB) DACs (or RAMDACs) whichinterface directly to the monitor connector via RFI filters.

    Converts the color palette information supplied by theVGA chip to the correct analog voltages to be placed on

    the red, green, and blue gun outputs to the monitor.The Video DAC uses the 8-bit input to select one of its

    256 color registers (256 different colors at one time).

    Each of DACs 256 color registers contains an 18-bit

    RGB specification (6-bits for each color) Standard VGA uses 6 bits per color (18 bits / pixel)

    > 218 bits provides any of 256K possible colors in each register.

    Note: SVGA DACs can use 8 bits per color (24 bits / pixel)

  • 8/4/2019 Crt Controller

    33/42

    33

    Block Diagram: Video Feature Conn.

    The optional Feature Connector provides support for

    synchronizing graphics output with external devices.Permits third party add-on accessories to share signals

    and control of the VGA circuitry.

    Permits direct transfer of video information between the

    video card and other video devices (3D accelerators, videocapture cards, etc), without having to use the system bus.

    Also can be used to send signals to a 2nd higher resolutionvideo card that has its own high-performance RAMDAC.

    Pixel data, Horizontal & Vertical Sync, and Dot Clocksignals are available on the feature connector.

    Different feature connector standards are available:

    > Video Feature Connector (VFC), VESA Advanced FeatureConnector (VAFC), and VESA Media Channel (VMC) .

  • 8/4/2019 Crt Controller

    34/42

    34

    The Video BIOS

    The Video BIOS contains a set of well-documented, easyto use routines that provide a low-level programminginterface for accessing the hardware and providescompatibility across different hardware platforms.

    Applications should make requests through BIOS callsrather than communicating directly with hardware.

    Software Interrupt 10 hex is used for Video BIOS routines(e.g. - Set Mode, Write character, Move Cursor, etc.)

    The Video BIOS on adapter cards is found during thePOST expansion ROM detection (at address C000:0)

    The C000 Segment Video BIOS routines usually augmentor replace any System BIOS (F000 Seg) video routines.

    > The INT 10h IVT is re-routed to the Video adapter (C000:xxxx)

    > INT 42h replaces the default INT 10h IVT (F000:xxxx).

  • 8/4/2019 Crt Controller

    35/42

    35

    VGA Video Port Connector Pinout1. Red Video (analog 0-0.7v)

    2. Green Video (analog 0-0.7v)

    3. Blue Video (analog 0-0.7v)4. Monitor ID Bit 2

    5. Ground (DDC Return)

    6. Red Return (ground)

    7. Green Return (ground)8. Blue Return (ground)

    9. Key (no pin)

    10. Sync Return (ground)

    11. Monitor ID Bit 0

    12. Monitor ID Bit 1 (DDC Data)

    13. Horiz. Sync - TTL (to 90 KHz)

    14. Vert. Sync - TTL (50-120Hz)

    15. Monitor ID Bit 3 (DDC Clk)

    1

    2

    3

    4

    5 15

    14

    13

    12

    11

    7

    10

    6

    8

    Video Signal Levels:

    Black = 0v, Full Intensity = +0.7V

    Monitor ID bits are used to automaticallysense the type of monitor installed onpower up.

    VGA Vid P C

  • 8/4/2019 Crt Controller

    36/42

    36

    VGA Video Port Connectors

    The VGA uses a 15 pin D-Shell connector to interface

    with the monitor.The analog & digital signals are meant to drive an analog

    color or analog monochrome monitor.

    The DAC outputs analog Red, Green, & Blue Video

    signals to the monitor guns (RS-170). Black = 0v

    Full Intensity = +0.7V

    Monochrome monitors use the Green Video for all input.

    The RGB lines are terminated in a 75 ohm load at theGraphics Controller and a 75 ohm load at the monitor.

    The nominal DC load is 37.5 ohms

    VGA Vid P C

  • 8/4/2019 Crt Controller

    37/42

    37

    VGA Video Port Connectors

    Sync signals are TTL level and polarity were used by

    the older monitors to determine the video mode forscreen sizing (Monitor uses to adjust vertical gain).

    e.g. - Display Mode for VGA 350 lines - Mode 10h

    Horiz = 31.5 KHz +, Vert = 62.3 Hz -

    e.g. - Display Mode for VGA 600 lines - Mode 11h Horiz = 35.2 KHz -, Vert = 56.2 Hz +

    Some newer monitors analyze the sync signals todetermine the video mode or use the Plug & Play VESA

    DDC standard.

    VGA Vid P C

  • 8/4/2019 Crt Controller

    38/42

    38

    VGA Video Port Connectors

    Monitor ID bits [MID3:0] are used to sense the type of

    monitor installed by the BIOS on power up.Pulled up by Video Card. Monitor grounds 1 or more.

    Not fully standardized & not supported on some systems.

    DDC2B-Compliant Monitors

    Monitor pins MID1 & MID 3 become DDC Data & DDCClock lines for this serial communications protocol.

    The DDC (Display Data Channel) spec defines a serialcommunications channel between a computer displayand a host system.

    Allows the monitor, video card, & the O/S to communicate.

    Windows 95's Plug and Play architecture supports DDC.

    DPMS P S i

  • 8/4/2019 Crt Controller

    39/42

    39

    DPMS Power Saving

    VESA has defined a standard method for the

    computer to tell the monitor when to go to powersaving mode.

    This shuts off the deflection & high voltage in themonitor, but the CRT filament remains lit.

    When system activity resumes, the display returns almostinstantaneously.

    The power saving mode is controlled by changing thesync signals according to the list below:

    H-sync ON; V-sync ON: Normal (Power Level 100%)

    H-sync Off; V-sync ON: Standby (Power Level 80%)

    H-sync ON; V-sync Off : Suspend (Power Level

  • 8/4/2019 Crt Controller

    40/42

    40

    REVIEW & SUMMARY

    WE HAVE DISCUSSED THE FOLLOWING:

    The interactions in a Graphics System

    The PC Video Graphics Controller is responsible forproducing the image that is displayed on the screen.

    An O/S and/or Application updates screen information

    the using the Video BIOS and/or a Video Device Driver.

    The PC Video Subsystem contains a block of dedicatedDisplay Memory that holds the text or graphicsinformation to be displayed on the screen.

    The VGA Controller serializes the data in its display

    memory and mixes this stream of data withsynchronizing signals that control the video display.

    REVIEW & SUMMARY

  • 8/4/2019 Crt Controller

    41/42

    41

    REVIEW & SUMMARY How images are displayed on a CRT

    The rear part of the CRT contains a cathode that emitsan electron beam when heated and the front surface of acomputer monitor is actually the end of a large CRT.

    The CRTs electron beam sweeps across the screen in a

    fixed path from left to right and top to bottom. The CRT image must be redrawn continuously because it

    will remain visible for only a few milliseconds depending onthe persistence of the phosphor.

    In an interlaced graphics system, it takes 2 fields (1 odd,1 even) to display one complete screen (called a frame).

    A non-interlaced display has an entire frame displayedeach screen refresh--every line is updated every frame.

    REVIEW & SUMMARY

  • 8/4/2019 Crt Controller

    42/42

    REVIEW & SUMMARY

    Video Subsystem port connectors (15 pin connector )

    Sync signals are TTL level

    The DAC outputs analog Red, Green, & Blue Video signals tothe monitor guns.

    Clock

    SYN

    TH

    Horizontal Timing

    Vertical Timing

    Dot Stream

    To Monitor

    CRTCRT Ctlr

    &

    Memory

    Sequencer

    OptionalFIFO

    VideoMemory

    Graphics

    Controller

    Attribute

    Controller

    (Palette)

    SystemBus

    Interface

    ControlAddrData

    Addr Data

    Addr

    Ctrl

    FeatureConnector

    Dot Clock

    MemClock

    DAC

    (Lookup Table)

    R

    G

    B

    A block diagram of the Video Subsystem

    Basic elementsusually implementedin an ASIC.

    Point & Shoot is

    used to accessregisters.