delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/07/17/11:45:07

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Jump from timer interrupt?
Date: Thu, 17 Jul 2003 10:19:15 CDT
Organization: Rice University, Houston, TX
Lines: 15
Message-ID: <3f16be73.sandmann@clio.rice.edu>
References: <MAPI DOT Id DOT 0016 DOT 00333138303633303030303930303110 AT MAPI DOT to DOT RFC822>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1058455387 11710 128.42.105.3 (17 Jul 2003 15:23:07 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: Thu, 17 Jul 2003 15:23:07 +0000 (UTC)
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> problem: Because I use my own timer interrupt, 
> the PC clock will not be updated during the time I run
> the sequencer. Is it possible to jump from my interrupt routine
> to the PC timer interrupt once in a while, to update the PC clock
> at 18.2 Hz? Or is there another way to solve the problem?

Chain to the original interrupt.  You will have to write your own
wrapper to do it; you might find the library source useful.
Start from the V2.03 (or V2.04 CVS) sources, I think they fix some
problems in the V2.01 routines.

> Erik Berglund
> Gothenbrug, Sweden

Amazing small world - that's where I am right now too :-)

- Raw text -


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