Hello All,
Thank god i have finaly gathered the basics of a OS and i am about to start it.
The first thing i will need to know is what librarys i should use.
All i want the OS to do is run well and the user needs to be able to save and make .txt files.
So if anyone can give me info on that or operating systems that would be great.
Thanks.
P.S. Thanks to everyone who have replied in my past few threads that was alot of help.
Start Of OS
Started by brade8000, Mar 12 2010 04:01 AM
7 replies to this topic
#1
Posted 12 March 2010 - 04:01 AM
|
|
|
#2
Posted 12 March 2010 - 04:13 AM
It's longer than you make it sound there, plus just look them up on Wikipedia.
C++ - Wikipedia, the free encyclopedia
It'll take a long time so get ready (by the way I wouldn't use Visual Studio 2010).
C++ - Wikipedia, the free encyclopedia
It'll take a long time so get ready (by the way I wouldn't use Visual Studio 2010).
#3
Posted 12 March 2010 - 07:01 AM
You realize when we're referring to library we're talking about like.. glibc that giant C library full of the standard and non-standard functions.
Like printf, all the string functions.. memory functions.. you're going to be writting your own memory manager and filesystem (or going off an existing filesystem design such as writing a FAT driver like most beginners do) going to be writing your own.. everything.
Like we said before go to the osdev.org wiki and learn how to write some bootcode and a hello world bootloader. Easy stuff. Now I want you to read tutorials, whitepapers and intel developer reference manuals until you understand every bit of that bootloader <-- self teaching myself this part alone took me off and on a year (mainly because I went through learning assembly first which I also strongly recommend). Then begin the barebones kernel tutorials and they will walk you through how a kernel starts to take shape.
Now after doing all these tutorials and copy and pasting random pieces of code you'll probably realize just how important planning out a large project such as a O/S truly is and you'll find yourself starting from scratch because your kernel code is hopelessly tangled in a giant mess of random and sloppy code.
Like printf, all the string functions.. memory functions.. you're going to be writting your own memory manager and filesystem (or going off an existing filesystem design such as writing a FAT driver like most beginners do) going to be writing your own.. everything.
Like we said before go to the osdev.org wiki and learn how to write some bootcode and a hello world bootloader. Easy stuff. Now I want you to read tutorials, whitepapers and intel developer reference manuals until you understand every bit of that bootloader <-- self teaching myself this part alone took me off and on a year (mainly because I went through learning assembly first which I also strongly recommend). Then begin the barebones kernel tutorials and they will walk you through how a kernel starts to take shape.
Now after doing all these tutorials and copy and pasting random pieces of code you'll probably realize just how important planning out a large project such as a O/S truly is and you'll find yourself starting from scratch because your kernel code is hopelessly tangled in a giant mess of random and sloppy code.
"The best optimizer is between your ears" - Michael Abrash
Saying you can optimize a program is like saying you understand how a program works on every level of every facet on a specific machines configuration.
Saying you can optimize a program is like saying you understand how a program works on every level of every facet on a specific machines configuration.
#4
Posted 12 March 2010 - 01:47 PM
You may find this website helpful: Main Page - OSDev Wiki
Root Beer == System Administrator's Beer
Download the new operating system programming kit! (some assembly required)
Download the new operating system programming kit! (some assembly required)
#5
Posted 12 March 2010 - 10:55 PM
@brade: Dude, brade...I've told you like three times that you need to write all your own libraries. You can't use anything you didn't write yourself. (Barring libaries people wrote specifically for developing operating systems from scratch.) You are going to have to read the Intel Architecture Software Developer's Manual carefully and know the information in it well, especially volumes 1, 3A and 3B.
@sysop: Thank you for being the voice of sanity. :)
@sysop: Thank you for being the voice of sanity. :)
sudo rm -rf /
#6
Posted 13 March 2010 - 12:39 AM
sorry dargueta
#7
Posted 13 March 2010 - 02:54 AM
Sorry if I sounded harsh, that wasn't my intent. If anything I should be the one that's sorry. Just please do some reading. :) If you have questions about operating system concepts, feel free to ask us. But learning how to write an operating system without knowing this stuff is like a cropduster wanting to fly a 757. Achievable, but it takes work.
sudo rm -rf /
#8
Posted 13 March 2010 - 04:12 PM
Thanks i will do some reading


Sign In
Create Account


Back to top










