VGA programming:

Programming, for all ages and all languages.
Post Reply
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

VGA programming:

Post 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
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: VGA programming:

Post by DeletedAccount »

PCGPE could be of help , lots of vga programming tutorials out there , just a matter of searching :)
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: VGA programming:

Post by DeletedAccount »

http://atrevida.comprenica.com/

This would help as well :)

Truly Evil
Saint Lucifer
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: VGA programming:

Post 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
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: VGA programming:

Post 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
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: VGA programming:

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
kmtdk
Member
Member
Posts: 263
Joined: Sat May 17, 2008 4:05 am
Location: Cyperspace, Denmark
Contact:

Re: VGA programming:

Post 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
well, what to say, to much to do in too little space.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: VGA programming:

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
TheDragon
Member
Member
Posts: 43
Joined: Mon Aug 25, 2008 8:23 pm
Location: Middle of Nowhere

Re: VGA programming:

Post 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
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: VGA programming:

Post 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:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply