STARTING A NEW OS (Operating System)

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.
elias

Re:STARTING A NEW OS (Operating System)

Post by elias »

hey, you guys said you all have a whole library of links that you use for research. would you mind sharing those sites?
Berserk

Re:STARTING A NEW OS (Operating System)

Post by Berserk »

For this 'Ben' guy, i don't know who you think you are!

If i wanted your advice i'd 'ASK' for it. As a matter of 'FACT' i am going to learn the basics of assembler later, and 'NO' it is not a *MUST*

For everybody else, thank you soo much for your help ;D

But i am only a quater way to even starting an 'OS' first i am learning some 'ASSEMBLER' and about BootSectors.

All of your helo is appreciated, and don't think i have given up if i don't post something for a long time, if i don't post anything in a long time (i.e. a couple of days to a week) i've probably got distracted, or am learning something, or writing some code, before asking any more questions :D

Thanks everybody,
I will ask some more questions soon, for now i got to learn some stuff!! (Assembler and some more C++ [i am also a beginner in 'C++' but i know 'A LOT' of C++, unlike assembler])

ciao 8)
Tom

Re:STARTING A NEW OS (Operating System)

Post by Tom »

Well then, why don't you make yourself a profile here and log-in?
Berserk

Re:STARTING A NEW OS (Operating System)

Post by Berserk »

You mean i should become a member?
Tom

Re:STARTING A NEW OS (Operating System)

Post by Tom »

If you would like...that way we could IM you and you could IM us
Berserk

Re:STARTING A NEW OS (Operating System)

Post by Berserk »

I will,

Later.....When i figure out some more stuff about OS's.

i got a few more questions, i'll ask them later.....

ciao ;)
Berserk

Re:STARTING A NEW OS (Operating System)

Post by Berserk »

i got another question, read in another thread called started by me (at the top of the forum)

ciao 8)
Berserk

Re:STARTING A NEW OS (Operating System)

Post by Berserk »

I'd just like to thank everybody for helping me, i still have a long way to go, but i'm getting there...stand by for more questions ;D

ciao;)
Berserk

Re:STARTING A NEW OS (Operating System)

Post by Berserk »

Hey Hey,

I got a question, i have seen a couple of BootSectors.

And on some i see [ORG 0] and on others i see
[ORG 0x7C00] what is the difference. And also, what is it and what does it do??

And, which one is better to put??

Also, does anybody know where i can get a GOOD BootSector tutorial, to be made with nasm. I have already searched google and other search engines, and YES i have found tutorials, but they don't go into depth. I want a tutorial that explains absoloutely everything! (most of it anyway)
I am not asking you to search for me, of course not, but i was just thinking if any of you already know where to find a good tutorial??

Cya Everybody.
And help out Please.....;)
Berserk

Re:STARTING A NEW OS (Operating System)

Post by Berserk »

Please help out....

Can somebody please help??

;D
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:STARTING A NEW OS (Operating System)

Post by Pype.Clicker »

Berserk wrote: Hey Hey,

I got a question, i have seen a couple of BootSectors.

And on some i see [ORG 0] and on others i see
[ORG 0x7C00] what is the difference. And also, what is it and what does it do??
[ORG 0] means you expect your code to run at 0x07c0:0x0000, [ORG 7C00] means you expect to be run with 0x0000:0x7C00.
And, which one is better to put??
The one you prefer as long as your code is coherent. [ORG 0] has the advantage your code can be moved to another location and run there with just changing CS.
However, make sure you *enforce* at run time what you assumed at compile time : if you have [ORG 0], let your first instruction be a jmp 0x7c00:start ...
Just because you ignore which cs:ip pair the BIOS will choose for you ;)

Also, does anybody know where i can get a GOOD BootSector tutorial, to be made with nasm. I have already searched google and other search engines, and YES i have found tutorials, but they don't go into depth. I want a tutorial that explains absoloutely everything! (most of it anyway)
look for boot0.asm on this forum ... it was going more than idepth, explaining every single bit ...
http://www.mega-tokyo.com/forum/index.p ... eadid=1542

it is AT&T, though :-/ but this shouldn't block you, will it ? if it does, assemble it and use ndisasm to get a more friendly version ;)
And help out Please.....;)
Figuring you on your knees and begging for guru's help :-D lol ...
Tom

Re:STARTING A NEW OS (Operating System)

Post by Tom »

It doesn't matter what one you use...it's all on how you want to make your bootsector/kernel.

My first FritzOS's kernels used the "ORG 0"..and my new ones use "ORG 0x7C00".

I think that the "ORG 0x7C00" is much more simple, otherwise you'd have to do a more complicated & confusing jmp.
Fabio

Re:STARTING A NEW OS (Operating System)

Post by Fabio »

Hey Pype.Clicker i read back there somewhere that you have made your own micro kernel, are you gona make it available to everyone, if so i would like to see the source, If that is possible of course.
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:STARTING A NEW OS (Operating System)

Post by Pype.Clicker »

right... and despite it's not yet completely finished, you're absolutely free to start your own OS from the clicker microkernel, if it fits your requirements ... i designed it so that most of the features are customizable (or at least i tried to ;)
Post Reply