delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/14/05:24:11

Date: Mon, 14 Apr 1997 12:12:00 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Raul Champredonde <rchampre AT ada DOT info DOT unlp DOT edu DOT ar>
cc: djgpp AT delorie DOT com
Subject: Re: Ada, C and interrupts
In-Reply-To: <199704102011.RAA14915@ada.info.unlp.edu.ar>
Message-ID: <Pine.SUN.3.91.970414121128.9938L-100000@is>
MIME-Version: 1.0

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

- Raw text -


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