---------------> How to start GUI? <------------------

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
St8ic

---------------> How to start GUI? <------------------

Post by St8ic »

Hi,
Despite the advice of every tutorial ever written (and common sence) I'm gonna start putting a GUI on my _simple_ (a boot loader with prompt) kernel. PLEASE don't tell me about how it's such a bad idea. It's not that I don't know it is, It's just that I'm an idiot.

Well now that we're past that little self-flaming session here's my issue:

How do I start my GUI? My kernel has absolutely no librarys (libc or graphics) so I need it to be in x86 assembly. Completely independant. Any tutorials, code or other forms of help would be greatly appreciated.

THANKS A WHOLE BUNCH!
uri

RE:---------------> How to start GUI? <---------------

Post by uri »

Don't know if you've already seen this, but there's a quite good tutorial on GUI development at osdever.net. The URL is http://osdever.net/tutorials/GUI_tut.php?the_id=62
St8ic

RE:---------------> How to start GUI? <---------------

Post by St8ic »

Really great tutorial, but it's for a C/C++ interface. It doesn't have any assembly GUI stuff.

But thanks anyway!
Jamethiel

RE: How to start GUI?

Post by Jamethiel »

With all due respect, if you're going to be stupid you have to be intelligent about it.

It doesn't matter that it's for C/C++, you can use the ideas as a basis to write in ASM.

Failing that, just rip Menuet OS off.

--Jamethiel
St8ic

RE: How to start GUI?

Post by St8ic »

*I don't rip off code*

On an alternate note, how could I impliment a libc so I could use that C/C++ tutorial?
ashok s das

RE: How to start GUI?

Post by ashok s das »

I don't know how complex is ur kernel. If u r interested for implementing libc completely it is not ok.you may check alexie.a.frunge's os for libc. he uses TC. You may check FD-32(freedos-32) too. But regarding Kernel In Assembly Menuet-os and DS-OS are best in my knowledge(my knowledge is limited.). You may also search for Pico-dos by L.Pascal in ASM similar to your kernel(Probably).
uri

RE: How to start GUI?

Post by uri »

You won't need a complete libc to follow that tutorial. All you need is working memory management and a function to switch video modes.
Post Reply