From: shayyaps AT yahoo DOT com (Iyappa Swaminathan) Newsgroups: comp.os.msdos.djgpp Subject: Help with Fat DS Date: 18 Jul 2002 09:06:26 -0700 Organization: http://groups.google.com/ Lines: 19 Message-ID: <299ed26b.0207180806.7e55ced2@posting.google.com> NNTP-Posting-Host: 205.175.225.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027008386 15976 127.0.0.1 (18 Jul 2002 16:06:26 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 18 Jul 2002 16:06:26 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, 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? Any help would be greatly appreciated. Thanks, Iyapps.