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
Writing an os, what now?
- stevenup7002
- Member
- Posts: 60
- Joined: Tue Sep 20, 2005 11:00 pm
- Location: Ireland
- Contact:
-
- Member
- Posts: 25
- Joined: Sat Jun 25, 2005 11:00 pm
Re: Writing an os, what now?
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
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
- stevenup7002
- Member
- Posts: 60
- Joined: Tue Sep 20, 2005 11:00 pm
- Location: Ireland
- Contact:
Re: Writing an os, what now?
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
- carbonBased
- Member
- Posts: 382
- Joined: Sat Nov 20, 2004 12:00 am
- Location: Wellesley, Ontario, Canada
- Contact:
Re: Writing an os, what now?
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
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