delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/12/06:18:16

Date: Mon, 12 Apr 1999 13:15:21 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Luiz Fernando <luisoft AT myway DOT com DOT br>
cc: djgpp AT delorie DOT com
Subject: Re: Interrupt problem....
In-Reply-To: <01be8440$64e8bbe0$LocalHost@aguia>
Message-ID: <Pine.SUN.3.91.990412131459.3441H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 11 Apr 1999, Luiz Fernando wrote:

>     How can i convert this old program written for Borland C++ v3.1 compiler
> to DJGPP ?

In addition to the general explanations and background material in
section 18.9 of the FAQ, you could also look at the PCTIME package
(its URL is in section 22.3) which inludes working DJGPP code to
intercept timer interrupts.

Also, the code you posted is a toy program: it doesn't do anything
useful.  It is possible that if you explain what are you *really* try
to accomplish using the timer tick, a solution could be recommended
that doesn't require hooking the interrupt in your code at all.  So
please consider explaining what you are trying to do.

- Raw text -


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