Mail Archives: djgpp/1999/04/12/06:18:16
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 -