Date: Sun, 13 Jun 1999 11:41:28 +0300 (IDT) From: Eli Zaretskii 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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 ;-).