delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/13/07:30:17

Date: Sun, 13 Jun 1999 11:41:28 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Calling DOS functions
In-Reply-To: <376230d5.102598132@news.xmission.com>
Message-ID: <Pine.SUN.3.91.990613114106.17906b@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 12 Jun 1999, Scott Brown wrote:

> I need to call a DOS function (0x60) that uses a separate memory
> buffer for transferring information.  I've got as far as using
> dosmemput and dosmemget to move my data to and from the go32 transfer
> buffer, but I'm not clear on how I set up the _go32_dpmi_registers
> with the correct segment and offset values before handing it off to
> _go32_dpmi_simulate_int.

Read section 18.2 of the FAQ, there's a working example of code there
that calls a DOS function that needs a buffer.  I think it should get
you going.

> if anyone can clue me in I promise to name my firstborn after you,
> okay?

No need to go to such lengths; just read the FAQ, and you will make me
more than happy ;-).

- Raw text -


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