Jump to content

Talk:Video Graphics Array/Archive 1

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lowercase sigmabot III (talk | contribs) at 06:37, 21 June 2014 (Archiving 2 discussion(s) from Talk:Video Graphics Array) (bot). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Archive 1

Memory base

From the article: the video memory for color mode is mapped at 0xb8000-0xbffff. I thought VGA graphics memory started at 0xa0000? At least, in linear (320x200x256) mode, where each byte was one pixel? -- pne 05:07, 26 Aug 2004 (UTC)

  Answer:  In graphics mode yes it's 0xa0000.  Colour text mode is "0xb8000".  -- Funkymonkey.

What about the VESA standard for successors to VGA?

  Feel free to add your own info :)  -- Funkymonkey.
0xb8000-0xbfff is also used for the old CGA color modes (320x200x4, 640x480x2) and text mode. Everything else (320x200x256, 640x480x16, and the EGA 16-color modes) use 0xa0000-0xaffff. 0xb0000-0xb7fff isn't usually touched by VGAs since it's the MDA text buffer. The VESA extensions to VGA are described over in Super VGA. -lee 17:17, 21 Sep 2004 (UTC)
  0xb0000-0xb7fff is a perfectly valid address space for the VGA when operating in a Mono text mode (Mode 7).  
  -- Funkymonkey

Vector Graphics Array Can anyone tell me how to connect a xbox360 console to a monitor using a VGA AV cable?What is meant by a female/female adapter?

Removed 640x400 Mode-X and Direct-X reference

I removed the reference to 800x600 and 640x400 modes, as I'm pretty sure they're not possible using standard VGA hardware. 800x600 maybe at a low refresh rate? Remember the distinction between a clone VGA and a "Super VGA" is blurred, some clone VGA's such as Oak's OTI037 256K VGA were capable of 800x600 I remember. However, this page is about the true blue IBM original. The main reason these modes should be near impossible (especially 640x400 in 256 colours) on standard VGA hardware is that the video bandwidth (28Mhz max) is too low. Horizontal Scan Rate would be unacceptably low. I'd love to be proved wrong however - if someone can demostrate the CRTC settings for a 640x400 256 colour, or 800x600 mode that would run on an IBM VGA with multisync monitor i'd be interested to see it. I also removed the reference to the 'Direct-X' term double buffering. Double Buffering has long been used as a term before the introduction of Direct-X. -- Funkymonkey May 8, 2005 - Hi Funkymonkey! There was an old MS-DOS program "FRACTINT", which claimed to support output resolutions up to 800x600 (16-color) on a true "IBM VGA adapter." Years ago, I fooled around with the program, but on an SVGA adapter, so I can't verify the program's claims. I do remember "ModeX" allowed up to 360x480 (60Hz) without resorting to outrageous refresh-rates -- a handful of MS-DOS games used this mode (my favorite was "Bananoid", a shareware clone of Arkanoid.) http://spanky.triumf.ca/www/fractint/hardware_modes.html#video_notes_anchor June 23rd, 2005. I read that link and it seems you're right about the 800x600 mode - tres cool, and a good find! We should integrate the information from that link back into the VGA page, I think i'll do that! -- Funkymonkey.

I can provide working programs that display 800x600 in 16 colors and 640x400 in 256 colors on a STOCK VGA so I know it is possible. The only drawback is that most monitors couldn't display it (it requires a very low refresh rate). If those were taken out, I'm going to put them back in. Trixter 21:38, 12 January 2006 (UTC)

Cool - I'd love to see those programs, if you can make them available. What monitors have you found are able to sync to these low refresh rates? Thanks. Funkymonkey

I'd have to find the code :-) But fractint is one of the 800x600@16 programs so just grab that and try it in DOS fullscreen. As for monitors, not many unfortunately. Trixter 23:59, 16 January 2006 (UTC)

I'm willing to accept that 800x600 is possible, and it has been show (Fractint as you say) but 640x400 in 256 colours seems unlikely due to the very low horizontal frequency that would involved. In 256 colour modes, the VGA is operating at half the horizontal clock speed as two normal clocks elapse for each pixel. Can we leave out the reference to 640x400 in 256 colours until there is some proof of it's existance? --Funkymonkey.

I guess I'm going to have to find that code then. But unless you have a low-scanning monitor (one that can do 15KHz horizontal) you probably won't get it to work. It *is* possible, I've done it, but just like 800x600x16 it displays on about 1% of monitors out there.
But what's wrong with the paragraph right under it? Does it not explain the limitations of trying to use such extreme modes? This was a big deal back then, I remember a lot of discussion around getting ColoRIX to use additional tweaked modes... Trixter 21:53, 25 January 2006 (UTC)

