Vesa & Bochs VBE Graphic driver help please please please

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.
Post Reply
Divakar00100
Posts: 8
Joined: Wed Sep 17, 2014 11:42 am

Vesa & Bochs VBE Graphic driver help please please please

Post 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
PearOs
Member
Member
Posts: 194
Joined: Mon Apr 08, 2013 3:03 pm
Location: Usually at my keyboard!

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

Post 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
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

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

Post 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)
Divakar00100
Posts: 8
Joined: Wed Sep 17, 2014 11:42 am

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

Post by Divakar00100 »

Thnxs For reply i wanna know that can i get Some Reference PDFs it would be helpful!!!
User avatar
iansjack
Member
Member
Posts: 4708
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

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

Post 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.
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

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

Post 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!
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Post Reply