Mail Archives: djgpp/1993/06/03/18:55:43
>Is there ANY way to have a C function called n times a second from an
>interrupt? It is acceptable to miss a few here and there, as long as
>it is infrequent. The gprof support in gcrt0.s refers to a "timer
>interrupt", which sounds interesting, but I have no docs on that.
According to my Compaq Hardware Manual there are a number of such
functions, which are handled by:
hardware interrupts IRQ0 and IRQ8
and
software interrupst INT 08h, 1Ch and 70h
For more info you must FTFM (Find the ... (Not so easy)) and read it.
My own manual consists of about 12 pages of rather dense text and tables.
Jonathan Ryshpan <jon AT halsp DOT hitachi DOT com>
===============> I write for myself ONLY. <===============
- Raw text -