I'm developing my own OS;)
I don't know how the multitasking works,anyone helps me ?
Thanks
Who can give me a multitasking tutorial ?
RE:Who can give me a multitasking tutorial ?
That is a start
do you want to use hardware provisions for multi tasking such as TSS
or do it via software?
-Christopher
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 ?
hardware/software
I have no idea which is the better one?
I have no idea which is the better one?
RE:Who can give me a multitasking tutorial ?
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
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