Page 1 of 2
Still not got started...
Posted: Sat May 16, 2009 11:08 am
by Axalto
Hello, I'm already looking for years for more information about making a OS.
I already do have:
- HUGE amount of knowlege about c, c++, computers and how a Os works
- OS development: Design and Implementation 3e edition (the Minix book)
- MINIX 3
- the source code of MINIX 3
- years of time
- 2 Old computers I want to use to test my os.
- NASM and TASM
I don't have:
- a os development IDE (working)
- Knowlege about paging
I don't want:
- to hear it's to hard
- to get broken links
- to let my 2 computers explode
I already have tryed to do the tutorials on the wiki.
Re: Still not got started...
Posted: Sat May 16, 2009 11:11 am
by 01000101
Sounds like you have at least laid out what you know and don't know (which is surprisingly a rarity for starters).
You said you've tried the tutorials in the wiki? how did that go? You may also want to check out the (in)famous Bran's tutorial (osdever.net) and also JamesM's tutorials. There is a ton of info in the wiki about paging, just do a simple search in the wiki for it. We also have a huge book recommendation thread in this forum, I'd check it out and pick up about 10 more books (all probably used for $0.10) and don't forget the *free* Intel SDMs (either in print or PDF).
Good Luck.
Re: Still not got started...
Posted: Sat May 16, 2009 12:00 pm
by Troy Martin
This is probably one of the best books you can get. It's old, but effective. I just got my copy yesterday in the mail and I love it.
Re: Still not got started...
Posted: Sat May 16, 2009 12:10 pm
by Axalto
Troy Martin wrote:This is probably one of the best books you can get. It's old, but effective. I just got my copy yesterday in the mail and I love it.
Tx for posting.
I'm affraid this isn't somthing I need.
I need information about the practical side of OS development.
Like: How to set up a IDE for OS development
I'm affraid the tutorials couldn't help me get started for some reason.
[edit]Plz[edit] just help me set up a c/c++ IDE for OS development.
Re: Still not got started...
Posted: Sat May 16, 2009 12:20 pm
by Troy Martin
Axalto wrote:Plzplzplzplzplzplz
Okay, around here, that will get you nothing but flames and a tempban/warning. Just telling you nicely.
Re: Still not got started...
Posted: Sat May 16, 2009 12:57 pm
by NickJohnson
You don't really need an IDE to do OS programming, but you need to have some sort of build environment. I'm guessing since you said you've worked with C and C++ a lot you have some compiler on your machine. You just need to configure it to produce an executable format recognized by whatever bootloader you're using (I use ELF with GRUB, for example), and not link to any libraries (this means *no* <stdio>, <stdlib>, or anything else).
Testing is a bit more unusual. You could just copy everything to a floppy and try it out on a real machine, but that is really really slow and dangerous. Both Bran and JamesM's tutorials show how to set up a virtual machine, which will let you rapidly test and debug things, although eventually you should do a real test. Look at Bran if you're using Windows and JamesM if you're using Linux for setups.
By following those tutorials you can get a good build system in place and get pretty far in development, but *please* do not actually use the tutorial code in a real kernel. You can use it to play around, but if you don't write your own kernel, A. it won't really be your project and B. you won't truly understand how it works.
Re: Still not got started...
Posted: Sat May 16, 2009 10:59 pm
by quanganht
IDE is not so important. I don't even have an IDE for OS developing. Just NotePad++. Look for Compilers and BareBones sections for real tutorials on building up the build enviroment and start your OS.
Re: Still not got started...
Posted: Sun May 17, 2009 7:13 am
by Axalto
quanganht wrote:IDE is not so important. I don't even have an IDE for OS developing. Just NotePad++. Look for Compilers and BareBones sections for real tutorials on building up the build enviroment and start your OS.
I think I did somthing wrong with the compiler, I keep getting the same error with kmain.
Re: Still not got started...
Posted: Sun May 17, 2009 7:18 am
by Combuster
have you yet bothered to google that error message?
Re: Still not got started...
Posted: Sun May 17, 2009 7:24 am
by Axalto
Combuster wrote:have you yet bothered to google that error message?
No... not yet
I first tryed it on my cluster computer...
It taked some time before I found out it didn't had a c/cpp compiler.
Re: Still not got started...
Posted: Sun May 17, 2009 8:16 am
by Axalto
Not found... (maiby i'm not good with google)
I decided to look at the Bare bones tut, maiby I missed somthing...
Gone! The page is gone!? The only thing I see if I click the link is a white page...
I begin to consider if it's maiby not worth to look for more info.
Re: Still not got started...
Posted: Sun May 17, 2009 9:52 am
by Troy Martin
Bare bones
MODS: lock this thread. Please.
Re: Still not got started...
Posted: Sun May 17, 2009 9:58 am
by Axalto
Troy Martin wrote:Bare bones
MODS: lock this thread. Please.
Not woking here...
Re: Still not got started...
Posted: Sun May 17, 2009 10:02 am
by Troy Martin
Hmm, that's weird.... The rest of the wiki's fine...
The "Bare Bones" page, the actual article, isn't functioning, but the source is alive and willing to work... I'll get on this.
EDIT: It's in the code, as I can't get it to work by copying the page's source to another name and hitting preview... same blank...
EDIT2: Dammit, Combuster, you fucked up the wiki! The asm.php or one of the highlighting files (most likely asm) has errors, causing a blank page!
MediaWiki Manual wrote:A blank white page indicates a PHP error which isn't being printed to the screen.
Re: Still not got started...
Posted: Sun May 17, 2009 10:13 am
by Axalto
I've found somthing to work with:
Cosmos:
http://www.gocosmos.org/index.en.aspx
I can't get the dev-kit working.