Getting Started

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Tehy

Getting Started

Post by Tehy »

Hi!
What I need to getting startet developed OS?
I have been read the tutorial but I don't know what I really need download.

Sorry my bad english!
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Getting Started

Post by Pype.Clicker »

http://www.osdev.org/osfaq2/index.php/Getting%20Started ?

- get cygwin (assuming you're dev'ing from a Win* platform)
- get bochs
- get grub (yeah, really)
- get tools to get http://www.osdev.org/osfaq2/index.php/W ... k%20Images
Tehy

Re:Getting Started

Post by Tehy »

Ok, thanks!

I download:
-Cygwin
-grub-0.95-i386-pc
-grub_disk
-bochs-20040926

Are those right ones?
What I need to do next? is there some editor like c++, vb6 which I start developed?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Getting Started

Post by Pype.Clicker »

you mean an Integrated Development Environment ? there are many. If you're used with MS tools, a bit of tweaking in options menu should allow you to tell VC++ to use cygwin compiler instead ;)

I guess ultraedit or eclipse can be used aswel, though i don't have tried them myself.
Tehy

Re:Getting Started

Post by Tehy »

I also have been read that I need do some code with assembly is the own editor with assembly?

So can I use Visual C++ developed my OS?
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Getting Started

Post by Solar »

Oi, oi, oi, Tehy... :o

Sit back. Relax. Breathe!

There.

Better, no? :D

OK. I understand you have worked with VisualStudio / VB / VC++ before, but little else, and now you want to write your own OS. Right?

Well, you're welcome. However, there is much you will have to learn, lots of reading to be done, lots of figures to be drawn - in the very least, in your head - and it will take years to get to a point where you can show your OS to your peers.

So, no hurry, OK? :D

I strongly suggest you go to the OS FAQ, and read it through. You don't have to understand every little detail, you don't even have to read every little detail if it's clear to you it doesn't apply to you. But it will give you a better understanding of what we (meaning the OS Dev' "veterans") are doing every day, and it will give you the vocabulary to ask the right questions and to understand the answers.

To answer your direct questions, you don't need any "special editor" for writing assembly. Any text editor will do, measly Notepad all the way up to VisualStudio.

And yes, you can use VisualC++ for developing your OS, although it's not exactly the tool of choice since it's strongly biased towards application development. But it can be done.
Every good solution is obvious once you've found it.
Tehy

Re:Getting Started

Post by Tehy »

Yes I want write my own OS :)

I will read that OS FAQ. Does anyone know good site where I can learn basic things in assemble?

Thanks for the good avices Solar!
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Getting Started

Post by Pype.Clicker »

your local bookstore/library should have pocket books about basic assembly programming ... they'll probably outrun any website and may be translated/written in your native language ;)
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Getting Started

Post by Solar »

You might want to try "The Art of Assembly".

(Don't we have that somewhere in the FAQ? If not, we should!)
Every good solution is obvious once you've found it.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Getting Started

Post by Pype.Clicker »

hmm ... don't know too much. There's something that seems wrong to me with "the art of assembly" is that it appears to focus on so-called "High-Level Assembly" (which is probably not a bad thing per se, but which means guys will get lost when trying to read *real* assembly)

i mean
program helloWorld;
#include( stdlib.hhf );
begin helloWorld;
stdout.put( Hello, World of Assembly Language , nl ); end helloWorld;
sounds more like a Pascal program than an assembly one to me (AoA, Volume 1, Chapter 2, Linux version)
Tehy

Re:Getting Started

Post by Tehy »

So that is not real assembly?
I have been search assembly books but it is hard to find book which is write finnish...
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Getting Started

Post by Solar »

Ahhh... but there's the 16-bit DOS edition, too, and *that* goes into the detail of it - including a fair share of HW interfacing... ;)
Every good solution is obvious once you've found it.
Tehy

Re:Getting Started

Post by Tehy »

Ok but I will first read that OS FAQ through
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:Getting Started

Post by Candy »

The full story:

Randall Hyde (author, afaik moderator @ www.masmforum.com) created the Art of Assembly, because there was no decent asm book. The book was popular, first only webpublished, and after that also book-published. He went on to conjure up HLA, the High Level Assembler, which is a mix between C and pure assembly in that you can just use assembly constructs, and that it's directly convertible into assembly without too much overhead (believe the first version was pure macros for masm). He's in the process of developing HLA2.0, which directly outputs code, and that one should be a lot quicker.

The more relevant part for us: There is a language with a decent book called HLA, and it allows you to ease into assembly language programming, assuming you know a C-like language well. If you don't, or you for example know Pascal or Basic, you are better off starting with normal assembly and then working your way up, it gives a slightly shorter path to the same amount of knowledge.


That being said, you might just ask him yourself about his opinion on the matter, he's somebody who gives a honest reply instead of a self-praising reply. You can also find lots (and I mean lots) of assembly examples on the masmforum.com site.
Tehy

Re:Getting Started

Post by Tehy »

Could someone tell me good and free c++ editor. Which is also good in OS developed.
Post Reply