www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/10/17:25:34

From: "Damian Yerrick" <NOSP AT Musenet@pineight.8m.com>
Newsgroups: comp.os.msdos.djgpp
References: <82qlkr$lfp$1 AT nnrp1 DOT deja DOT com>
Subject: Re: __dpmi_allocate_dos_memory causes program to abort
Lines: 35
Organization: Pin Eight Software <http://pineight.8m.com/>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <ATb44.555$uN2.13938@dfiatx1-snr1.gtei.net>
X-Trace: /bNDCxpiGUABnS9lkNxsgr8IPidX50tydhG953Spks+XpwbDgxqVGtgjsx9QAHBmVikou4rWG+hw!qbFZOvvP2hvRkEDbHCWKMMdh+h06BuemYMs432mUADGgKE+wY1XIOftNStpYz92Fw2p+nVs0
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Fri, 10 Dec 1999 18:45:52 GMT
Distribution: world
Date: Fri, 10 Dec 1999 18:45:52 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

<ido_b AT my-deja DOT com> wrote:
>
> I read chapter 18 of the FAQ and didn't fully understand how to use
software
> interrupts from within my program. I used something like: __dpmi_regs
regs;
>
> regs.x.ax = ...
> ...
>
> __dpmi_int(..., &regs);
>
> but I need to pass a memory address of a buffer in DS:SI.

Use the "transfer buffer" as outlined in the FAQ list:
http://www.delorie.com/djgpp/v2faq/


--
Damian Yerrick    http://yerricde.tripod.com/
My .sig is too long to include in an e-mail or NG message.
Go to http://www.rose-hulman.edu/~yerricde/sig.html to see it.










and now you must pay...


- Raw text -


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