From: Martin Str|mberg Subject: Re: Help with Fat DS Newsgroups: comp.os.msdos.djgpp References: <299ed26b DOT 0207180806 DOT 7e55ced2 AT posting DOT google DOT com> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) Message-ID: <1027077283.928051@queeg.ludd.luth.se> Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: 19 Jul 2002 11:14:43 GMT Lines: 20 NNTP-Posting-Date: 19 Jul 2002 11:14:43 GMT NNTP-Posting-Host: queeg.ludd.luth.se X-Trace: 1027077283 news.luth.se 466 130.240.16.109 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Iyappa Swaminathan wrote: : I am trying to read from the locations in the range 0x40000000 and in : the range 0xffff0000. I tried using the __djgpp_near_ptr_enable() : function, and then using _farpeekx() functions to read from those : locations using _dos_ds. But I am getting a SIGSEGV error. : I even tried extending the limits of _dos_ds by doing : __dpmi_set_segment_base_address(_dos_ds, 0) and : __dpmi_set_segment_limit(_dos_ds, 0xffffffff) : The above calls succeed, but the net result is the same. I am not able : to read from those locations? Did you read FAQ 18.6? Right, MartinS