HELP

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.
Post Reply
yjn85
Posts: 4
Joined: Thu Jun 09, 2005 11:00 pm

HELP

Post by yjn85 »

Hi all,

An advance thanks first.. hope i have come to the right place and everyone here who is able to help can offer help to me..

I'm a person who is really interested in Operating Systems development and want to learn to write my own operating systems. i have browsed some site and seen some screen shots on operating systems created by others, but these sites never teach people on how to write operating system in a detailed way.

I know various languages like Java, C, C++, VB6, VB.NET, PRO C, C#..
I'm intending to use C to develop my own operating systems. but i really need alot of guidence. please offer help if you are able.. thanks..

i am aware that before reaching the stage on developing the kernel, we need to write in assembly, some kind of codes for booting etc.. can i have some help on that to start off.. anyone able to help me on that.. maybe some guidence or tutorials on how to write bootloaders or what it is called.. i want to create a 32 bit operating system. do i need to do any extra or special configuration?

THANKS ALOT!!!
Legend
Member
Member
Posts: 195
Joined: Tue Nov 02, 2004 12:00 am
Contact:

Re: HELP

Post by Legend »

http://www.osdever.net/bkerndev/index.php?the_id=90

This one might be helpful for you then.
*post*
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Re: HELP

Post by carbonBased »

With the latest release of my OS (soon to come) I intend to create some tutorials (I haven't written tuts in a while... I need to get some new ones out!). I plan on writting on the following topics:
- mutexes & semaphores
- message queues
- OS design / portable OSs
- build systems (using ANT)
- source code repositories (CVS & perforce)
- memory management
- paging
- multitasking
- dynamic/run-time object linking
- testing
- protection / privelege levels
- drivers / IO

I'm currently not sure what order to write the above, however, or if I'm missing some areas so please feel free to add your comments/suggestions/requests... I'm very interested to know what people would like to see.

I'll be sure to post updates to this website (as well as when the latest source code release is available, in case anyone's interested).

Cheers,
Jeff
yjn85
Posts: 4
Joined: Thu Jun 09, 2005 11:00 pm

Re: HELP

Post by yjn85 »

Hi Legend..

Thanks for the reply.. but i'm not able to access the URL you posted.. is it a valid URL??
Legend
Member
Member
Posts: 195
Joined: Tue Nov 02, 2004 12:00 am
Contact:

Re: HELP

Post by Legend »

Weird, seems gone ... it WAS valid!
*post*
yjn85
Posts: 4
Joined: Thu Jun 09, 2005 11:00 pm

Re: HELP

Post by yjn85 »

=(

too bad... anyway.. never mind about that... any other links available for me?? i would really want to learn to write my own OS.. and kernal and stuffs like tat...


Thanks..
Epirus
Posts: 1
Joined: Mon Jun 27, 2005 11:00 pm
Location: Germany

Re: HELP

Post by Epirus »

Hi VJN85,

Sorry,my English isnt good.
But maybe I can help you.

You have to write your Bootloader (max. 510 Bytes) on CHS : 0,0,1

While BIOS is booting it will copy this sector to EA 0x7C00 and jump there.
(Execute your Bootloader)

Your Bootloader can load the Kernel or second_Bootloader

There for you can easily use Interrupt 0x13.
AH=02h (Read from drive)
AL=sectors
DL=drive[0:FDD_0 , 1:FDD_1 , 80h:HDD_0 , 81h:HDD_1 , ...]
DH=Head
CH=Cylinder
CL=Sektor
ES:BX=Destination EA

Then jump to ES:BX
(Execute your loaded program)

Bootsector on Floppy Disks is allways the first sector

510 Bytes Bootloader-Code
2 Bytes (0x55AA)
512 Bytes = 1 sector

IMPORTANT:Last word must be 0x55AA,
otherwise BIOS will not accept it as bootable.

I hope I could help you.
Epirus
yjn85
Posts: 4
Joined: Thu Jun 09, 2005 11:00 pm

Re: HELP

Post by yjn85 »

Thanks alot for the help!!!!!!!!!!!

after this step, now.. how do i proceed on to writing my kernel??

any guidence??? THANKS!!!
deathangel
Member
Member
Posts: 31
Joined: Thu Apr 14, 2005 11:00 pm
Location: Planet Earth
Contact:

Re: HELP

Post by deathangel »

Bonafide no longer seems to exist, anybody know why?
Cjmovie
Posts: 4
Joined: Wed Jun 29, 2005 11:00 pm

Re: HELP

Post by Cjmovie »

Try either the google or way back machine cache's of the page, they're there.
Post Reply