Mail Archives: djgpp/1993/06/17/03:09:36
>It basically works, but there is one mysterious problem remaining.
>Under go32, the delays are taking 12 times as long as they should.
>It's as if something is eating 11/12 of the int 70 interrupts, or
>there is massive overhead somewhere. I wrote similar code in
Borland
>C (much, much easier) and the timing is exactly right.
It has been pointed out to me that I may not be catching interrupt
0x70 (IRQ 8?) in both real and protected mode, so I may be missing
interrupts. If this sounds like the culprit, can someone tell me how
to do this in go32.exe?
I noticed that internal.doc says go32() does this:
* Handle certain time-critical exceptions, like timer tick and COM
ports.
I looked at the mswitch.asm, and it's not obvious to me how this is
being accomplished. Do I want to make go32() also handle interrupt
0x70, the real time clock interrupt? How would I do this?
Any help would be much appreciated.
-Mat
mjhostet AT mit DOT edu
- Raw text -