VGA programming:
VGA programming:
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
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.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Re: VGA programming:
PCGPE could be of help , lots of vga programming tutorials out there , just a matter of searching
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Re: VGA programming:
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
Truly Evil
Saint Lucifer
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
Re: VGA programming:
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
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
- Combuster
- 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:
VGA Hardware
Michael Abrash - Graphics Programming Black Book
And please, do tell us your exact problem rather than just saying you have a problem.
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:
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
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.
when it goes up hill, increase work, when it goes straight, test yourself but when going down, slow down.
- Combuster
- 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:
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.
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:
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
- Combuster
- 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:
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
Also look at the date