Page 1 of 1
Writing an os, what now?
Posted: Sat Sep 24, 2005 11:00 pm
by stevenup7002
I'm writing an os, I've made the bootsector but now i'm slumped, I am tired of assembler and want to do somthign in C, how will I give control over to C? I am using emu8086 and Miracle C. also I'm making a GUI, I was thinking maybe using GNOME, what do I do to make the GUI?
-steven
Re: Writing an os, what now?
Posted: Sat Sep 24, 2005 11:00 pm
by AltCtrlDel
emu8086? are you going to build a 16 bit OS?
anyway, I think you have missed something .. developing an OS is completely different than developing an application .. try to read more about system programming, developing device drivers and the x86 architecture.
and read this
http://www.osdev.org/index.html?module= ... opic&t=392
Re: Writing an os, what now?
Posted: Sun Sep 25, 2005 11:00 pm
by stevenup7002
I think I made a big mistake starting in emu8086, maybe I could make a nas m version. anyway, it's supposed t obe a 32 bit protected mode os
Re: Writing an os, what now?
Posted: Tue Sep 27, 2005 11:00 pm
by carbonBased
You should probably research these things a little more before actually attempting to write an OS.
Switching from ASM to C is as easy as calling or jumpting to a C function from assembly. This is a pretty straight-forward task if you're familiar with either C or assembly.
I would definitly suggest reading up on this sort of thing more and getting a good knowledge base in before attempting... not to be harsh, but simply because I know far too many people that started to early, got extremely discouraged, and simply never finished, and never tried again.
Writting an OS can be quite fun... if you have the right experience behind you to deal with the issues that will come up.
--Jeff