Leave it in if you like then, I just think it's nice if we have some evidence to backup the mode's described as possible. --Funkymonkey. The article says "360x480 (highest resolution compatible with standard VGA monitors". I guess that's for 256 color modes. What is the highest 16 color mode resolution compatible with a standard VGA monitor? Calvero2 11:32, 8 April 2007 (UTC)

VGA 256x177?

Could be possible that VGA can display 256x177? I found that when playing Rastan on Dosbox. Or pearps it's EGA tweak.

You're correct. Rastan tweaks a 256x177 mode. The 256 pixel columns across is not only easy but common; the 177 lines is the unconventional part.
256 pixel columns was a huge boon to game programmers -- it meant you could treat screen coordinates as going from 0 to 255 across, which meant your "X" variable could fit into a single byte-size register. Some games used this and put a status display up from pixel columns 256-319, but a few games, like Rastan, actually tweaked a 256-column mode. Trixter 23:10, 10 January 2006 (UTC)
Thanks. I played Rastan on my old computer with a TV plugged. The screen displays odd effects when playing Rastan.
That was CGA composite output, which displayed odd artifacts if the game didn't specifically support it. See the wikipedia article on CGA for more info. Trixter 21:39, 12 January 2006 (UTC)
My old computer does not have a CGA composite output. I used a device to connect the TV via VGA output. Peharps the device was not designed to use 256x177 mode.
It's ever worst when connecting the tv to my newest computer connected via 3d card and playing Rastan. Everything's flickering.

Meaning of VGA

It is my understanding that VGA was an important landmark in that, for the first time, standard IBM PC color computer monitors came to have the same resolution as North American TV broadcasts (NTSC standard); thence the name "Video Graphics Array", or an array of pixels matching the resolution of standard video. As written the article named "NTSC", color TV broadcasts have 486 "viewable" horizontal scanning lines per frame which closely matches VGA's 480 number. As for the 640 number it surely must match the equivalent resolution if the scanning were done with vertical lines instead of with horizontal lines, but I'm unsure about this. I don't know were to add this comment without disturbing the balance of this article. Perhaps if the original author sees this note he/she may add it appropriately.

IIRC, the 486 comes from some digital video format (DV, D1?) while broadcast NTSC has indeed 480 lines (but often more than 640 pixels per line when transmitted digitally). Christoph Päper 22:04, 1 June 2006 (UTC)
This doesn't really make much sense to me. First, the VGA was never really meant for digital video applications (among other things, it didn't have video-in/video-out capabilities). Second, VGA was not actually the first PC video system to use the 640x480 resolution; the Professional Graphics Controller before it supported 640x480, as well as several "super EGA" cards meant for use with multi-standard monitors like the NEC MultiSync II. Third, and probably most important, the VGA was the first IBM PC graphics adapter to fit into a single gate array, and at first was not offered as a separate "adapter" card. -lee 13:15, 25 September 2007 (UTC)
Original Poster: False. (1) NTSC's analog (key word) resolution is variable from 330 lines left-to-right (VHS) to 440 lines (broadcast) to 660 lines (DVD or other "lossfree" source). There's no limitation or fixed resolution, because it's an analog system. (2) VGA was hardly the first computer to feature 640x480 resolution. Several other computers already had the same capability (Commodore Amiga and Atari ST spring immediately to mind), and they were better suited to television production since they had interlace, whereas VGA used the non-compatible progressive scan. Interlace is better for 1980s TV production. (3) The earlier CGA and EGA cards had composite and S-video outputs for connections to standard televisions. As did most computers of the era, so connecting your computer to a TV was nothing new. It dated back to the 1978 Atari 800, and probably earlier than that. ---- Theaveng (talk) 15:32, 7 January 2008 (UTC)

HVGA?

Can someone familiar with this topic take a look at the recently created article on HVGA? Thanks. -- Rick Block (talk) 01:25, 8 June 2007 (UTC)

Technical details/History

AFAIK, the firt VGA appeared in the IBM Personal System/2. It was a part of the Micro Channel architecture memory controller, like modern IGP in the Northbridge. Originally, there was no such thing as "VGA Chipset" in the PS/2. The first VGA-compatible ISA chipset was a Paradise VGA (later Western Digital). - Alecv 19:24, 8 June 2007 (UTC) Answer: Shame i don't have my old PS/2 to hand, but IIRC when looking at the board you could identify discrete chips that made up the VGA. Things weren't that integrated back then. If you have ever seen an 8514/A board (i own one) it is made up of a very large number of discrete chips. It may well be that some of the core logic was integrated into the MCA memory controller, but i'm pretty sure it was a chipset all in all. (I may be talking crap though, because it depends on whether you count the video RAM, and the DAC as seperate or not) 149.254.200.220 18:02, 5 September 2007 (UTC)funkymonkey

