Mail Archives: djgpp/2000/02/08/11:41:45
Thanks for this little insight as I over looking the importance of the int(0x31)
call within __djgpp_hw_exception.
The result of all this being that no existing DJGPP thread library could be
called real time, in fact there is the possibility of losing alarms etc if there
are high
delays within DPMI and/or DOS services. Another option is to directly install
protect and real mode interrupt traps (i.e. not via DMPI) removing the
DMPI interrupt redirection **.
This allows two things:
1) Context switching within the timer interrupt (and others); and
2) The reprogramming of the timer rate (eg 1ms) as doing so involves
emulating the DOS 18.x tick timer.
** In truth more is involved as additional interrupts, a mix of h/w and s/w,
must be monitored so not to context switch whilst within critical
DMPI/DOS services.
Q: How does the debugger interface with the application, and iIs there a
document reference available ? I ask as any rework of the interrupt
construction will, most likely, effect this interface.
Cheers
- Raw text -