www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/19/10:12:15

Date: Fri, 19 Jul 1996 16:08:46 +0200 (MET DST)
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
To: snarfy AT goodnet DOT com
cc: djgpp AT delorie DOT com
Subject: Re: preemptive multitasking for dj
In-Reply-To: <4smaui$1jm@news.goodnet.com>
Message-ID: <Pine.NEB.3.93.960719160248.2019A-100000@ananke.amu.edu.pl>
MIME-Version: 1.0

On 18 Jul 1996 snarfy AT goodnet DOT com wrote:

> 400hz task switching would be fine with me except that I want to hook
> IRQ8 so that my tasks will be compatible with most other libraries (most
> people use IRQ0 as a timer in their libs.).  The problem is that IRQ8 
> interrupts at 1024hz and is not adjustable.  I also have to use 

Haven't seen your code but I have a suggestion on the interrupt used. It's
true that many people use IRQ0 for various purposes but I have never seen any
package that uses the interrupts the RTC is able to generate (also at
1024Hz+ I suppose). Don't quote me on that but I think there is such a
interrupt. It would resolve many compatibility problems as you wouldn't have
to take care of other soft using the int (there's good chance that the
RTC-generated interrupt won't be used). I remember reading some technical AT
reference on that - maybe this would cure some problems?

Mark

/*******************************/
/** So here I am once more... **************************************/
/** When you grown up and leave your playground, where you kissed **/
/** your Prince and found your Frog - remember the Jester that    **/
/** showed you tears, a Script for Tears... ************************/
/*********************************************/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019