Xref: utzoo comp.sys.ibm.pc:52563 comp.lang.c:29612 Path: utzoo!attcan!uunet!snorkelwacker!usc!elroy.jpl.nasa.gov!peregrine!ccicpg!cci632!tom From: tom@cci632.UUCP (Thomas Bullinger) Newsgroups: comp.sys.ibm.pc,comp.lang.c Subject: Re: Dr. Dobbs Multitasking Kernal -- HELP! Summary: Pre-emptive tasking in Turbo-C Keywords: Dr. Dobbs, Dec 87, and Jan 88 Message-ID: <38068@cci632.UUCP> Date: 14 Jun 90 20:30:57 GMT References: Reply-To: tom@ccird7.UUCP (Thomas Bullinger) Followup-To: Me Distribution: na Organization: CCI, Communications Systems Division, Rochester, NY Lines: 28 In article papp@topaz.rutgers.edu (Albert Papp) writes: > >In Dr. Dobb's Journal, December 1987 and January 1988, the C Toolbox >had code for a preemptive multitasking kernal for the IBM PC. I am [stuff deleted] >code to turbo C, (and assembler) or has any info on the source code to >something similar (a multitasking kernal) please e-Mail me! > >Thanks! > >Al papp@topaz.rutgers.edu A couple of years back, I wrote a pre-emptive multi-tasking kernel for Turbo-C. The kernel itself is written in Turbo-Assembler, and all the interface routines are in Turbo-C. It's even documented! The scheduler is based on the DOS timer interrupt and is currently somewhat simplistic. Twist my arm a little, maybe I can soup it up for your needs! ;-)) As with any DOS scheduler, there are some limitations due to the non- reentrant nature of DOS. Let me know if you'd like more info, or a copy of the docs. tom.. ..!cci632!rd7!tom -or- tom%rd7@cci632 "Only he who is willing to give up his monopoly on truth can ever profit from the truths that others hold...no man has the final answer but every man has a piece to contribute." --Unknown (to me anyway)