Online Encyclopedia Search Tool

Your Online Encyclopedia

 

Online Encylopedia and Dictionary Research Site

Online Encyclopedia Free Search Online Encyclopedia Search    Online Encyclopedia Browse    welcome to our free dictionary for your research of every kind

Online Encyclopedia



Video Graphics Array

(Redirected from VGA)

Video Graphics Array (VGA) is a computer display standard first marketed in 1987 by IBM. VGA belongs to a family of earlier IBM video standards and largely remains backward compatible with them. VGA can be seen as an enhancement of and successor to the previous EGA and CGA graphics adapters. MCGA, also produced by IBM, was similar except that it was a simpler version of the VGA hardware.

VGA is referred to as an "array" instead of an "adapter" because it was implemented from the start as a single chip (a gate array), replacing the Motorola 6845 and a full-length ISA board full of discrete components that the MDA, CGA and EGA used. This also allowed it to be placed directly on a PC's motherboard with a minimum of difficulty (it only required video memory, timing crystals and an external RAMDAC), and the first PS/2 models were equipped with VGA on the motherboard. Since it wasn't restricted to being an add-on board, the name refers to the chip itself.

As with most IBM hardware the VGA was extensively cloned by other manufacturers. While the VGA has been obsolete in original form for some time it was the last IBM standard that the majority of clone manufacturers decided to follow, making it even today the only standard graphics interface that can be relied on to be present on the PC architecture. VGA was technically superseded by IBM's XGA standard, but in reality it was superseded by the numerous extensions to the VGA by clone manufactuers that came to be known as Super VGA.

VGA remains a relevant graphics standard. It forms the "lowest common denominator" that all PC graphics cards need to support prior to a device-specific driver being loaded. On Windows machines, the Microsoft Windows splash screen appears while the machine is still operating in VGA mode, which is the reason that this screen always appears in reduced resolution and color depth compared to following screens.

Contents

Technical details

The VGA specifications are as follows:

  • 256KByte Video RAM
  • 16 colour and 256 colour modes
  • 262144 (2^18: six bits [64 values] each for red, green, and blue) colour palette
  • Selectable 25MHz or 28MHz master clock
  • Maximum of 720 horizontal pixels
  • Maximum of 480 lines
  • Refresh rates at up to 70 Hz
  • 4 video planes
  • Hardware smooth scrolling support
  • Some 'Raster Ops' support
  • Barrel shifter
  • Split screen support
  • Soft fonts

The VGA supports both All Points Addressable graphics modes, and Alphanumeric Text modes. Standard graphics modes are:

  • 640×480 in 16 colours
  • 640×400 in 16 colours
  • 320×200 in 16 colours
  • 320×200 in 256 colours (Mode 13h)

As well as the standard modes the VGA supports many of the modes of its predecessors the EGA, CGA and MDA and due to its configurable nature, un-documented modes.

The term "VGA" is also often used to refer to a resolution of 640×480, regardless of the hardware that produces the picture. For embedded devices, there now exist QVGA (320×240) and QQVGA (160×120) and 1/8 VGA (240×160). An XVGA display has 1024 by 768 pixels of 256 colours. IBM calls this mode "8514" after the model number of the first IBM monitor capable of displaying this resolution.

Programming tricks

An undocumented, but popular 256 colour mode called Mode X was used to make available programming techniques and graphics resolutions not possible in the standard Mode 13h. This was a trade off for extra complexity and performance loss in some types of graphics operations.

Text modes

Standard alphanumeric text modes for the VGA are 80×25 and 40×25 text cells. Each cell may choose from one of 16 available colours for its foreground and 8 colours for the background. The character may also be made to blink, or at the expense of the blinking option, the background may be selected from 16 colours.

VGA adapters usually support both a monochrome and a color text mode, even though the monochrome mode is almost never used. Black and white text on nearly all modern VGA adapters is drawn by using gray colored text on a black background in color mode.

Hardware details

The video memory for monochrome mode is mapped into real memory at 0xb0000-0xb7fff, and the video memory for color mode is mapped at 0xb8000-0xbffff. This is a reminiscence of the old times when an IBM PC computer could have 2 monitors attached at the same time: one monochrome (attached to a Monochrome Display Adapter card) for working with text, and one color (attached to a Color Graphics Adapter card) for displaying graphics.

In color mode, each screen character is actually represented by two bytes. The lower, or character byte is the actual character for the current character set, and the higher, or attribute byte is a bitfield used to select various video attributes such as color, blinking, character set, and so forth.



Last updated: 02-07-2005 07:31:42
Last updated: 02-27-2005 18:47:33