From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: __dpmi_paddr and DJGPP pointers Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <5935isg1491um0scolj57211ncp9t6s5qv@4ax.com> References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 31 X-Trace: /bdhN9NQ9SRUgzmWNQkjP9wiCxcBIUSLQihPsjy78YF6aZ57cFwECtJa8RYDN61p//vGFO7IoOBw!8EW+rt1GCkkjX6kM0dyIUzM3r5TGncpI8g0jyZxGWA1G549sE2RtDlk0JEgf0lW0ZskznCpgTudg!GncB+BY= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Wed, 17 May 2000 12:18:20 GMT Distribution: world Date: Wed, 17 May 2000 12:18:20 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 16 May 2000 20:40:03 GMT, "AndrewJ" wrote: >> I used 100% flat memory model and let me tell you - it SUCKS! It might >> seem easier but it is awful since no protection exists. You write outside >> where you are suppose to and well, the best thing is that your program >> doesn't work (or does :). The worst, loosing entire DIR on a harddrive! :) > >I've used Watcom for years now, and it's flat model is unprotected (the >equivalent to __djgpp_nearptr_enable() on all the time) and I've never, ever, >ever trashed anything on the harddrive. The worst I've gotten is various page >faults and such. Unless you were doing something wacked out to your harddrive >at the time of the crash, I don't see how that could happen. When using Turbo C++ and testing out custom optimized hugeptr code (for a graphics library) on my old box, I got something like this from DriveSpace: Error: Disk driver corrupted. Restarting system... At least after the first release of TroubleSpace, M$ had the sense to make it check itself for being overwritten. Then I got DJGPP and Allegro, and it never happened again. I got various GPFs and page faults, but no warnings from DoubleGuard. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/