www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/02/16:01:10

From: Mat Hostetter <iclone!mjhostet AT cs DOT unm DOT edu>
Date: Wed, 2 Jun 93 13:32:30 -0600
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Want vbl interrupts

I posted about this once before, but I didn't see my own post so  
perhaps it got lost.

I need to arrange to have an arbitrary C function of mine called 60  
times a second.  setitimer() doesn't seem to be supported.  I've  
noticed that the PC has the appropriate VBL interrupt, but I do not  
yet know enough about PC's to write this interrupt handler and  
install it.  I have, however, written interrupt handlers on various  
other machines.

If someone could point me to the documentation I need (do I need to  
buy Turbo C?), I can get to work on it.  My problem is that there are  
so many PC books out there it is difficult to sort the trash from the  
good stuff, and I don't really know how everything fits together with  
the djgpp environment.

If I get this written, I am willing to contribute this package to  
djgpp as freeware.  On the other hand, there are certainly PC hackers  
out there who could write this ten times faster than I could.  If  
anyone wants to take a little time to throw this together, or even  
just let me know what problems I am likely to encounter, I would  
greatly appreciate it.

-Mat

- Raw text -


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