delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/11/28/01:15:16

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: 27 Nov 2005 22:03:38 -0800
Organization: http://groups.google.com
Lines: 27
Message-ID: <1133157818.089095.23130@g14g2000cwa.googlegroups.com>
References: <1133146328 DOT 335307 DOT 54810 AT g44g2000cwa DOT googlegroups DOT com>
<200511280307 DOT jAS37Ajh016810 AT envy DOT delorie DOT com>
<1133150528 DOT 367161 DOT 80270 AT z14g2000cwz DOT googlegroups DOT com>
<200511280417 DOT jAS4Hp3f019031 AT envy DOT delorie DOT com>
NNTP-Posting-Host: 61.66.169.71
Mime-Version: 1.0
X-Trace: posting.google.com 1133157823 17290 127.0.0.1 (28 Nov 2005 06:03:43 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 28 Nov 2005 06:03:43 +0000 (UTC)
In-Reply-To: <200511280417.jAS4Hp3f019031@envy.delorie.com>
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: g14g2000cwa.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

i must use some code with seg:off type because interrupt call should
fill these data
i can fill them in BC31 well.
but i do not sure how can i fill it with DJGPP

for example.
i check the website and find that i should not change segment's
value(DS,ES...)
but i must fill ES:DI field.
i do not sure how can i fill these filed
**************************************************************************************
INT 4B - Virtual DMA Specification - SCATTER/GATHER LOCK REGION
	AX = 8105h
	DX = flags (see #03224)
	ES:DI -> Extended DMA descriptor structure (see #03222,#03223)
		  region size, linear segment, linear offset, and number avail
		  fields set


and how could i fill following example.
regs.x.di = (WORD)(&PRD_EDDS);for bc31 which PRD_EDDS is a structure
and
offset32 = _ES << 4 + _BX; for bc31, i could fill like this. but for
DJGPP??
**************************************************************************************
could you give me a sample code. Thanks.

- Raw text -


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