VESA vs VGA

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Locked
BPearl
Posts: 5
Joined: Fri Aug 01, 2008 11:37 pm

VESA vs VGA

Post by BPearl »

Hi friends,
I want to develop a video driver for protected mode.
My doubts are the following:

1. Can we use VGA functions in P-Mode?
2. What is the difference between VGA and VESA?
3. Is there any difference between a VESA and a video driver?

Thanks in advance for reply
User avatar
gzaloprgm
Member
Member
Posts: 141
Joined: Sun Sep 23, 2007 4:53 pm
Location: Buenos Aires, Argentina
Contact:

Re: VESA vs VGA

Post by gzaloprgm »

Can we use VGA functions in P-Mode?
Not directly. Indeed, you can reprogram video controller to enter some mode. Check "Video registers" in the wiki: http://wiki.osdev.org/VGA_Hardware
2. What is the difference between VGA and VESA?
VESA is the company. VGA is the resolution.

With VBE (vesa bios extension) you can have higher resolutions (AFAIK up to 1440 x something) while vga is 640x480x16colors.
3. Is there any difference between a VESA and a video driver?
A vesa?!

Cheers
Gonzalo
Visit https://gzalo.com : my web site with electronic circuits, articles, schematics, pcb, calculators, and other things related to electronics.
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: VESA vs VGA

Post by Combuster »

"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 ]
Locked