Mail Archives: djgpp/1995/06/28/13:13:20
> seemed to be OK. Then one day I needed to do some printf's. For some
> reason the keyboard interrupt and printf don't like each other. Sometimes
Use of printf() has two side effects which might shed a light on
your problems: (1) it uses the transfer buffer (although the code
you posted doesn't seem to use it, but maybe you use it in the full
program?); and (2) it causes the CPU to switch to real mode from
time to time. Does the same happen if you change printf() to
sprintf()?
- Raw text -