5000 x 4068 Just waiting for the right personberkus wrote:Do you have a high-res of that picture?
Is C a good OS-Developing language?
Re: Is C a good OS-Developing language?
Re: Is C a good OS-Developing language?
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
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
Re: Is C a good OS-Developing language?
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
P.S. i see you havent found a better site for OS devving. and you won't.
Re: Is C a good OS-Developing language?
LOL, mike, ur so right, this is the beast OSDeving site, even if i fail at developing a simple kernel, i will still remain here and watch people's work, and be an all round 'yes' man and theory guide
plus im starting to see how more and more things work, this site is a godsend...
plus im starting to see how more and more things work, this site is a godsend...
Re: Is C a good OS-Developing language?
Hi,
Cheers,
Adam
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
Cheers,
Adam
- piranha
- Member
- Posts: 1391
- Joined: Thu Dec 21, 2006 7:42 pm
- Location: Unknown. Momentum is pretty certain, however.
- Contact:
Re: Is C a good OS-Developing language?
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
-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Re: Is C a good OS-Developing language?
Lol piranha, thx for that, but dad still would not let me, xD, its an expensive pc...
Re: Is C a good OS-Developing language?
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.
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
Re: Is C a good OS-Developing language?
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
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
Re: Is C a good OS-Developing language?
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).
- DavidCooper
- Member
- Posts: 1150
- Joined: Wed Oct 27, 2010 4:53 pm
- Location: Scotland
Re: Is C a good OS-Developing language?
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.
Help the people of Laos by liking - https://www.facebook.com/TheSBInitiative/?ref=py_c
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
MSB-OS: http://www.magicschoolbook.com/computing/os-project - direct machine code programming
Re: Is C a good OS-Developing language?
DJAlexem wrote:and dedicate any programming feats or successful operating Systems to my gf...
My fiancé thinks its cute.
..i then lock her car and hide the keys. When she looks for it, i call her cute.
Re: Is C a good OS-Developing language?
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.
Re: Is C a good OS-Developing language?
She better not now
Re: Is C a good OS-Developing language?
xD, your so screwed, better hide t3h evidence...GhostXoPCorp wrote:She better not now