The VGA itself was indeed a separate chip, IBM part number 15F6864. A complete VGA setup included the '6864, 8 NEC 4464 RAM chips (64kx4, a total of 256k), an Inmos G171 6-bit/3-channel RAMDAC with 256-entry CLUT, and two dot clock crystals (25.175 MHz and 28.322 MHz). Pretty much everyone used this same layout, which made upgrading things piece-by-piece easy (adding more RAM and higher dot clocks were some of the first mods people did to the basic design). The early Paradise chips were very similar to the 15F6864, even to the point of using external clock crystals (I saw a Paradise board with 5 of them once, sometime in the mid-1990s...yeah, it was old even then).
While I'm thinking about it: The MCGA, VGA's short-lived, cut-down sibling, was embedded somewhere in the chipset of the PS/2 Models 25/30-8086, and at least two of those chips were semi-custom Epson gate arrays. -lee 18:22, 24 September 2007 (UTC)
Lee that is awesome information, very impressed. How did you come by that info? -FunkyMonkey
Partially from trolling the web to refresh my memory, partially from having a basement full of old PCs (including an IBM PS/2 Model 80 at one point) and tons and tons of old ISA video cards. From about 1993-2000, my brother was friends with a second-hand store owner who frequented Government surplus auctions, and he would just give us stuff (most of it dating from the late 1980s and very early 1990s). We ended up having to trash most of it when we moved house in 2000, though. -lee (talk) 16:26, 10 June 2008 (UTC)
funkymonkey, could you please take a picture of your 8514/A board? The 8514 article is pretty sparse at the moment, and it's kind of become a pet project of mine because of a game called Mah Jongg -8514- that made a bad bet on the 8514 standard becoming widely adopted. DOSGuy 21:21, 24 September 2007 (UTC)
Only just saw this, but yes, I'd be happy to post a pic on the 8514 article (might need a dust off first!!). The girlfriend is coming over tonight, so I'll ask her to bring the camera over. I'll also post you a URL to a website with all the pics here once done. -FunkyMonkey

The default palette?

From experimentation, I don't believe that the mode 13h palette is the graphics adapter's default palette. By setting the graphics mode directly, I found 8 shades of the EGA colouring scheme, and 192 blank colours. Though I did this under QEMU, so it might not be right, however, the so-called "default palette" is almost definitely stored in the BIOS. I'll try on actual hardware (no original VGA chipset though :\) --thematrixeatsyou 08:49, 2 November 2007 (UTC)

I'm not sure what you are trying to say here, but mode 13h is not a palette. VGA has a default palette defined that is EGA and CGA compatible, but applications are free to reprogram that palette as they see fit. It is likely that the default palette is stored in the BIOS or Video BIOS, but that is just an implementation detail.
--Anss123 09:18, 2 November 2007 (UTC)

Simple Answers.

¿Is a simple answer really so much to ask for? All that technical information is great and wonderful- But I can’t tell from the article what the Hell a VGA does, only that they are (or maybe were even that’s not really clear) used in video games (I was told by a salesman that they can be used to convert a TV screen to a computer screen, but thinking he was telling me what HE wanted me to hear, I thought I’d check it out- obviously, this article was less than no help, or I wouldn’t be leaving a comment).

Include a SIMPLE explanation for those of us who aren’t computer nerds. —Preceding unsigned comment added by 71.34.68.223 (talkcontribs) 08:06, 8 March 2009 (UTC)

Linear 320x240x8 mode

It's possible on the official VGA cards to put the card into a linear 320x240x8 mode instead of the more common planar "mode X". There's a register that can be used to enable a 128k window from A0000 to BFFFF instead of the usual 64k at A0000 to AFFFF. Combined with some of the register tweaks of "mode X", you'd get a linear 320x240x8. I doubt it was used on many games, if any, because some clone cards didn't support this setting. --Myria (talk) 21:47, 17 November 2007 (UTC)

Can we put-up a 256 color VGA image?

I'd like the readers to be able to see how a 256-color image actually appeared back in the 1980s. (I suppose a 256 color GIF image would be an appropriate substitute.) ---- Theaveng (talk) 15:34, 7 January 2008 (UTC)

The Signal graphic has a slight error

It shows the front porch as the start of the line, however the front porch happens at the END of the line, whereas the sync pulse is the official start of the line (when the electron gun moves from one edge to the other edge). ---- Theaveng (talk) 15:46, 18 May 2009 (UTC)

Port / Plug pic

Needs a picture of a VGA plug and/or port. See the page for DVI (Digital Video Interface) for an example. 76.2.89.37 (talk) 17:20, 12 April 2010 (UTC)

 Done --nn123645 (talk) 03:51, 24 January 2011 (UTC)

