delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/22/05:16:49

Date: Sun, 22 Jun 1997 12:15:22 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dave <shirleyd AT cs DOT curtin DOT edu DOT au>
cc: djgpp AT delorie DOT com
Subject: Re: Pointers to buffers in GaS
In-Reply-To: <33A92E88.3136C133@cs.curtin.edu.au>
Message-ID: <Pine.SUN.3.91.970622121502.4249H-100000@is>
MIME-Version: 1.0

On Thu, 19 Jun 1997, Dave wrote:

> void IPXAddress(unsigned char buffer[10])
> {
>     regs.x.bx = 0x09;
>     regs.x.si = &buffer;
>     int86x(0x7a,&regs,&regs,&sregs);
> }
> 
> now hopefully the ipxaddress should be stored in the 10 byte buffer....
> but it doesn't.

The FAQ list clearly says (section 18.1): do NOT use `int86' except
for a short list of interrupts it supports, and tells you where to
look for the list of supported functions (Int 7Ah is not one of
them).  You should use the `__dpmi_int' function instead.

- Raw text -


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