How to add new tasks

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
yee1
Member
Member
Posts: 42
Joined: Sun Feb 10, 2013 4:02 pm

How to add new tasks

Post by yee1 »

Hey,
My problem is about tasks

To make new task i use gdt like
GDT_tss0
GDT_tss1

and GDT_tss0 is current (main) program, tss1 i want to be program that displays somephing at screen

To make it i do procedure for GDT_tss1 and set EIP for GDT_tss1 as offset of procedure in CS for both GDT_tss0 and GDT_tss1

And its working but is it ok ? I think no... what are other ways to "make code" for tasks to make is seperated (no common segments like CS) ETC... ?

Thank you
Post Reply