Date: Wed, 26 Jun 1996 13:33:50 +0200 (IST) From: Eli Zaretskii To: Tom Breton Cc: djgpp AT delorie DOT com Subject: Re: [Q] How does go32 handle the timer tick (interrupt 0x08)? In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.