Page 1 of 1

Need Multitasking

Posted: Fri Apr 26, 2002 2:37 pm
by Peter Sejfried
Hello all!!!

I need a hardware or software multitasking/multithreading example code for 32 bit Protected Mode. It could be in any language (Asm, C, Pascal). Do you know where could I find something like it, or maybe you can send me this example. I'm waiting for reply. :o

Best Regards
Peter

Re:Need Multitasking

Posted: Fri Apr 26, 2002 8:16 pm
by K.J.
Get Alexei A. Frounze's PMode Tutorials in C and Asm, several of them have multitasking in them:
http://members.tripod.com/protected_mod ... mtuts.html

Hope that helps,
K.J.

Re:Need Multitasking

Posted: Sat Apr 27, 2002 9:24 am
by Peter Sejfried
Thanks K.J.

about half year ago i downloaded tutorial from that page. It's so complicated for me. I'd like to have example from A to Z with comments. I don't know anything about writeing own multitasking engine, only that I must swap ESP and EBP registers to switch tasks in software multitasking. About hardware multitasking I know nothing. I'd like to know how to begin, how could I create new tasks and then switch it and how to finish. If you could and know please send me or place on this list example code which could create new task, and switch between tasks. I'm waiting from your reply.

Yours
Peter Sejfried

Re:Need Multitasking

Posted: Sat Apr 27, 2002 6:51 pm
by Tim
Here's the kernel I learned from (Cosmos):

http://www.execpc.com/~geezer/os/

They don't come much simpler that this... if you want simpler, I can send you the old version 7.

Re:Need Multitasking

Posted: Sun Apr 28, 2002 7:36 am
by Peter Sejfried
Hello,

Yes! Please send me a copy of older version 7 of CosmOS as example for me. I'll check actual from this page but older as I think could be easier.

Best Regards
Peter

Re:Need Multitasking

Posted: Sun Apr 28, 2002 3:47 pm
by Tim
OK, the zip's in the email.

Re:Need Multitasking

Posted: Sun Apr 28, 2002 11:02 pm
by K.J.
Could you please send version 7 my way also?

Thanks in advance,
K.J.

Re:Need Multitasking

Posted: Mon Apr 29, 2002 2:52 pm
by Peter Sejfried
Hay K.J. Thanks for a copy of CosmOS Version 7. Now I don't know how to begin, but I'll try to understand that code.

Regards
Peter

Re:Need Multitasking

Posted: Mon Apr 29, 2002 5:11 pm
by K.J.
Peter Sejfried wrote: Hay K.J. Thanks for a copy of CosmOS Version 7.
Err... Tim Robinson sent you CosmOS Version 7. I just was requesting that it be sent to me also.

K.J.

Re:Need Multitasking

Posted: Mon Apr 29, 2002 7:09 pm
by Tim
K.J.: a copy is on its way to you.

If anyone else wants it: instead of my putting it on my site, it might be worth checking Chris's site for an old copy of the zip.

Re:Need Multitasking

Posted: Mon Apr 29, 2002 9:42 pm
by Chris Giese
Here ya go, all my mistakes in one directory :)

http://www.execpc.com/~geezer/temp/cosmos/

Release 10 is here:
http://www.execpc.com/~geezer/os/#cosmos

I wrote a small real-mode OS to try out a device driver
architecture. Hopefully, I can get that working and come
out with release 11 soon.

Re:Need Multitasking

Posted: Mon Jan 19, 2004 9:15 am
by chris
Tim Robinson wrote: Here's the kernel I learned from (Cosmos):

http://www.execpc.com/~geezer/os/

They don't come much simpler that this... if you want simpler, I can send you the old version 7.
Tim would you be kind enough to e-mail be Cosmos 7? :)

chris at misery dot net

Thanks