Who can give me a multitasking tutorial ?

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
E-mean

Who can give me a multitasking tutorial ?

Post by E-mean »

I'm developing my own OS;)
I don't know how the multitasking works,anyone helps me ?
Thanks
E-mean

RE:Who can give me a multitasking tutorial ?

Post by E-mean »

use timer interrupt,right?
TheUbu

RE:Who can give me a multitasking tutorial ?

Post by TheUbu »

That is a start


do you want to use hardware provisions for multi tasking such as TSS
or do it via software?


-Christopher
ASHLEY4

RE:Who can give me a multitasking tutorial ?

Post by ASHLEY4 »

E-mean

RE:Who can give me a multitasking tutorial ?

Post by E-mean »

hardware/software
I have no idea :( which is the better one?
TheUbu

RE:Who can give me a multitasking tutorial ?

Post by TheUbu »

E-mean,


Well I use hardware task management.... Read the intel specs on TSS and contrary to what you may read you only need one TSS you do not need a TSS entry in the GDT for every single task... As far as switching tasks its as simple as a ljmp to the tss after you have modified its attributes. Just check out the intel docs and use the programable timer to do the task switching just remember you have to reset the  BUSY bits or your computer will fail.


-Christopher
E-mean

RE:Who can give me a multitasking tutorial ?

Post by E-mean »

Thanks all of you;)
I get a start
Post Reply