www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/26/06:44:39

Date: Wed, 26 Jun 1996 13:33:50 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Tom Breton <tob AT world DOT std DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: [Q] How does go32 handle the timer tick (interrupt 0x08)?
In-Reply-To: <DtLE6z.IKn@world.std.com>
Message-Id: <Pine.SUN.3.91.960626132010.7935B-100000@is>
Mime-Version: 1.0

On Wed, 26 Jun 1996, Tom Breton wrote:

>         Roughly, what does go32 do with the timer tick? In which source
>         files would I find this? (Some idea of the function names would
>         be nice too)

AFAIK, it only needs the timer interrupt when you compile with -pg (for 
profiling).  To be sure you will need to download the go32 sources 
(djsrc112.zip) and the library sources (djlsr112.zip) and look there.  
Note that the maintenance releases sometimes update source distributions, 
so you should also install all the maintenance releases over these source 
distributions to have the latest sources.

> I read the FAQ, of course, but it about says that timer, keyboard and
> mouse interrupts will be a problem and recommends looking for a program
> I can't find (ladybug debugger) I checked Oakland, the 3 US Simtel
> mirrors mentioned, and archie.

This is not surprising: you use DJGPP v1.x whose last update is 1.5 years 
old now.  A lot of things change on the net in such a long time.

The best way to start with this in v1.x would be to get the PCTIME 
program that gives you a working example of hooking timer tick in DJGPP 
v1.x:

    ftp://ftp.coast.net/SimTel/msdos/c/pctime13.zip

And I would really recommend upgrading to DJGPP v2.0, as v1.x is no 
longer supported, and hardware interrupt handling there has some subtle 
bugs that make it not stable enough for production-quality software.

- Raw text -


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