Page 1 of 1

VGA programming:

Posted: Fri Aug 08, 2008 6:37 am
by kmtdk
Hi (again)
Now, after trying to understand the "VGA", and still not got the point, i would ask you:
does any have a easy-to-understand tutorial, or some easy-to-understand documents; since the languaged, used in thouse i have found, is too complicatede, and to heavy ....

KMT dk

Re: VGA programming:

Posted: Fri Aug 08, 2008 6:58 am
by DeletedAccount
PCGPE could be of help , lots of vga programming tutorials out there , just a matter of searching :)

Re: VGA programming:

Posted: Fri Aug 08, 2008 7:54 am
by DeletedAccount
http://atrevida.comprenica.com/

This would help as well :)

Truly Evil
Saint Lucifer

Re: VGA programming:

Posted: Fri Aug 08, 2008 10:06 am
by DeletedAccount
Also check out check out Zen of Graphics Programming , by Michel Abarash , You can possibly learn many techniques which otherwise would take years for you to master

Truly Evil
Saint Lucifer

Re: VGA programming:

Posted: Fri Aug 08, 2008 11:01 am
by DeletedAccount
http://www.vesa.org/public/VBE/vbe3.pdf

http://home.worldonline.dk/finth/

http://www.osdever.net/FreeVGA/home.htm

Hope these links help as well

Bored :( , 2 more hours to spare at the office

Truly Evil
Saint Lucifer

Re: VGA programming:

Posted: Fri Aug 08, 2008 12:57 pm
by Combuster
VGA Hardware
Michael Abrash - Graphics Programming Black Book

And please, do tell us your exact problem rather than just saying you have a problem.

Re: VGA programming:

Posted: Fri Aug 08, 2008 2:20 pm
by kmtdk
well
sry about that,,,
havn't been too much here today..
I realy cant understand the most documents on the VGA registers, since the used language are too compicated, and the way everything are described, are too diffecault too understand.
And so i was asking for some "easy'er to understand documentes / tutorials".
Of cause i have been looking at the wiki's VGA Hardware, but it seems that it need something, and some other porblems, but one major thing it godt is the last part, describing the registers, how they are suposed to be, to enter a specifed mode !

KMT dk

Re: VGA programming:

Posted: Fri Aug 08, 2008 3:20 pm
by Combuster
Well, the wiki article is meant to give you a basic understanding of how the various part of the VGA work. You have the video memory, the interface between memory and the system bus (GC), the interface on video memory that grabs the needed bytes to display (Sequencer), Color generation logic (AC+DAC), and video signal logic (CRTC)

Once you got that bit, you can imagine what kind of things there need to change to change a video mode.

The majority deals with the CRTC - you have more or less pixels on the screen, and all the timing needs to be set properly. The AC only needs changing when you change color depth, or change color settings.
The sequencer only needs to change when data in video memory needs to be interpreted differently (i.e. between text and framebuffer mode)
The GC only needs a change when the appearance of video memory needs to change in the host's view.

But please do tell how much you did understand already about those registers. It doesn't help at all by being vague.

Re: VGA programming:

Posted: Sat Oct 25, 2008 11:55 pm
by TheDragon
You might also want to check out Denthor's articles/assembly trainers ("VGA trainers"), found on gamedev.net, and also maybe Adam's Assembler tutorials, found at programmersheaven.com

Re: VGA programming:

Posted: Mon Oct 27, 2008 3:58 am
by Combuster
I know that Denthor's tutorials are just mode 13, i.e. only a bios call to set modes then some drawing stuff. No vga registers involved.

Also look at the date :roll: