www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/18/16:15:12

Message-ID: <3E529EAE.AD50A871@worldnet.att.net>
From: Paul Cousoulis <paulcsouls AT worldnet DOT att DOT net>
X-Mailer: Mozilla 4.78 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Passing pointers to dpmi_int
References: <4D19136444628A40840EFE8C5AE04147017A1C AT ELTIMAIL1 DOT elta DOT co DOT il>
Lines: 37
Date: Tue, 18 Feb 2003 21:03:42 GMT
NNTP-Posting-Host: 12.81.71.108
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1045602222 12.81.71.108 (Tue, 18 Feb 2003 21:03:42 GMT)
NNTP-Posting-Date: Tue, 18 Feb 2003 21:03:42 GMT
Organization: AT&T Worldnet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Yes I have read the FAQ. I've tried putting the DMA buffer in dos space
which seems to work with DJGPP but the PLX does not seem to find it.
I've tried implementing XMS-API but it won't work with windows which
wants to reboot in Dos to run. And now I'm trying the VDS-API. I do have
the DMA working by stealing the buffer address loaded by PLXMon. I think
it's reserved by the Driver during boot up. So now for my own amusement
I'm trying to get the VDS to work.

Thanks 
Paul

Zaretskii Eli wrote:
> 
> This message was scanned for viruses and other malicious code by PrivaWall.
> 
> This mail was sent from ELTA SYS LTD.
> 
> > From: Paul Cousoulis [mailto:paulcsouls AT worldnet DOT att DOT net]
> > Sent: Tuesday, February 18, 2003 1:35 AM
> >
> > I'm trying to implement the Virtual DMA Service. In order to lock DMA
> > memory I need to pass the address of a structure to int 4b in
> > es:di. The
> > physical address should be returned in dds_local, but I keep getting
> > zero even though the function seems to otherwise return successfully.
> > The code I'm using is:
> > >
> > >             dr.x.dx = 0;
> > >             dr.x.ax = 0x8103;
> > >             temp = (int)(&dds_local);
> > >             dr.x.es = (unsigned short)(temp>>16);
> > >             dr.x.di = (unsigned short)(temp & 0xffff);
> > >             if(__dpmi_int(0x4b,&dr)) printf("error\n");
> 
> Did you read section 18.13 of the DJGPP FAQ list?
> 
> This message is processed by the PrivaWall Email Security Server.

- Raw text -


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