All about Multitasking / Multithreading

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
Peter Sejfried

All about Multitasking / Multithreading

Post by Peter Sejfried »

Hello,

I'm searching Multitasking/multitchreading example for TMT Pascal - 32 bit Protected Mode, could be with DPMI. Does anyone have something for me? I'm creating own OS and I'd like to write hardware multitasking but I know nothing about it. I know that there are something like GDT, LDT, IDT, Ring 0 - 3 and so on, but what does it mean - I don't know. If you can, please send me an example code. I looked at discussion list, but there aren't any example codes. In this multitasking engine should be possible to load and execute .COM and .EXE files. Pre-implemented Pascal procedures should works too. e.g. short programs/procvedures which will build in a system: a calculator, a notepad and a clock.

Please help me.  ::)

Peter
Post Reply