Re: Is C a good OS-Developing language?
Posted: Sun Sep 11, 2011 6:00 pm
5000 x 4068 Just waiting for the right personberkus wrote:Do you have a high-res of that picture?
The Place to Start for Operating System Developers
https://f.osdev.org/
5000 x 4068 Just waiting for the right personberkus wrote:Do you have a high-res of that picture?
i'm not sure what you're doing, but C is more or less the de-facto standard for kernel writing.iON wrote:not to just repeat everyone,but i like bochs.
one thing i do is create a virtual floppy,write it,close it,and then use bochs to load it.
sorry i can't point to a specific one,but there are several ways to make virtual floppies found all around.
(makes it easier then destroying a real floppy,cd,or even real HDD )
also,when you said you didn't want to destroy the pc,just try to not actualy write to anything.
so far i've only done memory "mov"s,and that gets reset when the (cpu) chip does.
idk if c is good,i was afraid to use it for a kernel because a few attempts in grub wouldn't even find my kernel! ill tell you if i can
Whether or not GRUB finds your kernel won't have anything to do with your choice of programming language. Chances are that something was wrong about the positioning or content of the multiboot header.iON wrote:idk if c is good,i was afraid to use it for a kernel because a few attempts in grub wouldn't even find my kernel! ill tell you if i can
Most, yes. You cannot load a GDT, switch to usermode, etc. There are many things you'll have to write in assembly to do that are quite important.so you can do most of the stuff you can do in assembly by using C alone? is it THAT low level?
Why? As long as you don't modify anything on the computer there'd be no reason to...just boot it off a CD of floppy.LOL, dad would kill me if i tried to boot my own operating system onto the PC... -.-'
Thats cause you did something wrong.idk if c is good,i was afraid to use it for a kernel because a few attempts in grub wouldn't even find my kernel! ill tell you if i can
He did show some attitude last time but still, he's welcome to stay here......miker00lz wrote:P.S. i see you havent found a better site for OS devving. and you won't.
My dad would've been so proud of me if he had lived to see what I'm doing. I'd definately dedicate my work to my dad when I make a release (and you'd better start convincing yours).DJAlexem wrote:but dad still would not let me
if anything, i'd devote my mixes (and maybe even singles >.<) to my parents and family, and dedicate any programming feats or successful operating Systems to my gf...Chandra wrote:My dad would've been so proud of me if he had lived to see what I'm doing. I'd definately dedicate my work to my dad when I make a release (and you'd better start convincing yours).
Not good advice - it is possible to damage a machine if you make a mistake, so the best thing to do is get hold of an old machine for as little money as possible (e.g. free) and test your OS on that during the early stages. If you blow it up, get another. I managed to destroy a couple of machines early on, though in those days I worked mainly by trial and error as I didn't have access to the Web and couldn't get hold of the kind of information that's so easy to find here. I also had a number of crashes which left a machine unable to boot until I drained the battery that maintains the CMOS memory when the machine's off - that's not something you want to have to do with an expensive machine. It's only recently that I've dared to run my OS on top-of-the-range machines, and so far no problems, but I still try out everything new on a cheap netbook first just in case something goes horribly wrong.piranha wrote:As long as you don't modify anything on the computer there'd be no reason to...just boot it off a CD of floppy.
DJAlexem wrote:and dedicate any programming feats or successful operating Systems to my gf...
LOL, n1 ghost, does ur fiance read this site?GhostXoPCorp wrote:My fiancé thinks its cute.
..i then lock her car and hide the keys. When she looks for it, i call her cute.
xD, your so screwed, better hide t3h evidence...GhostXoPCorp wrote:She better not now