Page 1 of 1

Vesa & Bochs VBE Graphic driver help please please please

Posted: Thu Sep 18, 2014 10:15 am
by Divakar00100
hi everyone ,
I have created an kernel with minimum features like MM,multitasking ,heap ,Kbd driver ,PCi driver and an initial disk Fs....now I want to add some graphical UI..for that I want some Src..or tutorial for writing my graphical driver..Vesa or Bochs VBE ...any source will be high recommended....tutorials are also welcome....

eagerly waiting for response ....
thanking you,
divakar

Re: Vesa & Bochs VBE Graphic driver help please please pleas

Posted: Thu Sep 18, 2014 10:27 am
by PearOs
Divakar00100 wrote:hi everyone ,
I have created an kernel with minimum features like MM,multitasking ,heap ,Kbd driver ,PCi driver and an initial disk Fs....now I want to add some graphical UI..for that I want some Src..or tutorial for writing my graphical driver..Vesa or Bochs VBE ...any source will be high recommended....tutorials are also welcome....

eagerly waiting for response ....
thanking you,
divakar
Hello,

Have you read Beginner Mistakes? Please do not expect us, or anyone to just hand you over source code for a driver. You need to devote your own time and research into VESA and VBE.

Start by reading these two articles: Getting VBE Info and GUI

There is also a PDF available that has a lot of information on VESA and VBE. Here

You are welcome to ask questions about what you don't understand, or what part you are stuck on.. But please refrain from asking for source code, otherwise people will not take you seriously.

Sincerely and good luck,

Matt

Re: Vesa & Bochs VBE Graphic driver help please please pleas

Posted: Thu Sep 18, 2014 10:44 am
by JAAman
once you have finished the very basic parts of the OS, you will not find any source or tutorials you can use -- from this point on you must design everything yourself, at most you will have some technical documentation (mostly for hardware drivers, in this case VBE (its on the wiki) will provide you with some information, and the rest is graphics card-specific) and for things like window managers/GUI libraries/etc there will not be anything more than high-level overview of what some others have done (but you don't have to do it that way yourself)

unless you are only trying to recompile other existing systems, from this point on, don't count on having any source code, and definitely no tutorials -- if you don't think you can do it without tutorials and source code, then you definitely aren't ready for OSdev (and the parts you think you have already done, probably aren't done very well, since OSdev tutorial source isn't meant to be copied or mixed with other tutorials)

Re: Vesa & Bochs VBE Graphic driver help please please pleas

Posted: Fri Sep 19, 2014 12:47 am
by Divakar00100
Thnxs For reply i wanna know that can i get Some Reference PDFs it would be helpful!!!

Re: Vesa & Bochs VBE Graphic driver help please please pleas

Posted: Fri Sep 19, 2014 12:53 am
by iansjack
You've already been given some extremely useful links and I can't believe that you have had time yet to read and digest those documents. What more do you want? You have to do just a little work yourself.

Re: Vesa & Bochs VBE Graphic driver help please please pleas

Posted: Fri Sep 19, 2014 7:42 pm
by SpyderTL
There is example code for the bochs graphics adapter here:
http://wiki.osdev.org/Bochs_Graphics_Adaptor

There is sample VBE code here:
http://wiki.osdev.org/VBE

Look through these and let us know if you have any specific questions after that.

Changing the video mode and drawing pixels isn't as difficult as reading files from a file system so you shouldn't have too much trouble.

Good luck!