Subj : Re: reentrant fwrite/fputc/etc ? To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Fri Nov 14 2003 02:54 pm > ...i will probably just dump the data to a buffer in the ISR > and then put a test in the foreground loop that writes the > buffer out to disk when there is something there to dump. If you do I think you will not notice any performance degredation versus putting that into the ISR. The extra overhead introduced to enable DOS calls within the ISR is significant. To be frank the amount of overhead from monitoring the InDOS and critical flags, switching stacks, detecting and handling recursive interrupts and use of the idle interrupt suggests that creating a device driver that is used by a program which does a simple interface to it would probably be an easier way to do it. .. Ed > gary wrote in message > news:3FB52525.9040003@cordelli.net... .