I need help in MultiTasking

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.
mar-rih

I need help in MultiTasking

Post by mar-rih »

Peace upon you...

Thanks for this fine forum...

I am devloping an OS and i want to learn the essential in multitasking and Process managment,,

can any one help me or guid me to reight site about this subject pleas...

i am sorry for bad language...
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:I want help in MultiTasking

Post by Brendan »

Hi,
mar-rih wrote:can any one help me or guid me to reight site about this subject pleas...
Start here:
http://www.osdev.org/osfaq2/

Go to the "Scheduling" part and read it all. After that let us know if you've got any specific questions :)..


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
slash

Re:I want help in MultiTasking

Post by slash »

you can also check out "multitasking howto" at

http://www.osdever.net/tutorials/multitasking.php?the_id=84
mar-roh

Re:I want help in MultiTasking

Post by mar-roh »

Thanx for you replies...


I had browsed this pages.....

1- i want detail information about TSS discriptor and what it is relation to GST and IDT...?

2- Waht is the diffrent betwine the hardware and software switching ?

3- can any one enumrate the steps for make OS is multitasking...

4- if i want to make multitasking OS. do i been forced to use
the LDT tables, and if the answer yes, how???
User avatar
Candy
Member
Member
Posts: 3883
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:I want help in MultiTasking

Post by Candy »

mar-roh wrote: 1- i want detail information about TSS discriptor and what it is relation to GST and IDT...?
TSS is explained in the intel manuals, referenced in the book thread in this forum.

PS: we commonly use the western form of politeness, which means that saying "want" is somewhat forbidden in a question. Most questions start with "could you tell me ..." or "can you help me with ... ".
2- Waht is the diffrent betwine the hardware and software switching ?
With hardware switching each switch doesn't take any instructions from you but happens automatically, after setting it up. With software switching you control every bit of it.
3- can any one enumrate the steps for make OS is multitasking...
That's the entire point of the FAQ. Get the IDT working, interrupt handling somewhat working and then implement basic multitasking. Read the FAQ for each aspect mentioned here.
4- if i want to make multitasking OS. do i been forced to use
the LDT tables, and if the answer yes, how???
No.
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:I want help in MultiTasking

Post by Pype.Clicker »

mar-roh wrote: Thanx for you replies...


I had browsed this pages.....

1- i want detail information about TSS discriptor and what it is relation to GST and IDT...?
Get the intel manuals and check the "multitasking" chapter
2- Waht is the diffrent betwine the hardware and software switching ?
HTS is based on TSS and let the CPU do the job of storing/writing its state from/to a system location while STS requires you to save state and restore it "manually". It is also known as "stack switching" since most of the job consist of switching from one stack to another.
3- can any one enumrate the steps for make OS is multitasking...
that's more or less what BI does in the osdever article!
4- if i want to make multitasking OS. do i been forced to use
the LDT tables, and if the answer yes, how???
no, you're not.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:I want help in MultiTasking

Post by distantvoices »

mar-rih, please be so kind and go throu the tutorials & the FAQ once. If you haven't understood at once, reread. Then pick what is not clear and give us exact questions to chew on. *gg*

Easy riddles ain't funny, know ya?

BTW: my tutorial gives you the bare nitty gritty of what you'd need to do in order to have your OS do some basic multitasking with stack switching. You need of course memory management, linked list management for your TCB's (==Task Control Blocks), and the very basic stuff of a proper installed global descriptor table as well as a sound Interrupt descriptor table - provided with ISR's. there *are* prerequisites which I presume in that article in order to concentrate on the multitasking stuff.

Read throu it and if you want to know something special, bug us.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
mar-rih

Re:I want help in MultiTasking

Post by mar-rih »

Again i thanx you for your replies...
i am verry sorry about my forbidden quistion.

My primary Lan is not english, i am from syria arabia and y primary lang is arabic.

i am studing Informatic Engineering in Aleppo Faculty, and my Gradute Project is arabic OS.
so my English lang is not good, so forgive me about the mistakes....
______

As regards of OS_Faq Toutrial i quickly read it, and i promis you to reread it agin..

Peace upon you.
Curufir

Re:I want help in MultiTasking

Post by Curufir »

The members of the board like to help people with their problems, but we cannot provide answers if the questions are not specific enough.
1- i want detail information about TSS discriptor and what it is relation to GST and IDT...?
Detailed information on the structure of a TSS descriptor is contained in the Intel processor manuals (You can find a general description here: http://www.sandpile.org/ia32/tss.htm). A TSS descriptor is stored in the GDT, it has nothing to do with the IDT.

***
My primary Lan is not english, i am from syria arabia and y primary lang is arabic.
English is not the primary language for many members of this board. However english is the most widely used language in computing, so a lot of the documentation and tutorials you find will be written in English.
i am verry sorry about my forbidden quistion.
If we can understand you and you can understand us then the details do not really matter. The members of the board will sometimes point out elements of english that seem out of place or incorrect in order to help people improve their english.

E.g.

"I want..." is used as an imperative (A command), not as a polite request.

"Peace upon you" is an ordinary arabic salutation, but sounds very formal in english. "Hello" is a sufficient salutation in an english forum.

***

Welcome to the board.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:I want help in MultiTasking

Post by distantvoices »

I bet it's something in the wake of "Salam Alejkum" he want's to express with his salutation. *gg*

Further, I daresay, he has not sooo much training and getting-around with english boards, so I don't take the " I want " personally. *gg* Well, I'm in a kind mood today.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
User avatar
Candy
Member
Member
Posts: 3883
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:I want help in MultiTasking

Post by Candy »

beyond infinity wrote: Further, I daresay, he has not sooo much training and getting-around with english boards, so I don't take the " I want " personally. *gg* Well, I'm in a kind mood today.
Not taking it personal either, just trying to help him get around on west-style boards. You know, the ones in the west of the world.
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:I want help in MultiTasking

Post by Pype.Clicker »

Curufir wrote: "Peace upon you" is an ordinary arabic salutation, but sounds very formal in english. "Hello" is a sufficient salutation in an english forum.
Formal ? hm. I found that rather refreshing ...
mar-rih

Re:I need help in MultiTasking

Post by mar-rih »

I bet it's something in the wake of "Salam Alejkum" he want's to express with his salutation. *gg*

OKKKKK :D

i really mean that


P[center][/center]eace Upon you == Salam Alikoum (in arabic )

yes...

This board is the second west board i register in
and i hope to learn a lot of thing form you....

in addition of OS design

thanx for your replies again..

My name is Marwan.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:I need help in MultiTasking

Post by distantvoices »

@candy, of course. Me lives in a west-european country too *chuckle*

btw ... 999 posts with this one. I shudder on the thought of that what comes with the next one *rofl* Maybe I have to give out beer!
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
aladdin

Re:I need help in MultiTasking

Post by aladdin »

[offtopic] yesss ... another arabic in this forum :D [/offtopic]
Post Reply