vga

hii, i want to know if in any computer vga is not install so what the effect of it on any pc... —Preceding unsigned comment added by 59.95.109.207 (talk) 16:29, 20 May 2010 (UTC)

The PC then doesn't have a VGA card.
(I'm not sure what else you're after, really) 193.63.174.211 (talk) 18:40, 23 January 2012 (UTC)

Diagram of VGA Signal

A diagram of an VGA signal would be really helpful. This is a good one http://www.vga-avr.narod.ru/vga_timing/vga_timing.gif — Preceding unsigned comment added by 209.94.128.118 (talk) 18:55, 4 December 2011 (UTC)

VGA has same Resolution as NTSC color TV

I think this fact should be emphasized in this article. As I recall at the time, color computer screens were of lesser resolution that a standard color TV which was regarded as the "panacea" of picture quality. Thence when VGA first appeared it was highly regarded for being "as good as" a color TV set of the time (north American NTSC standard), which can be loosely described as having a resolution of 640 X 480 pixels. The name "Video Graphics Array" can be read as "having the same resolution as NTSC color video". By the way the "A" was commonly mistaken for Video Graphics ADAPTER because the earlier standard had been CGA and EGA where both "A´s" stood for "Adapter" where in VGA the "A" stands for ARRAY.

No, VGA is higher resolution than TV, at least from the point of view of displaying text - 80 column text on a CGA is vile, but you can have very sharp 80 column text on a VGA screen. ( And even CGA displayed better on a dedicated monitor than through a TV set). --Wtshymanski (talk) 22:56, 25 November 2010 (UTC)
Um, nope, VGA was never as lousy as TV. NTSC had 525 scanlines (486 visible). CRT monitors have no native resolution, but colour monitors had to be capable of at least 640x480, and quickly raced to 800x600, 1024x768 and higher. Color televisions were based on a decades-old standard by the time VGA came along. DOSGuy (talk) 18:52, 27 November 2010 (UTC)
/facepalm ... No, no, fellas, you misunderstand. You're looking at it backwards. The critical part of VIDEO graphics array is that it could be used with a genlock or other simplistic scan converter to insert broadcast-quality overlay text (and graphics, both overlay and fullscreen) into a TV-standard video stream. It's not so that you could hook up a standard TV to use as your everyday computer monitor. PCs were largely business machines at the time, it wasn't meant for gaming but e.g. display of stock price charts, or sports scores in a nice large colourful font to compensate for the terrible fuzziness of contemporary NTSC signals.
It IS, at least in terms of the vertical scanning (the most critical part), double NTSC standard, so it would work well with genlockers (needing a minimal amount of buffer RAM, and quite simple scanrate conversion hardware), or even just with a locked-off camera pointed at a monitor (camera scan always hits the same part of the screen at the same point in the monitor's own refresh, so the image remains steady - moired, perhaps, but at least not flickering or rolling).
The scan rate is exactly double that of NTSC, and there are 525 scan lines - but only 480 of them are "active". Six less than NTSC itself, but this was considered well within the normal overscan allowance and therefore irrelevant. It instead was a nice convenient multiple of 8 and significantly higher rez than almost all of it's rivals. The horizontal rez was more simply just a replication of the existing CGA and EGA standards (it's enough for 80 column text; you don't want to make it NARROWER than the previous generation; and it's comfortably above the available analogue resolution that pixelisation isn't an issue), the lower ones either half the top one or replications of prior standards, and the colour depths a matter of "how many bitplanes can we fit into an affordable amount of memory at these resolutions"?. 16 colours doesn't seem much by modern standards but is plenty for putting up a nameplate or a league table with some simple icons or logos, and you can get away with 320x480 (or 640x200) with a bit of care if you want to use 256 colours instead.
And of course, besides that use, it's also quite good for normal everyday computer use. Take a regular, if high-quality TV. Fiddle with the guts so it now scans at double speed, non-interlaced, and accepts plain RGB input. Voila, a cheap VGA monitor. Solid picture (for the 80s, and with slow phosphors), good resolution that's about at the limit of what the CRT mask can support, and good colour depth. Hi rez with reasonable colour for word processing, business graphics, file handling and the like. Low rez for games and art packages.
Put them together and you have a fair coup vs the Mac and a host of other rivals of the time which were using non-TV compatible and typically lower resolutions with poor upgradeability. Excepting the Amiga of course, but that still had a lower colour depth (excepting the rather limited-utility HAM, and the highest rez 32-colour mode) and max NTSC resolution, and used an interlaced video mode for anything greater than 256 lines, so it wasn't so hot for hi-rez productivity.
Clear now? 193.63.174.211 (talk) 18:35, 23 January 2012 (UTC)