Date: Wed, 19 Feb 1997 16:53:53 +0200 (IST) From: Eli Zaretskii To: KG AT dancall DOT dk cc: djgpp AT delorie DOT com Subject: Re: In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 19 Feb 1997 KG AT dancall DOT dk wrote: > 1. Using interrupt the way you describe in INFO replacing old > interrupt vector with a new vector and saving the old vector, the > program crasses. > Instead I would like to make an assembler interrupt handler, but > I do not know how. > The handler will need to access about 64K memory and must run in > procted mode. > Can you please explane how I make an assembler interrupt handler, > demonstrating it in an example ? Did you read chapters 17 and 18 of the DJGPP FAQ list? If not, please read them. The FAQ is available as v2/faq210b.zip from the same place you get DJGPP. Section 22.2 of the FAQ includes pointers to a couple of packages with examples and explanations of how to write interrupt handlers with DJGPP.