X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <438ece0f$0$175$cc7c7865@news.luth.se> From: Martin Str|mberg Subject: Re: code from BC31(16bits) to DJGPP(32 bits) Newsgroups: comp.os.msdos.djgpp References: <1133146328 DOT 335307 DOT 54810 AT g44g2000cwa DOT googlegroups DOT com> <1133226276 DOT 234728 DOT 136880 AT f14g2000cwb DOT googlegroups DOT com> <1133234864 DOT 835782 DOT 126770 AT g49g2000cwa DOT googlegroups DOT com> <1133314507 DOT 884056 DOT 150990 AT f14g2000cwb DOT googlegroups DOT com> <1133323344 DOT 550990 DOT 86450 AT g49g2000cwa DOT googlegroups DOT com> <1133400894 DOT 054458 DOT 121960 AT o13g2000cwo DOT googlegroups DOT com> User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) Date: 01 Dec 2005 10:18:55 GMT Lines: 16 NNTP-Posting-Host: speedy.ludd.ltu.se X-Trace: 1133432335 news.luth.se 175 130.240.16.13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com blk5743 AT yahoo DOT com DOT tw wrote: > XMS should be above 1MB, right. > but DX:BX max is FFFF:FFFF can not over 1MB > therefore, the max allocated XMS buffer's start address = 1M+64K > if i allocate 2 region of 1MB block, how can i get the 2 region's start > address. Sigh. If you bothered to read the specification, you'd see that DX:BX (or BX:DX?) is the 32 bits you need. Not a segment and offset. Otherwise would be very surprising as XMS is for getting to the memory above 1MB. Right, MartinS