Date: Sun, 22 Jun 1997 12:15:22 +0300 (IDT) From: Eli Zaretskii To: Dave cc: djgpp AT delorie DOT com Subject: Re: Pointers to buffers in GaS In-Reply-To: <33A92E88.3136C133@cs.curtin.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 19 Jun 1997, Dave wrote: > void IPXAddress(unsigned char buffer[10]) > { > regs.x.bx = 0x09; > regs.x.si = &buffer; > int86x(0x7a,®s,®s,&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.