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.
OSDev Series: Graphics 2
OSDev Series: Graphics 2
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: OSDev Series: Graphics 2
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
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.
Thank you so much for taking the trouble to compile this material and point us towards it.
Re: OSDev Series: Graphics 2
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
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
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.
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.
YouTube:
http://youtube.com/@AltComp126
My x86 emulator/kernel project and software tools/documentation:
http://master.dl.sourceforge.net/projec ... 7z?viasf=1
http://youtube.com/@AltComp126
My x86 emulator/kernel project and software tools/documentation:
http://master.dl.sourceforge.net/projec ... 7z?viasf=1
- 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: OSDev Series: Graphics 2
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.~ 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.
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.