Video Graphics Array (VGA) refers specifically to the display hardware first introduced with the IBM PS/2 line of computers in 1987, but through its widespread adoption has also come to mean either an analog computer display standard, the 15-pin D-subminiature VGA connector or the 640×480 resolution itself. While this resolution was superseded in the personal computer market in the 1990s, it is becoming a popular resolution on mobile devices.
VGA was the last graphical standard introduced by IBM that the majority of PC clone manufacturers conformed to, making it today () the lowest common denominator that all PC graphics hardware can be expected to implement without device-specific driver software. For example, 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.
VGA was officially followed by IBM's Extended Graphics Array (XGA) standard, but it was effectively superseded by numerous slightly different extensions to VGA made by clone manufacturers that came to be known collectively as Super VGA.
VGA is referred to as an "array" instead of an "adapter" because it was implemented from the start as a single chip (an ASIC), replacing the Motorola 6845 and dozens of discrete logic chips that covered the full-length ISA boards of the MDA, CGA, and EGA. Its single-chip implementation also allowed the VGA 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 IBM PS/2 models were equipped with VGA on the motherboard. (Contrast this with all of the "family one" IBM PC desktop models—the PC [machine-type 5150], PC/XT [5160], and PC AT [5170]—which required a display adapter installed in a slot in order to connect a monitor.)
The VGA supports both All Points Addressable graphics modes, and alphanumeric text modes. Standard graphics modes are:
The VGA specifications are as follows:
As well as the standard modes, VGA can be configured to emulate many of the modes of its predecessors (EGA, CGA, and MDA). Compatibility is almost full at BIOS level, but even at register level, a very high value of compatibility is reached. VGA is not compatible with the special IBM PCjr or HGC video modes.
Parameter !! Value !! Unit | ||
Pixel clock frequency | 25.175 | MHz |
Horizontal frequency | ||
Horizontal pixels | 640 | |
Horizontal sync polarity | Negative | |
Total time for each line | ||
Front porch (A) | 0.94 | |
Sync pulse length (B) | 3.77 | |
Back porch (C) | 1.89 | |
Active video (D) | 25.17 |
(Total horizontal sync time 6.60 µs)
|none|640px|VGA horizontal timings for 640×480
The vertical timings are:
Parameter !! Value !! Unit | |
Vertical lines | 480 |
Vertical sync polarity | Negative |
Vertical frequency | |
Front porch (E) | |
Sync pulse length (F) | 0.06 |
Back porch (G) | 1.02 |
Active video (H) | 15.25 |
(Total vertical sync time 1.43 ms)
640 × 400 @ 70 Hz is video mode used for booting most x86 personal computers.
640 × 480 @ 60 Hz is the default MS-Windows graphics mode with 16 colors.
The actual timings vary slightly. For example for 640×480 @ 60 FPS a 25.17 µs active video time with a pixel frequency of 25.174 MHz gives 633 pixels rather than the expected 640 pixels.
Like EGA, VGA supports 512 simultaneous characters on screen by disabling one color bit. The glyphs on 80×25 mode are normally made of 9×16 pixels. Users may define their own character set by loading a custom font onto the card. As character data is 8-bit wide, some characters are normally made 9 bit wide by repeating the last vertical line, especially those defining horizontal IBM box drawing characters.
The video memory of the VGA is mapped to the PC's memory via a window in the range between segments 0xA0000 and 0xBFFFF in the PC's real mode address space (A000:0000 and B000:FFFF in segment:offset notation). Typically these starting segments are:
Due to the use of different address mappings for different modes, it is possible to have a Monochrome Display Adapter and a color adapter such as the VGA, EGA, or CGA installed in the same machine. At the beginning of the 1980s, this was typically used to display Lotus 1-2-3 spreadsheets in high-resolution text on a MDA display and associated graphics on a low-resolution CGA display simultaneously. Many programmers also used such a setup with the monochrome card displaying debugging information while a program ran in graphics mode on the other card. Several debuggers, like Borland's Turbo Debugger, D86 (by Alan J. Cox) and Microsoft's CodeView could work in a dual monitor setup. Either Turbo Debugger or CodeView could be used to debug Windows. There were also DOS device drivers such as ox.sys, which implemented a serial interface simulation on the MDA display and, for example, allowed the user to receive crash messages from debugging versions of Windows without using an actual serial terminal. It is also possible to use the "MODE MONO" command at the DOS prompt to redirect the output to the monochrome display. When a Monochrome Display Adapter was not present it was possible to use the 0xB000 – 0xB7FF address space as additional memory for other programs (for example by adding the line "DEVICE=EMM386.EXE I=B000-B7FF" into config.sys, this memory would be made available to programs that can be "loaded high" – loaded into high memory.)
The VGA color system is backwards compatible with the EGA and CGA adapters, and adds another level of configuration on top of that. CGA was able to display up to 16 colors, and EGA extended this by allowing each of the 16 colors to be chosen from a 64-color palette (these 64 colors are made up of two bits each for red, green and blue: two bits × three channels = six bits = 64 different values). VGA further extends this scheme by increasing the EGA palette from 64 entries to 256 entries. Two more blocks of 64 colors with progressively darker shades were added, along with 8 "blank" entries that were set to black.
In addition to the extended palette, each of the 256 entries could be assigned an arbitrary color value through the VGA DAC. The EGA BIOS only allowed 2 bits per channel to represent each entry, while VGA allowed 6 bits to represent the intensity of each of the three primaries (red, blue and green). This provided a total of 64 different intensity levels for red, green and blue, resulting in 262,144 possible colors, any 256 of which could be assigned to the palette (and in turn out of those 256, any 16 of them could be displayed in CGA video modes).
This method allowed new VGA colors to be used in EGA and CGA graphics modes, providing one remembered how the different palette systems are laid together. To set the text color to very dark red in text mode, for instance, it will need to be set to one of the CGA colors (for example, the default color, #7: light grey.) This color then maps to one in the EGA palette—in the case of CGA color 7, it maps to EGA palette entry 42. The VGA DAC must then be configured to change color 42 to dark red, and then immediately anything displayed on the screen in light-grey (CGA color 7) will become dark red. This feature was often used in 256-color VGA DOS games when they first loaded, by smoothly fading out the text screen to black. (The game Descent, from 1995, is an example.)
While CGA and EGA-compatible modes only allowed 16 colors to be displayed at any one time, other VGA modes, such as the widely used mode 13h, allowed all 256 palette entries to be displayed on the screen at the same time, and so in these modes any 256 colors could be shown out of the 262,144 colors available.
Sometimes the monitor refresh rate had to be reduced to accommodate these modes, increasing eye strain. They were also incompatible with some older monitors, producing display problems such as picture detail disappearing into overscan, flickering, vertical roll, and lack of horizontal sync depending on the mode being attempted. Because of this, most VGA tweaks used in commercial products were limited to "monitor-safe" combinations, such as 320×240 (square pixels, three video pages), 320×400 (double resolution, two video pages), and 360×480 (highest resolution compatible with standard VGA monitors, one video page). Currently, the highest known tweaked VGA resolution is 400×600×256 (400×600 pixel × 256 colors). It is used in Fractint – a popular fractal generator.
Category:1987 introductions Category:Computer display standards Category:IBM personal computers
ar:منظومة عرض مرئي bs:VGA bg:VGA ca:Video Graphics Array cs:Video Graphics Array da:VGA de:Video Graphics Array et:VGA el:Video Graphics Array es:Video Graphics Array fa:آرایه نمایش تصویر fr:Video Graphics Array gl:VGA ko:비디오 그래픽스 어레이 hi:वीडियो ग्राफिक्स ऐरे hr:VGA id:VGA is:VGA-kort it:Video Graphics Array he:VGA kk:Бейнеграфикалық матрица nl:Video Graphics Array ja:Video Graphics Array no:VGA pl:Video Graphics Array pt:Video Graphics Array ru:VGA sk:Video Graphics Array sh:VGA fi:VGA sv:Video Graphics Array th:วีจีเอ tr:Video Graphics Array uk:Video Graphics Array vi:Video Graphics Array zh:视频图形阵列This text is licensed under the Creative Commons CC-BY-SA License. This text was originally published on Wikipedia and was developed by the Wikipedia community.
The World News (WN) Network, has created this privacy statement in order to demonstrate our firm commitment to user privacy. The following discloses our information gathering and dissemination practices for wn.com, as well as e-mail newsletters.
We do not collect personally identifiable information about you, except when you provide it to us. For example, if you submit an inquiry to us or sign up for our newsletter, you may be asked to provide certain information such as your contact details (name, e-mail address, mailing address, etc.).
When you submit your personally identifiable information through wn.com, you are giving your consent to the collection, use and disclosure of your personal information as set forth in this Privacy Policy. If you would prefer that we not collect any personally identifiable information from you, please do not provide us with any such information. We will not sell or rent your personally identifiable information to third parties without your consent, except as otherwise disclosed in this Privacy Policy.
Except as otherwise disclosed in this Privacy Policy, we will use the information you provide us only for the purpose of responding to your inquiry or in connection with the service for which you provided such information. We may forward your contact information and inquiry to our affiliates and other divisions of our company that we feel can best address your inquiry or provide you with the requested service. We may also use the information you provide in aggregate form for internal business purposes, such as generating statistics and developing marketing plans. We may share or transfer such non-personally identifiable information with or to our affiliates, licensees, agents and partners.
We may retain other companies and individuals to perform functions on our behalf. Such third parties may be provided with access to personally identifiable information needed to perform their functions, but may not use such information for any other purpose.
In addition, we may disclose any information, including personally identifiable information, we deem necessary, in our sole discretion, to comply with any applicable law, regulation, legal proceeding or governmental request.
We do not want you to receive unwanted e-mail from us. We try to make it easy to opt-out of any service you have asked to receive. If you sign-up to our e-mail newsletters we do not sell, exchange or give your e-mail address to a third party.
E-mail addresses are collected via the wn.com web site. Users have to physically opt-in to receive the wn.com newsletter and a verification e-mail is sent. wn.com is clearly and conspicuously named at the point of
collection.If you no longer wish to receive our newsletter and promotional communications, you may opt-out of receiving them by following the instructions included in each newsletter or communication or by e-mailing us at michaelw(at)wn.com
The security of your personal information is important to us. We follow generally accepted industry standards to protect the personal information submitted to us, both during registration and once we receive it. No method of transmission over the Internet, or method of electronic storage, is 100 percent secure, however. Therefore, though we strive to use commercially acceptable means to protect your personal information, we cannot guarantee its absolute security.
If we decide to change our e-mail practices, we will post those changes to this privacy statement, the homepage, and other places we think appropriate so that you are aware of what information we collect, how we use it, and under what circumstances, if any, we disclose it.
If we make material changes to our e-mail practices, we will notify you here, by e-mail, and by means of a notice on our home page.
The advertising banners and other forms of advertising appearing on this Web site are sometimes delivered to you, on our behalf, by a third party. In the course of serving advertisements to this site, the third party may place or recognize a unique cookie on your browser. For more information on cookies, you can visit www.cookiecentral.com.
As we continue to develop our business, we might sell certain aspects of our entities or assets. In such transactions, user information, including personally identifiable information, generally is one of the transferred business assets, and by submitting your personal information on Wn.com you agree that your data may be transferred to such parties in these circumstances.