Page 1 of 1

OSDev Series: Graphics 2

Posted: Fri Mar 01, 2013 7:54 pm
by neon
Hello everyone,

This is an initial release for the OSDev Series Graphics 2 article which covers VGA firmware, hardware, and some SuperVGA with an emphasis on VBE. The goal is to provide enough content to provide readers the basic display device interfaces system software can use for setting and using low and high resolution display modes.

Topics:
1. Interfacing with the BIOS
2. VGA (modes, firmware and hardware interface, setting modes, linear and planar memory)
3. SuperVGA interfacing (problems, VBE, LFB and bank switching)
Additional content on SuperVGA might be added in the future.

Complete demos are planned for release sometime in the next 1-2 weeks. All feedback is appreciated (particularly any errors that might be found.) Also we are trying different layouts for all articles in the future; please let us know if you like or have suggestions on the layout.

Re: OSDev Series: Graphics 2

Posted: Fri Mar 01, 2013 11:29 pm
by Antti
Your layout looks good. Especially I like that you do not have "Add comments / Like buttons" features. I mean it. This kind of "static content" is good in the long term. Forums are for discussions.

Re: OSDev Series: Graphics 2

Posted: Sat Mar 02, 2013 4:21 am
by iansjack
I haven't been through it all yet, but that looks like really useful stuff. Also I'll be checking out your other tutorial material.

Thank you so much for taking the trouble to compile this material and point us towards it.

Re: OSDev Series: Graphics 2

Posted: Sat Mar 02, 2013 6:10 am
by Luis
Hi,

That is a great start. It cleared up some basics I was having trouble to understand. Can't wait for what's coming next :)
Thank you very much for your work.


Cheers,

Luís

Re: OSDev Series: Graphics 2

Posted: Tue Mar 05, 2013 1:20 pm
by ~
Do you have the register values for all standard, and maybe all of the possible modes?

This information does not exist in a single place and very ordered, as far as I know.

And in the end this is one of the most useful and necessary things to include.

________________________
Another thing that is absolutely lacking is: What does every VGA register really does, and what exactly does each bit value means?

I think I could provide some very small amount of code and information about this, obtained mostly querying the hardware manually with my LowEST project, and also because I am trying to implement a VGA emulator using HTML5 Canvas.

I think that in the long run such emulator could aid as an interactive VGA tutorial in the browser:

http://126.sytes.net/brainstorm/VGAEmu/

As you can see however, it is far too incipient, but it is something.

Re: OSDev Series: Graphics 2

Posted: Tue Mar 05, 2013 4:46 pm
by Combuster
~ wrote:Do you have the register values for all standard, and maybe all of the possible modes? This information does not exist in a single place and very ordered, as far as I know.
This tool has the biggest list that I know of - including those settings that can burn out old VGA monitors and induce epilepsy. You could have searched the wiki and find the page on VGA Hardware for the common ones. However, even a VGA can do more resolutions than you can count in a 16-bit number, so an exhaustive list is not meaningful - there are ways to calculate the settings for practically all the modes.

Add the VGA Resources page, and you can answer all the remaining questions as well... A tutorial should not be a replacement for the manual and as such shouldn't want to list all the bitfields and their meanings either.