Graphical User Interface

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.
Locked
010101
Posts: 4
Joined: Tue Aug 30, 2011 1:00 pm

Graphical User Interface

Post by 010101 »

Hi,

Please may you confirm if I will be considered applicable to request information how to implement a graphical user interface regarding a simple OS project. I'd like to develop a small 1.44 mb floppy disk bootloader and write a binary file into the first sector of a virtual floppy disk and then emulate this in memory with Microsoft Virtual PC 2007.

If you may provide me assistance regarding my enquiry stated above I would gratefully appreciate your co-operation.

010101.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Graphical User Interface

Post by Combuster »

forum rules wrote:Some people who get that they shouldn't behave rudely or arrogantly, demanding an answer, retreat to the opposite extreme of grovelling. "I know I'm just a pathetic newbie loser, but...". This is distracting and unhelpful. It's especially annoying when it's coupled with vagueness about the actual problem.

Don't waste your time, or ours, on crude primate politics. Instead, present the background facts and your question as clearly as you can. That is a better way to position yourself than by grovelling.
Your question, please?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
010101
Posts: 4
Joined: Tue Aug 30, 2011 1:00 pm

Re: Graphical User Interface

Post by 010101 »

Combuster,

I am definitely not arrogant and rude. However, I have looked at the tutorials section on osdev's website but unable to locate tutorials how to implement GUI's. Got a BTEC National Diploma at Level 2 in IT Computing.

http://wiki.osdev.org/Main_Page

010101.
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Graphical User Interface

Post by Love4Boobies »

Right. Well, there are none of those. It would be silly to have tutorials describing every aspect of the OS---once you get to a point, you need to be able to figure things out on your own. Not to mention that tutorials are inherently bad for learning.

However, we do have articles describing different graphics interfaces (e.g., VGA, VBE). Knowing how to do graphics and what your GUI is supposed to do, it's just a matter of coding it.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
010101
Posts: 4
Joined: Tue Aug 30, 2011 1:00 pm

Re: Graphical User Interface

Post by 010101 »

Love4Boobies wrote:Right. Well, there are none of those. It would be silly to have tutorials describing every aspect of the OS---once you get to a point, you need to be able to figure things out on your own. Not to mention that tutorials are inherently bad for learning.

However, we do have articles describing different graphics interfaces (e.g., VGA, VBE). Knowing how to do graphics and what your GUI is supposed to do, it's just a matter of coding it.
I will rephrase my original question. Please can you confirm how to code my gui. Do I require OpenGL, DirectX, or something else?

010101.

P.S: Thank you Love4Boobies. I will be able to figure out pretty much what I am looking for at a later date. #-o
User avatar
Nessphoro
Member
Member
Posts: 308
Joined: Sat Apr 30, 2011 12:50 am

Re: Graphical User Interface

Post by Nessphoro »

010101 wrote: Do I require OpenGL, DirectX, or something else?
"You're not ready yet, young padawan"©
010101
Posts: 4
Joined: Tue Aug 30, 2011 1:00 pm

Re: Graphical User Interface

Post by 010101 »

A simple hint would be gratefully appreciated. :|

[edit]
Ok, after a bit of research Win32 Programmers call RegisterClassEx() with a WNDCLASSEX struct. I assume that ive got to implement something which is relatively similar and load textures into memory some how.

[edit2]

Ok, after a bit more research, seems I need to look at this memory address 0xb800. Right? I think its to do with single or double buffering but will look into that in a short-while...

010101.
User avatar
Nessphoro
Member
Member
Posts: 308
Joined: Sat Apr 30, 2011 12:50 am

Re: Graphical User Interface

Post by Nessphoro »

It's 0xB8000, secondly if you're going to use that...well I'd like to see that actually being implemented.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: Graphical User Interface

Post by piranha »

Please may you confirm if I will be considered applicable to request information how to implement a graphical user interface regarding a simple OS project.
Okay, correct me if I am wrong, but I read that and it seems like you just asked if you could ask a question. In response: Yes, you may ask a question.

However, the actual questions you asked later on would indicate that you need to do a lot more research...

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
quok
Member
Member
Posts: 490
Joined: Wed Oct 18, 2006 10:43 pm
Location: Kansas City, KS, USA

Re: Graphical User Interface

Post by quok »

berkus wrote:
piranha wrote:However, the actual questions you asked later on would indicate that you need to do a lot more research...
Or ask a lot more polite questions, so to say...
No, no. A lot more research. Google, the wiki.... past forum threads, etc. All the information needed is already there.
Locked