Sender: nate AT cartsys DOT com Message-ID: <37B3594C.41AFB7FC@cartsys.com> Date: Thu, 12 Aug 1999 16:31:24 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.11pre6 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: How to convert a selector into a pointer? References: <37b19b34 DOT 33491353 AT NotesXnt> <37B16C34 DOT 10FE AT mitre DOT org> <37B20CB2 DOT FC6242D9 AT geocities DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Sahab Yazdani wrote: > > [SNIPPY-TY-SNIP] > > > This technique is highly unportable and is the way to do the stuff that > > Watcom lets you do with pointers in 32-bit DOS mode that wouldn't be > > prudent in a gcc-based compiler. It effectively changes the segment > > limit of your program to 0xFFFFFFFF, so that all memory becomes > > addressable. It also lets you accidentally take down the computer if > What do you mean *take down*, like totally destroy it or just make it > hang?? Probably just the latter, but disk corruption is a possibility (you can scribble all over memory, and among the many things that usually reside in memory is a disk cache). Flames bursting out of the monitor is rather less likely, however. -- Nate Eldredge nate AT cartsys DOT com