Page 1 of 1

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

Posted: Sun Sep 21, 2003 11:00 pm
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!

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

Posted: Mon Sep 22, 2003 11:00 pm
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

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

Posted: Mon Sep 22, 2003 11:00 pm
by St8ic
Really great tutorial, but it's for a C/C++ interface. It doesn't have any assembly GUI stuff.

But thanks anyway!

RE: How to start GUI?

Posted: Mon Sep 22, 2003 11:00 pm
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

RE: How to start GUI?

Posted: Wed Sep 24, 2003 11:00 pm
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?

RE: How to start GUI?

Posted: Wed Sep 24, 2003 11:00 pm
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).

RE: How to start GUI?

Posted: Thu Sep 25, 2003 11:00 pm
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.