OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 18, 2024 7:17 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: OS developer - beginner needs help
PostPosted: Thu Mar 29, 2001 12:00 am 
I am a programmer. I used to use VB,C++ etc.
But I always, wanted to write an OS. So I learnt
C. I also got myself a book on assembly language
for the 8086.

Now I am comfortable with assembly language & C.
I collected a lot of tutorials & examples.
many of the examples use protected mode, A20 line...etc.

First I want to write a simple OS in real mode then
move on to using the advanced features of the
286,386....
Can you tell me how to go about it.

for example, a list of things i should have a knowledge of
before i start out( so that I don't have problems during the
development ) [ **just for the simple REAL MODE OS** ].
and where to get it.

Another question,
How do we pass control to kernel from the bootsector,
if we can't set the CS & IP registers. please help me out.?


Top
  
 
 Post subject: RE:OS developer - beginner needs help
PostPosted: Thu Mar 29, 2001 12:00 am 
>On 2001-03-29 02:59:39, xyz wrote:
>Now I am comfortable with assembly language & C.
...
>How do we pass control to kernel from the bootsector,
>if we can't set the CS & IP registers. please help me out.?

These 2 sentenses are somewhat contradictory in th sense that your feeling about being comfortable with ASM is unreasonable if you can't answer such a simple question yourself.

>First I want to write a simple OS in real mode then
>move on to using the advanced features of the
>286,386....
>Can you tell me how to go about it.

Step by Step.... :)

>for example, a list of things i should have a knowledge of
>before i start out( so that I don't have problems during the
>development ) [ **just for the simple REAL MODE OS** ].
>and where to get it.
>

You definetely have to know about OS theory and the ideas behind the term of an OS before you start coding.
Otherwise you do something arbitrary, e.g. what you can do at the moment (like command processor or a few simple drivers :) while the OS is not being done at all.
Read on the subj more if you don't want to end up with something like "hello world period". :)

Good Luck


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 95 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group