www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/28/13:13:20

Date: Wed, 28 Jun 1995 18:40:03 +0300
From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
To: jmccawle AT cs DOT uno DOT edu
Subject: Re: keyboard interrupt in DJGPP
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019