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: code from BC31(16bits) to DJGPP(32 bits) Date: 27 Nov 2005 18:52:08 -0800 Organization: http://groups.google.com Lines: 20 Message-ID: <1133146328.335307.54810@g44g2000cwa.googlegroups.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 1133146333 32586 127.0.0.1 (28 Nov 2005 02:52:13 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Mon, 28 Nov 2005 02:52:13 +0000 (UTC) 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: g44g2000cwa.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 sorry, i got confused to change source code form bc31 to djgpp should i change the following code because i changed compiler regs.x.di = (WORD)(&PRD_EDDS);for bc31 i should use reg.x.di = (WORD)(&PRD_EDDS); for djgpp or reg.x.di = (DWORD)(&PRD_EDDS); for djgpp ************************************************************************** offset32 = _ES << 4 + _BX; for bc31 i should use offset32 = _ES << 4 + _BX; for djgpp or offset32 = _ES << 16 + _BX; for djgpp Thanks for your help