Date: Sun, 7 Nov 1999 17:11:39 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Frederic Cazenave cc: djgpp AT delorie DOT com Subject: Re: DPMI memory allocation 2 In-Reply-To: <3821FDFA.59E2@radar.mcgill.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 4 Nov 1999, Frederic Cazenave wrote: > The problen is beetween the interrupt and the write. > The two parts work fine separately but most of the > time when I try to write while some interrupts are > treated my system crashes. The code you've posted doesn't seem to include the portion that writes the data. Are you, by any chance, writing to a file from inside the interrupt handler? If so, this is a no-no: DOS is non-reentrant, so you cannot safely call DOS functions from an interrupt handler. Anyway, you should always post the complete crash message when you report such problems. The information included with the registers' dump and the stack traceback is a big help in guessing what's wrong with your program.