Page 1 of 1


Posted: Sun Apr 04, 2010 10:29 am
by ryan
Dear Sir
I have completed the tutorial and now want to develop the graphical part.
If i use VBE i have to do this before entering into protected mode...most probebly
which will not be a preferable one....
I want to work with standard VGA to develop the graphical interface...
But i couldnt find out any good resource or example regarding this development.
I will be very grateful to you if you kindly provide me with few resources and examples...
Thank you....


Posted: Sun Apr 04, 2010 1:25 pm
by Jarvix
Hi Ryan,

I, and Mike with me, advice you to wait with writing a GUI.
A GUI is very hard to develop, and needs lots more than you have now.

The tutorials do not include the best code, nor it includes a memory manager (heap). You
will also need to write some multitasking first, and some driver interface for handling your own
written drivers for the hardware you want to support (think about the hardware in your own pc('s))

A GUI needs all those and programs do. So before writing a GUI, do all those plus more first.

One more tip: know your code, you should know what every line in your OS does.

If you REALLY want to do GUI: there is no much documents about the subject since it is not much done. I know there are 2 on

Success on OS development :)

// Jarvix


Posted: Tue Apr 06, 2010 3:37 pm
by ryan
Thank you.....
I will wait for the next part...
One more thing I want to share with you.
I saw a web site yesterday viz.
They have build a GUI.I downloaded the floppy version and executed it...
It was good but very slow.May be they have used BGA for this development....
Free source codes are also available...But i could not understand it.


Posted: Wed Apr 07, 2010 4:33 pm
by Jarvix
It is slow because they cannot write a graphic card driver for every existing card. So it is using the CPU to put everything on the screen with memset's and memcpy's

// Jarvix


Posted: Fri May 07, 2010 1:24 pm
by xilvium
Hello Ryan,

I would suggest you to wait before going graphical. What I would do is implement multitasking and a heap like jarvix said.
And then Jump to user mode, and then port a c library or create your own ofcourse. After that has been done I would suggest using a VM8086 monitor. uses a vm8086 monitor to and since their os is opensource you can look on how they implemented it. I would also recommend jamesmolly's tutorials since they are a very very good read and they explain on how to implement multitasking and a heap.

I am not saying that you SHOULD do it this is the way on how I would do it.
I hope I was of any help to you!



Posted: Mon Aug 23, 2010 10:28 am
by Boazdexter
i really want to know about vga graphics
and what kind of other graphics cards are available ?

"Want to get-on Google's first page and loads of traffic to your website? Hire a SEO Specialist from Ocean Groups seo pecialist


Posted: Tue Jan 25, 2011 3:13 pm
by BenBowen
I would not say GUIs are hard to develop, at least not if you have the support. They just require a lot of functionality, which overall takes time. I have programmed one myself, using Direct3D to interface with the hardware. I'm making my game engine a robust portability system. In turn, I'm required to write my own GUI for most things that my tools will feature. I also have to support the PNG image, and OGG sound formats without DirectX.

You should probably start by making a list of what your GUI will have. Then build it from there.