Mail Archives: djgpp/1996/02/27/14:46:02
Upon further reflection, I have the following thoughts about
my problems with PCTIME13.
The gccint8 routines work for me, under V2. I was hoping to
use the gccint70 routines, to avoid the extra complications of
changing the system timer and fudging the bios ticks, but I could
live with that.
The int70 routines start the timer using the bios "event_wait"
entry (the code calls it "set_event"). This call requires you
to send the address of a semaphore variable you want set
when the wait has expired. In the code, the segment register
and offset are never set, probably defaulting to (0, 0).
This might be what is causing the segmentation error. Now since
we will be intercepting the interrupt, no one should actually
ever be accessing that address (or is this true? the pm
interrupt chains), but perhaps the int86x code looks there.
-Andy S.
- Raw text -