Date: Mon, 14 Apr 1997 12:12:00 +0300 (IDT) From: Eli Zaretskii To: Raul Champredonde cc: djgpp AT delorie DOT com Subject: Re: Ada, C and interrupts In-Reply-To: <199704102011.RAA14915@ada.info.unlp.edu.ar> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 10 Apr 1997, Raul Champredonde wrote: > My `C' program run well. > Later I imported from `C' to ADA95 the functions using pragma > 'Import'. Because ADA95 run in protected mode I had problems with > ADA program. > > I want to call a NETBIOS functions, previously loaded in the > interrupts vector, which requires a pointer to a buffer `ES:BX' > register pair. Interrupt number is 5CH. > Questions are: > > *Q1* How do I get the segment to put into the `ES' register? You need to read Chapter 18 of the DJGPP FAQ list (available as v2/faq210b.zip from the usual DJGPP repositories on SimTel.NET mirrors).