X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: blk5743 AT yahoo DOT com DOT tw Newsgroups: comp.os.msdos.djgpp Subject: Re: code from BC31(16bits) to DJGPP(32 bits) Date: 28 Nov 2005 17:04:36 -0800 Organization: http://groups.google.com Lines: 19 Message-ID: <1133226276.234728.136880@f14g2000cwb.googlegroups.com> References: <1133146328 DOT 335307 DOT 54810 AT g44g2000cwa DOT googlegroups DOT com> NNTP-Posting-Host: 61.66.169.71 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1133226281 28497 127.0.0.1 (29 Nov 2005 01:04:41 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 29 Nov 2005 01:04:41 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 SVRPROXY Complaints-To: groups-abuse AT google DOT com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=61.66.169.71; posting-account=fl8v7w0AAAAQV4ThVU509YNPI8o0JeB3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk sorry, one more question i want to use DMA transfer with CD-ROM and Host i must prepare a PRD to use. i have a buffer and PRD structure how can i assign my buf to PRD structure (i do not know the really physical address of buf) BYTE buf[0x10000]; void AssignValue(void) { PRD_EDDS.Size = size; PRD_EDDS.Seg = _my_ds(); ????? PRD_EDDS.Offset = (DWORD)buf; ????? PRD_EDDS.NumberAvail = Regions; } Thanks