VGA GRAPHICS

If you are new to development, plan on spending some time here before visiting the other forums.

Moderator: Moderators

VGA GRAPHICS

Postby ryan » Sun Apr 04, 2010 10:29 am

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....
ryan
 
Posts: 7
Joined: Tue Mar 23, 2010 3:49 pm

Re: VGA GRAPHICS

Postby Jarvix » Sun Apr 04, 2010 1:25 pm

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 osdever.net

Success on OS development :)

// Jarvix
Jinix. Kernel programming is a black art that should be avoided if at all possible.
Jarvix
 
Posts: 21
Joined: Mon Apr 06, 2009 6:08 am

Re: VGA GRAPHICS

Postby ryan » Tue Apr 06, 2010 3:37 pm

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. http://visopsys.org/about/screenshots.html
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.
ryan
 
Posts: 7
Joined: Tue Mar 23, 2010 3:49 pm

Re: VGA GRAPHICS

Postby Jarvix » Wed Apr 07, 2010 4:33 pm

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
Jinix. Kernel programming is a black art that should be avoided if at all possible.
Jarvix
 
Posts: 21
Joined: Mon Apr 06, 2009 6:08 am

Re: VGA GRAPHICS

Postby xilvium » Fri May 07, 2010 1:24 pm

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. www.yaosp.org 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. www.jamesmolloy.co.uk

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!

-Xilvium
xilvium
 
Posts: 13
Joined: Sat Feb 14, 2009 3:13 pm

Re: VGA GRAPHICS

Postby Boazdexter » Mon Aug 23, 2010 10:28 am

hye
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
"
Boazdexter
 
Posts: 2
Joined: Mon Aug 23, 2010 10:17 am

Re: VGA GRAPHICS

Postby BenBowen » Tue Jan 25, 2011 3:13 pm

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.
BenBowen
 
Posts: 12
Joined: Tue Nov 16, 2010 2:12 am
Location: US


Return to Beginners

Who is online

Users browsing this forum: No registered users and 1 guest

cron