delorie.com/archives/browse.cgi | search |
From: | "James T. Sweeten Jr." <sweeten AT belgarath DOT nwscc DOT sea06 DOT navy DOT mil> |
Subject: | replacing timer interrupt |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Date: | Wed, 20 Dec 1995 10:53:59 -0500 (EST) |
I have a program for borland C that replaces the timer interrupt program with my own. How do I do the same thing with djgpp. here is the code I use: void interrupt timer(), interrupt (*old_handler)(); oldhandler = getvect(8); setvect(8,timer); Jim Sweeten sweeten AT belgarath DOT nwscc DOT sea06 DOT navy DOT mil
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |