Date: Thu, 3 Apr 1997 17:07:26 +0300 (IDT) From: Eli Zaretskii To: "Bertel k. Brander" cc: djgpp AT delorie DOT com Subject: Re: Interrupts and locking code In-Reply-To: <33430D4C.1D69@post4.tele.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 3 Apr 1997, Bertel k. Brander wrote: > I have two interrupts, one for the timer tick (dos interrupt 8) and > a uart (serial) interrupt, the interrupt handlers uses a lot of data You have a lot to catch up. Hardware interrupt handling in DJGPP is very different from what you are used to in TC, because protected mode and the DPMI environment have special rules that you must obey to have your code work without crashing. I suggest you begin by reading chapter 18 of the DJGPP FAQ list, which describes the way low-level programming is done with DJGPP, including how to set up a hardware interrupt handler and how to lock memory that it touches. Then, if you have more specific questions, or if code you write according to what the FAQ says doesn't work, ask here. The latest release of the FAQ is available as v2/faq210b.zip from the same place you get DJGPP.