Page 1 of 1
Who can give me a multitasking tutorial ?
Posted: Wed Apr 21, 2004 11:00 pm
by E-mean
I'm developing my own OS;)
I don't know how the multitasking works,anyone helps me ?
Thanks
RE:Who can give me a multitasking tutorial ?
Posted: Wed Apr 21, 2004 11:00 pm
by E-mean
use timer interrupt,right?
RE:Who can give me a multitasking tutorial ?
Posted: Wed Apr 21, 2004 11:00 pm
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
RE:Who can give me a multitasking tutorial ?
Posted: Thu Apr 22, 2004 11:00 pm
by ASHLEY4
RE:Who can give me a multitasking tutorial ?
Posted: Thu Apr 22, 2004 11:00 pm
by E-mean
hardware/software
I have no idea
which is the better one?
RE:Who can give me a multitasking tutorial ?
Posted: Thu Apr 22, 2004 11:00 pm
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
RE:Who can give me a multitasking tutorial ?
Posted: Thu Apr 22, 2004 11:00 pm
by E-mean
Thanks all of you;)
I get a start