From: Nate Eldredge Newsgroups: comp.os.msdos.djgpp Subject: Re: __dpmi_allocate_dos_memory causes program to abort Date: 10 Dec 1999 10:21:18 -0800 Organization: InterWorld Communications Lines: 22 Message-ID: <83hfhq4py9.fsf@mercury.st.hmc.edu> References: <82qlkr$lfp$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: mercury.st.hmc.edu X-Trace: nntp1.interworld.net 944850158 63938 134.173.45.219 (10 Dec 1999 18:22:38 GMT) X-Complaints-To: usenet AT nntp1 DOT interworld DOT net NNTP-Posting-Date: 10 Dec 1999 18:22:38 GMT X-Newsreader: Gnus v5.7/Emacs 20.4 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 writes: > hi, > > 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(..., ®s); > > > but I need to pass a memory address of a buffer in DS:SI. Read FAQ section 18.2. -- Nate Eldredge neldredge AT hmc DOT edu