Mail Archives: djgpp/2000/01/12/13:49:51
Erik Rull (erik_rull AT bluewin DOT de) wrote:
: Hi,
: I've tried your solution with _my_cs(), but it still doesn't do what I
: want...
: In plain DOS, the timer_handler() is not called. I don't get the output
: of printf().
: When I run it from a DOS Box in W95, it works.
: Where could the problem be??
You need to lock the code that is called in the interrupt
handler. Additionally you shouldn't call functions that might call
into DOZE (printf) because DOZE isn't reentrant.
Read the relevant sections in the FAQ.
Right,
MartinS
- Raw text -